magnum/magnum/drivers/common
Jonathan Rosser 2595fda3e3 Ensure http proxy environment is available during 'atomic install' for k8s
The scripts run by cloud-init for the master and minion nodes currently
write proxy environment variables into /bin/bashrc when they are defined.

These variables will only be introduced into the running environment
when a new bash shell is started. The /bin/sh used by the fragment
scripts will ignore /etc/bashrc, so the new shells invoked per fragment
will not have the http proxy variables present. This means that the
master/minion node deployment fails when behind an http proxy.

This patch adds explicit exports for HTTP_PROXY and HTTPS_PROXY when those
variables are defined, and not empty.

Task: 29863
Change-Id: Id05c90d5bf99d720ae6002b38d3291e364e1e0c4
2019-03-07 22:16:38 +00:00
..
templates Ensure http proxy environment is available during 'atomic install' for k8s 2019-03-07 22:16:38 +00:00
__init__.py Bay driver implementation 2016-07-05 22:30:31 +02:00
driver.py Delete Octavia loadbalancers for fedora atomic k8s driver 2018-12-13 13:18:40 +13:00
k8s_monitor.py [k8s] Update cluster health status by native API 2019-02-18 11:03:10 +13:00
k8s_scale_manager.py Remove unused logging import 2017-03-15 20:10:50 +00:00