juju-charms for Wordpress doesnt work-Wordpress agent status reported as "install-error"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We have 3 nodes with Ubuntu 13.04. We wanted to install Wordpress using MAAS-Juju charms. I was able to bootstrap a node and bring up MySQL node but Wordpress installation on node 3 seems to be failing. The Wordpress agent status shown as "agent-state: install-error". I have pasted the terminal logs below for your reference.its Python JUJU. I have attached Contents of charm.log file for further investigation on this issue. Even we tried destroy and redeploying Mysql, Wordpress.Still we faced the same issue. Could you please look into this issue? If you need any other info please let me know.
------------------ Bootstrapping a node ------------------
root@ubuntu:
2013-11-07 16:41:28,951 INFO Bootstrapping environment 'maas' (origin: distro type: maas)...
2013-11-07 16:41:29,477 INFO 'bootstrap' command finished successfully
root@ubuntu:
root@ubuntu:~# juju status
2013-11-07 17:21:12,653 INFO Connecting to environment...
2013-11-07 17:21:13,871 INFO Connected to environment.
machines:
0:
agent-state: running
dns-name: node21.maas
instance-id: /MAAS/api/
instance-state: unknown
services: {}
2013-11-07 17:21:13,962 INFO 'status' command finished successfully
root@ubuntu:~#
----------Deploying MySQL and wordpress-
root@ubuntu:~# juju deploy precise/mysql --constraints arch=arm
2013-11-07 17:27:24,805 INFO Searching for charm cs:precise/mysql in charm store
2013-11-07 17:27:29,217 INFO Connecting to environment...
2013-11-07 17:27:30,650 INFO Connected to environment.
2013-11-07 17:27:31,489 INFO Charm deployed as service: 'mysql'
2013-11-07 17:27:31,489 INFO 'deploy' command finished successfully
root@ubuntu:~#
root@ubuntu:~# juju deploy precise/wordpress --constraints arch=arm
2013-11-07 17:51:05,577 INFO Searching for charm cs:precise/
2013-11-07 17:51:10,332 INFO Connecting to environment...
2013-11-07 17:51:11,809 INFO Connected to environment.
2013-11-07 17:51:12,852 INFO Charm deployed as service: 'wordpress'
2013-11-07 17:51:12,852 INFO 'deploy' command finished successfully
root@ubuntu:~# juju status
2013-11-07 17:51:17,723 INFO Connecting to environment...
2013-11-07 17:51:18,901 INFO Connected to environment.
machines:
0:
agent-state: running
dns-name: node21.maas
instance-id: /MAAS/api/
instance-state: unknown
1:
agent-state: not-started
dns-name: node18.maas
instance-id: /MAAS/api/
instance-state: unknown
2:
agent-state: not-started
dns-name: node17.maas
instance-id: /MAAS/api/
instance-state: unknown
services:
mysql:
charm: cs:precise/mysql-28
relations:
cluster:
- mysql
units:
mysql/0:
machine: 1
wordpress:
charm: cs:precise/
relations:
loadbalancer:
- wordpress
units:
wordpress/0:
machine: 2
2013-11-07 17:51:19,133 INFO 'status' command finished successfully
-------
root@ubuntu:~# juju status
2013-11-08 14:28:14,660 INFO Connecting to environment...
2013-11-08 14:28:15,995 INFO Connected to environment.
machines:
0:
agent-state: running
dns-name: node21.maas
instance-id: /MAAS/api/
instance-state: unknown
1:
agent-state: running
dns-name: node18.maas
instance-id: /MAAS/api/
instance-state: unknown
2:
agent-state: running
dns-name: node17.maas
instance-id: /MAAS/api/
instance-state: unknown
services:
mysql:
charm: cs:precise/mysql-28
relations:
cluster:
- mysql
units:
mysql/0:
machine: 1
wordpress:
charm: cs:precise/
relations:
loadbalancer:
- wordpress
units:
wordpress/0:
machine: 2
2013-11-08 14:28:16,194 INFO 'status' command finished successfully
root@ubuntu:~#
===============
The charm could not download its code from github. the charm requires an open network or access to ever site it downloads code from.