质量:1.9.3 魔力:1.25.5
当我尝试部署本地 charm 时,它返回此错误,juju 正在为非本地 charm (如 RabbitMQ)工作。
它在 3 个月前就可以正常工作,当时我删除了所有本地超级按钮,但 3 个月后出现了这个错误:
当我尝试在浏览器上访问该链接时,它返回:
An error occurred during a connection to node01.maas:17070. You have received an invalid certificate.
Please contact the server administrator or email correspondent and give them the following information:
Your certificate contains the same serial number as another certificate issued by the certificate authority.
Please get a new certificate containing a unique serial number. Error code: SEC_ERROR_REUSED_ISSUER_AND_SERIAL
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
错误如下:
- 2016-09-28 00:55:07 INFO juju.cmd supercommand.go:37 运行 juju [1.25.5-wily-amd64 gc]
- 2016-09-28 00:55:07 DEBUG juju.api api.go:154 尝试缓存的 API 连接设置 - 端点 [10.196.1.169:1707168.110.100:17070]
- 2016-09-28 00:55:07 INFO juju.api api.go:266 连接到 API 地址:[10.196.1.169:17070 192.168.110.100:1707
- 2016-09-28 00:55:07 INFO juju.api apiclient.go:262 拨打“wss://10.196.1.169:17070/environment/6f95c74a-a4ed-44a-e42fb59df71e/api”
- 2016-09-28 00:55:07 INFO juju.api apiclient.go:194 连接已建立至“wss://10.196.1.169:17070/environment74a-a4ed-44a7-80b3-e42fb59df71e/api”
- 2016-09-28 00:55:07调试juju.api api.go:476 API 主机名未改变 - 未解析
- 2016-09-28 00:55:07调试juju.api api.go:506 cacheChangedAPIInfo:serverUUID =“6f95c74a-a4ed-44a7-80b3-e42fb59df71
- 2016-09-28 00:55:14错误juju.cmd supercommand.go:429无法上传 charm:Post https://10.196.1.169:17070/enviro6f95c74a-a4ed-44a7-80b3-e42fb59df71e/charms?series=trusty:禁止
解决方案:
- 破坏 juju 环境
- 运行 sudo ssh-keygen -f "/root/.ssh/known_hosts" -R Node01.maas
- 引导 juju
答案1
似乎是因为“ca-私钥”和“ca-cert”在maas.jenv! 可能存在时间上更短的解决方案,如果您有任何想法,请告诉我。
解决方案:
- 破坏 juju 环境
- 运行 sudo ssh-keygen -f "/root/.ssh/known_hosts" -R Node01.maas
- 再次引导 juju