我正在尝试建立一个本地的Juju环境,所以我按照https://jujucharms.com/docs/1.25/config-LXC上的官方指示,在一台运行可靠的机器上运行,这台机器是通过MAAS安装的。
我遇到的问题是机器没有自动启动。
我查了柔术状态。这是输出:
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.14.1
dns-name: localhost
instance-id: localhost
series: trusty
state-server-member-status: has-vote
"1":
instance-id: pending
series: trusty
"2":
instance-id: pending
series: trusty
"3":
instance-id: pending
series: trusty
"4":
instance-id: pending
series: trusty
services:
mysql:
charm: cs:trusty/mysql-14
exposed: false
relations:
cluster:
- mysql
db:
- wordpress
units:
mysql/0:
agent-state: pending
machine: "2"
nagios:
charm: cs:trusty/nagios-1
exposed: false
units:
nagios/0:
agent-state: pending
machine: "3"
owncloud:
charm: cs:trusty/owncloud-2
exposed: false
units:
owncloud/0:
agent-state: pending
machine: "4"
wordpress:
charm: cs:trusty/wordpress-1
exposed: false
relations:
db:
- mysql
loadbalancer:
- wordpress
units:
wordpress/0:
agent-state: pending
machine: "1"如有任何建议,将不胜感激。提前谢谢。
发布于 2015-01-28 04:20:07
解决办法是关闭防火墙(ufw)。
sudo stop ufw然后这些机器就自动供给了。
https://askubuntu.com/questions/578018
复制相似问题