So root cause in juju is bootstrap image gets copied to the baremetal but does not include the proxy setting so the curl commands are failing.
Workaround is done view staging the code instead:
juju bootstrap --upload-tools --debug
Does the openstack-install script support a similar model to stage the software locally so autopilot works in similar way?
As a note the PXE boot image from MaaS does include the right proxy settings via the MaaS GUI settings but the second reboot with the image JuJu DDs to the local disk does not.
I'm trying to install AutoPilot on 14.04.3 while behind a proxy. I'm able to get MaaS and all my nodes setup but its stalling at the JuJu section as shown.
I'm currently using apt & env proxy settings.
I've now added the following edits as a start to getting it working:
First add the following file: /etc/profile.d/proxy.sh for persistent proxy
sudo vi /etc/profile.d/proxy.sh
Now add the following lines with your specific proxy address and port:
export no_proxy=localhost,127.0 0 1
Now allow sudo to inherit these values whenever you use "sudo":
Now add the following lines below existing Defaults:
Defaults env_keep += "http_proxy"
Defaults env_keep += "https_proxy"
Defaults env_keep += "HTTP_PROXY"
Defaults env_keep += "HTTPS_PROXY"
Defaults env_keep += "FTP_PROXY"
Defaults env_keep += "ftp_proxy"
Defaults env_keep += "no_proxy"