Ensure that constraints are used for AIO bootstrap
Currently the pip_install role does not configure any constraints when exercising the AIO bootstrap, creating the possibility that the initial bootstrap may not have the right software versions. This patch ensures that the same constraints are used for the AIO bootstrap as was done for the Ansible bootstrap. Change-Id: I6aa467d4f1f6db33c824f4fcf8e46adb0a26cfa0
This commit is contained in:
parent
e883d33630
commit
eb7661d9e8
@ -26,6 +26,9 @@
|
||||
bootstrap_host_scenario: "{{ lookup('env','SCENARIO') | default('aio_lxc', true) }}"
|
||||
openstack_confd_entries: "{{ confd_overrides[bootstrap_host_scenario] }}"
|
||||
pip_install_upper_constraints_proto: "{{ ansible_python_version | version_compare('2.7.9', '>=') | ternary('https','http') }}"
|
||||
pip_install_upper_constraints: >-
|
||||
{{ (playbook_dir ~ '/../global-requirement-pins.txt') | realpath }}
|
||||
--constraint {{ pip_install_upper_constraints_proto }}://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?id={{ requirements_git_install_branch | regex_replace(' #.*$','') }}
|
||||
sftp_subsystem:
|
||||
'apt': 'sftp /usr/lib/openssh/sftp-server'
|
||||
'yum': 'sftp /usr/libexec/openssh/sftp-server'
|
||||
|
Loading…
Reference in New Issue
Block a user