Additional fix for venv build fallback
Additional fixes needed to fix the venv build fallback behavior were found after Id41233789047906a0eb5f1af4d0d6b4dde55d8c7 merged. Change-Id: I5c4b375dc22e846de1372c6bc0ababf5fbc20de5
This commit is contained in:
parent
731c536c7e
commit
8e6bf7a36c
@ -63,7 +63,7 @@
|
||||
retries: 5
|
||||
delay: 2
|
||||
when:
|
||||
- not nova_get_venv | success or nova_developer_mode | bool
|
||||
- nova_get_venv | failed or nova_get_venv | skipped or nova_developer_mode | bool
|
||||
tags:
|
||||
- nova-install
|
||||
- nova-pip-packages
|
||||
|
@ -50,7 +50,7 @@
|
||||
retries: 5
|
||||
delay: 2
|
||||
when:
|
||||
- not nova_get_venv | success or nova_developer_mode | bool
|
||||
- nova_get_venv | failed or nova_get_venv | skipped or nova_developer_mode | bool
|
||||
tags:
|
||||
- nova-install
|
||||
- nova-pip-packages
|
||||
|
@ -220,7 +220,7 @@
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
when: not nova_get_venv | success or nova_developer_mode | bool
|
||||
when: nova_get_venv | failed or nova_get_venv | skipped or nova_developer_mode | bool
|
||||
notify: Restart nova services
|
||||
tags:
|
||||
- nova-install
|
||||
@ -233,14 +233,14 @@
|
||||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
- not nova_developer_mode | bool
|
||||
- nova_get_venv | changed or nova_venv_dir | changed
|
||||
- nova_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ nova_bin | dirname }}
|
||||
when:
|
||||
- not nova_developer_mode | bool
|
||||
- nova_get_venv | changed or nova_venv_dir | changed
|
||||
- nova_get_venv | changed
|
||||
tags:
|
||||
- nova-install
|
||||
- nova-pip-packages
|
||||
|
Loading…
x
Reference in New Issue
Block a user