尝试通过 juju-gui 进行简单的配置,即 Mysql 和 Wordpress 组合;但是,当我按下部署按钮时,我收到以下通知:
Error deploying mysql
Could not deploy the requested service. Server responded with: cannot download charm "cs:precise/mysql-44": Cannot access the charm store. Are you connected to the internet? Error details: Get https://store.juju.ubuntu.com/charm-info?charms=cs%3Aprecise%2Fmysql-44: dial tcp 91.189.95.66:443: connection timed out
在 /var/log/juju/all-machines.log 下观察到类似的消息:
machine-0: 2014-05-22 17:19:19 DEBUG juju.state.apiserver apiserver.go:127 -> [A] user-admin 2m7.308014762s {"RequestId":25,"Error":"cannot download charm \"cs:precise/mysql-44\": Cannot access the charm store. Are you connected to the internet? Error details: Get https://store.juju.ubuntu.com/charm-info?charms=cs%3Aprecise%2Fmysql-44: dial tcp 91.189.95.67:443: connection timed out","Response":{}} Client[""].ServiceDeploy
以下是我从 ping 得到的信息
ubuntu@node2:/var/log/juju$ ping 91.189.95.67:443
ping: unknown host 91.189.95.67:443
ubuntu@node2:
MAAS 服务器有 2 个网卡,一个面向公众,另一个用于 maas 通信。目标节点有一个连接到 maas 网络的网卡。(旁注 - 我尝试在目标节点上使用 2 个网卡进行实验,一个用于外部,一个用于 maas,方法是定义新的 gw 和路由表。虽然目标节点能够看到外部世界;但是,它与 maas 服务器的通信完全混乱了。所以放弃了。)
以下是目标节点的网络设置:
ubuntu@node2:/var/log/juju$ more /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.0.10
search maas
ubuntu@node2:/var/log/juju$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10-0-0-10.maas 0.0.0.0 UG 0 0 0 eth1
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
ubuntu@node2:/var/log/juju$
欢迎所有提示。