Welcome‎ > ‎

Landscape Openstack JUJU won't bootstrap

If you are having problem boot strapping JUJU during the openstack install. You can first start by checking the:

Youtube video here:


If you see errors that look like this:

Attempt 4 to download tools from https://streams.canonical.com/juju/tools/releases/juju-1.24.5-trusty-amd64.tgz...\ncurl: (7) Failed to connect to streams.canonical.com port 443: Connection timed out

This means your MAAS nodes can't get out to the internet. Most of the time you can enable port forwarding on the MAAS server and this will solve the issue.

Edit the file here:

sudo nano /etc/sysctl.conf

Un-comment this line:


Now reboot MAAS and try the install again.

If that doesn't work try updating IPtables on MAAS with something like this:

sudo iptables -A FORWARD -o eth0 -i eth1 -s -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -t nat -F POSTROUTING
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables-save | sudo tee /etc/iptables.sav
  • Edit /etc/rc.local and add the following lines before the "exit 0" line:

iptables-restore < /etc/iptables.sav