0

I often found myself redownloading the same package of lxc instances when failed and retried to reinstall the openstack-install either using the Landscape, single, or multi modes options, which take time on slow connection. Juju bootstrapping does not obey the system-wide proxy when downloading the packages, instances, and/or lxc containers it needs. Fortunately, the MaaS installation is now set up manually so we can define MAAS_HTTP_PROXY within the MAAS GUI.

I've setup the /etc/environment, /etc/apt/apt.conf, and /etc/wgetrc to use proxy server in local network but the tool ignores the setting and goes right through the internet each time it's reinstalled or redeployed.

How can I configure the openstack-install to obey system-wide network proxy setting so all the download packages, instances, and containers be cached in squid for easier and faster deployment?

2
  • 1
    Just to be clear, you are talking about the Cloud Installer, and not the OpenStack Autopilot, right? OSA is the one inside Landscape. Nov 26, 2014 at 10:16
  • Hi @andreas, I'm talking about the Ubuntu OpenStack Cloud Installer which includes MaaS, Juju, OpenStack, and Landscape. I believe I saw the post in G+ stream as OpenStack Autopilot though.
    – chrone
    Dec 15, 2014 at 3:32

2 Answers 2

2

I'm not sure about all the downloads that you are seeing but at least lxc images are retrieved over HTTPS so will not be cacheable.

See: https://www.mail-archive.com/[email protected]/msg01303.html

1
  • oh that's why the lxc containers is not cached. thanks for the info. :)
    – chrone
    Nov 27, 2014 at 7:46
1

The installer sets apt-http-proxy to whatever your MAAS server IP is for an existing MAAS installation. So whenever juju deploys any services which require apt-get installs it'll pull from that proxy.

1
  • thanks for the comment. I didn't have problems with the apt packages, they were all retrieved from the squid box, but the lxc containers which juju bootstraps does not.
    – chrone
    Nov 27, 2014 at 7:47

You must log in to answer this question.

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