[Maas-devel] Juju and MAAS

Michael Hughes itismike at gmail.com
Wed May 23 13:52:12 UTC 2012


Hi Devels. I'm continuing to test MAAS under 12.04 and keep running
into show-stoppers. Before I explain, I want to understand one thing:
is MAAS working for anybody following the standard installation steps?
I've been going over them time and time again and I have never been
able to get the 'Wordpress backed by MySQL' to install smoothly.
Perhaps this is still in beta?

On with my current hangup: I'm running six nodes plus the MAASserver
using Virtualbox and they are all connected in a private network
("intnet" is the vbox vernacular.) The MAASserver has a second NIC
that connects to the Internet. All nodes were manually configured to
use virsh for their power, although I have never seen a node Wake On
LAN. Perhaps this is a weakness of Virtualbox? For this reason I've
been starting the nodes manually when I think they're being called
upon and it's worked okay as far as getting them all in the "READY"
state on the MAAS dashboard.

But when I bootstrap juju and install Wordpress and MySQL, even
starting the nodes manually doesn't seem to 'activate' them. It
appears to me that it wants nodes 1, 2, and 4 to be running, so I
start them and they boot to a login screen. In the MAAS dashboard they
are now "Deployed" and "Allocated to Mike," however only node #1 seems
to be 'seen' by juju :
----
$ juju status
2012-05-23 08:34:51,354 INFO Connecting to environment...
2012-05-23 08:34:55,380 INFO Connected to environment.
machines:
  0:
    agent-state: running
    dns-name: node-1-.local
    instance-id: /MAAS/api/1.0/nodes/node-ddd48178-a444-11e1-be23-08002702f035/
    instance-state: unknown
  1:
    agent-state: not-started
    dns-name: node-2-.local
    instance-id: /MAAS/api/1.0/nodes/node-d801263e-a444-11e1-b5d7-08002702f035/
    instance-state: unknown
  2:
    agent-state: not-started
    dns-name: node-4-.local
    instance-id: /MAAS/api/1.0/nodes/node-5776a196-a445-11e1-be23-08002702f035/
    instance-state: unknown
services:
  mysql:
    charm: cs:precise/mysql-2
    relations:
      db:
      - wordpress
    units:
      mysql/0:
        agent-state: pending
        machine: 1
        public-address: null
  wordpress:
    charm: cs:precise/wordpress-1
    relations:
      db:
      - mysql
    units:
      wordpress/0:
        agent-state: pending
        machine: 2
        public-address: null
2012-05-23 08:34:58,364 INFO 'status' command finished successfully
----

When I initially ran 'juju status' I was prompted to accept the ssh
fingerprint of the first node. I never saw a prompt for accepting the
second and fourth nodes. Could this be why it fails to contact them?

Thanks,
Mike




More information about the Maas-devel mailing list