Update:
More investigation shows that the LXC containers were not getting IPs during install.
But if left for several hours the LXC containers do eventually get an IP from the MAAS.
So this morning I took the Cluster and moved it from a very expensive L3 Cisco switch onto a cheap L2 Dell switch. DHCP addresses are obtained instantly by all LXC containers and the Openstack Installer completed without a single hitch. Probably some sort of configuration setting we need to make on the Cisco switch but for the time being we'll be keeping the network simple whilst we play around with the software in our lab.
Lots of time spent on this rather irritating and odd issue! Many thanks for your efforts.
We have a 5 node stack of machines which are configured in MAAS.
They come up and down just fine however deploying Ubuntu's Openstack Autopilot fails with:
./cloud-install/commands.log:
http://paste.ubuntu.com/10676002/
machine-0.log:
2015-03-24 16:49:19 ERROR juju.worker runner.go:219 exited "api": unable to connect to "wss://localhost:17070/"
2015-03-24 16:49:22 ERROR juju.rpc server.go:554 error writing response: EOF
2015-03-24 16:49:45 ERROR juju.state.unit unit.go:665 unit apache2/0 cannot get assigned machine: unit "apache2/0" is not assigned to a machine
2015-03-24 16:49:45 ERROR juju.state.unit unit.go:665 unit apache2/0 cannot get assigned machine: unit "apache2/0" is not assigned to a machine
2015-03-24 16:49:50 ERROR juju.state.unit unit.go:665 unit haproxy/0 cannot get assigned machine: unit "haproxy/0" is not assigned to a machine
2015-03-24 16:49:50 ERROR juju.state.unit unit.go:665 unit haproxy/0 cannot get assigned machine: unit "haproxy/0" is not assigned to a machine
-- More logs
From the juju bootstrap machine:
/var/log/juju/all-machines.log
http://paste.ubuntu.com/10724991/
I can't figure this out, it's just showing the below over and over again until it fails:
machine-0: 2015-04-02 13:50:10 INFO juju.worker runner.go:261 start "api"
machine-0: 2015-04-02 13:50:10 INFO juju.api apiclient.go:252 dialing "wss://localhost:17070/"
machine-0: 2015-04-02 13:50:10 INFO juju.api apiclient.go:260 error dialing "wss://localhost:17070/": websocket.Dial wss://localhost:17070/: dial tcp 127.0.0.1:17070: connection refused
machine-0: 2015-04-02 13:50:10 ERROR juju.worker runner.go:219 exited "api": unable to connect to "wss://localhost:17070/"
machine-0: 2015-04-02 13:50:10 INFO juju.worker runner.go:253 restarting "api" in 3s
Not sure if this is related but I have a working deployment in a different lab and the only difference I see is that is that in the non-working lab on the juju boostrap node in /var/lib/juju/agents/machine-0/agent.conf
the value SECURE_STATESERVER_CONNECTION: "true"
is set and the version is 1.22.0
.
On the working environment SECURE_STATESERVER_CONNECTION: "true"
is missing and the version is 1.21.3
.