6be15b8ddd
On first deployment bootstrap-ansible.sh pulls its packages from PyPI. On upgrade, when the deployment host is shared with a controller, a pip.conf file exists to restrict pip to the packages hosted by the repo containers. This causes bootstrap-ansible.sh to fail when the repo server created by the previous version does not contain a compatible version. This commit adds the flag '--isolated' to allow the bootstrap process to bypass the repo server. To allow the pip command to fall back on using the isolated flag the code is refactored to determine the version of pip prior to its use. Change-Id: Ie9834eb55a689d6f74441cc78e34b62be5d82141 |
||
---|---|---|
.. | ||
ansible-role-requirements-editor.py | ||
bootstrap-aio.sh | ||
bootstrap-ansible.sh | ||
federated-login.sh | ||
gate-check-commit.sh | ||
get-pypi-pkg-version.py | ||
inventory-manage.py | ||
os-detection.py | ||
osa-aio-heat-template.yml | ||
pw-token-gen.py | ||
run-playbooks.sh | ||
run-tempest.sh | ||
run-upgrade.sh | ||
scripts-library.sh | ||
sources-branch-updater.sh | ||
update-revision.sh |