当我尝试使用 juju 1.25 进行引导时,它会挂起并在等待很长时间后出现错误:
juju 版本 1.25.3-trusty-amd64
"Attempt 5 to download tools from https://streams.canonical.com/juju/tools/agent/1.25.3/juju-1.25.3-trusty-amd64.tgz...
curl: (6) Could not resolve host: streams.canonical.com
tools from https://streams.canonical.com/juju/tools/agent/1.25.3/juju-1.25.3-trusty-amd64.tgz downloaded: HTTP 000; time 0.000s; size 0 bytes; speed 0.000 bytes/s sha256sum: /var/lib/juju/tools/1.25.3-trusty-amd64/tools.tar.gz: No such file or directory
2016-03-29 15:22:06 ERROR juju.cmd supercommand.go:429 failed to bootstrap environment: subprocess encountered error code 1"
当尝试检查状态时,会出现此错误:juju status
错误无法连接到环境“maas”。请检查您的凭据或使用“juju bootstrap”创建新环境。
Error details:
unable to connect to "wss://192.168.15.193:17070/environment/720c0c1c-d2b2-412e-8b57-ac2aa1e5463f/api"
之前有一个关于此话题的讨论:
juju Bootstrap --debug 无法连接 https://streams.canonical.com
我已经测试过了。服务器上没有防火墙,它是一台独立的机器。我检查了解析器和 DNS 服务器设置,看起来一切正常。有人能帮我解决这个错误吗?