I installed Openstack with Ubuntu's Autopilot (openstack-install). The bootstrap from the first environment, called "maas" is a VM, that I took from the tools folder insdide the openstack-installer package.

inside that VM are six containers and every one of each has a service (apache2, haproxy, landscape, landscape-msg, postgresql and rabbitmq-server). From the landscape container is "launched" another environment (called "8" in my case), where are all the openstack services.

Everything worked fine until my first reboot. Landscape was unreacheable and the reason was that for juju, landscape has the IP, which is the bridge (lxcbr0) IP adress instead of it's eth0 IP address ( in my case). What was the result? when it tried to connect to landscape, it went to, so it went to the VM instead of the container where landscape is running.

I figured out that was a juju-core bug, according to https://bugs.launchpad.net/juju-core/+bug/1416928, so I updated from juju-core 1.20.x to 1.21.3. Reboot and it took the correct IP, as you can see here:

    $ JUJU_HOME=~/.cloud-install/ juju status landscape/0
    environment: maas
        agent-state: started
            agent-state: started

The problem is that now the service is not running:

landscape/0: agent-state: error agent-state-info: 'hook failed: "config-changed"' agent-version: machine: 0/lxc/2 public-address:

I've tried with juju resolved --retry landscape/0, but is not working. Any clues why this is happening?

  • 1
    Can you attach or pastebin the /var/log/juju unit log for landscape/0? Commented Mar 12, 2015 at 15:26
  • That's from the first bootstrap, the VM. The log is /var/log/juju/machine-0-lxc-2.log: paste.ubuntu.com/10586070 Commented Mar 12, 2015 at 15:42
  • At the end, what I did, I started from 1.20.14 again (with a backup I had), update it to 1.21.1, and everything worked fine. Commented Mar 12, 2015 at 16:18

1 Answer 1


Glad you got it working with a more recent version of Juju.

The log you pasted appears to be machine-0.log, we actually needed to see /var/log/juju/unit-landscape-0.log. If someone sees this again, something to try is:

juju run --service landscape,landscape-msg 'sudo lsctl restart'

Which should show you more details on your console on why things are failing to start.

  • Actually, I made it work with an older version. The one that makes troubles is, and the one that made it work fine was 1.21.1. Thanks for your help! Commented Mar 12, 2015 at 17:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .