juju-charms for Wordpress doesnt work-Wordpress agent status reported as "install-error"

Bug #1249248 reported by nagabhushan on 2013-11-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
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:~/.juju# juju bootstrap --constraints arch=arm
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:~/.juju#
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/1.0/nodes/node-254907f2-46e4-11e3-9207-0022b0685374/
    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/wordpress in charm store
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/1.0/nodes/node-254907f2-46e4-11e3-9207-0022b0685374/
    instance-state: unknown
  1:
    agent-state: not-started
    dns-name: node18.maas
    instance-id: /MAAS/api/1.0/nodes/node-25141538-46e4-11e3-943c-0022b0685374/
    instance-state: unknown
  2:
    agent-state: not-started
    dns-name: node17.maas
    instance-id: /MAAS/api/1.0/nodes/node-23e6de16-46e4-11e3-9207-0022b0685374/
    instance-state: unknown
services:
  mysql:
    charm: cs:precise/mysql-28
    relations:
      cluster:
      - mysql
    units:
      mysql/0:
        agent-state: pending
        machine: 1
        public-address: null
  wordpress:
    charm: cs:precise/wordpress-20
    relations:
      loadbalancer:
      - wordpress
    units:
      wordpress/0:
        agent-state: pending
        machine: 2
        public-address: null
2013-11-07 17:51:19,133 INFO 'status' command finished successfully

------------------Status of Wordpress installation-----------

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/1.0/nodes/node-254907f2-46e4-11e3-9207-0022b0685374/
    instance-state: unknown
  1:
    agent-state: running
    dns-name: node18.maas
    instance-id: /MAAS/api/1.0/nodes/node-25141538-46e4-11e3-943c-0022b0685374/
    instance-state: unknown
  2:
    agent-state: running
    dns-name: node17.maas
    instance-id: /MAAS/api/1.0/nodes/node-23e6de16-46e4-11e3-9207-0022b0685374/
    instance-state: unknown
services:
  mysql:
    charm: cs:precise/mysql-28
    relations:
      cluster:
      - mysql
    units:
      mysql/0:
        agent-state: started
        machine: 1
        public-address: node18.maas
  wordpress:
    charm: cs:precise/wordpress-20
    relations:
      loadbalancer:
      - wordpress
    units:
      wordpress/0:
        agent-state: install-error
        machine: 2
        public-address: node17.maas
2013-11-08 14:28:16,194 INFO 'status' command finished successfully
root@ubuntu:~#
===============

nagabhushan (nag-angadi) wrote :
Curtis Hovey (sinzui) wrote :

The charm could not download its code from github. the charm requires an open network or access to ever site it downloads code from.

Changed in juju:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments