
我正在嘗試將 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