juju 出現 MAAS 錯誤:找不到檔案“provider-state”

juju 出現 MAAS 錯誤:找不到檔案“provider-state”

我正在嘗試將 juju 配置為與 MAAS 一起工作。我正在將 juju 配置為在與 MAAS 相同的節點上運行。當我運行“juju status”時,出現以下錯誤:

error: file 'provider-state' not found

有什麼想法嗎?

以下是我的 .juju/environments.yaml 中的相關部分:

maas:
  type: maas
  # Change this to where your MAAS server lives.  It must specify the base path.
  maas-server: 'http://<server IP>/MAAS/'
  maas-oauth: '<key from MAAS preferences page>'
  admin-secret: 'nothing'
  default-series: precise
  authorized-keys-path: ~/.ssh/id_rsa.pub

答案1

雖然我以前從未見過這個錯誤,但我認為這可能與您沒有引導環境有關。

你是否:

juju bootstrap

答案2

我在 juju2.0 beta 版本中遇到了同樣的問題,並按照此成功修復了它

無法使用 Juju 2.0-beta1 列出控制器

這是一篇舊文章,但希望它仍然能有所幫助。

相關內容