Juju bootstrap 错误尝试了所有解决方案,但均未成功!现在该怎么办?

Juju bootstrap 错误尝试了所有解决方案,但均未成功!现在该怎么办?

我需要有关 juju bootstrap 命令的帮助。

我正在跟进本指南参考文献这一个 juju 特定的

我一步一步地按照指南进行操作,但在命令中juju bootstrap我收到以下错误:

2012-08-10 01:38:48,519 INFO Bootstrapping environment 'maas' (origin: distro type: maas)...
Bootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server
2012-08-10 01:38:49,721 ERROR Bootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server

我尝试更改 MAAS API 密钥,但没有成功。

我尝试修改 cobbler MEDIA_ROOT 设置,但没有成功。

有没有第三种方法可以解决这个问题?还有其他问题与此主题相同但没有解决方案,我尝试了给出的建议但没有成功。

还有其他建议吗?有 Canonical 的人在吗?

这是 enviroments.yaml

environments:
  maas:
    type: maas
    maas-server: 'http://10.10.10.201:80/MAAS'
    maas-oauth: 'GxeBxx3dYaPwVWKdGp:B2sQ2hukrmg5xMB2ej:nUwbL8eWDR2jVYfnFc9F3gDRHb4DQYSk'
    admin-secret: 'nothing'
    default-series: precise

更新

按照建议删除 $ 和花括号后,我现在收到以下错误:

2012-10-12 13:49:00,967 INFO Bootstrapping environment 'maas' (origin: distro type: maas)...
Bootstrap aborted because file storage is not writable: Unexpected HTTP 500 trying to PUT http://10.10.10.201:80/MAAS/api/1.0/files/
2012-10-12 13:49:01,336 ERROR Bootstrap aborted because file storage is not writable: Unexpected HTTP 500 trying to PUT http://10.10.10.201:80/MAAS/api/1.0/files/

答案1

maas-oauth: '${GxeBxx3dYaPwVWKdGp:B2sQ2hukrmg5xMB2ej:nUwbL8eWDR2jVYfnFc9F3gDRHb4DQYSk}'

尝试不包括 shell 引号位,指南旨在让您用真实值替换所有 ${maas-api-key},不要保留美元和花括号,

相关内容