Only clone console repos on source based installs

For distro package based deployments, install the packaged nova console
proxies and console clients packages instead of git repos.

For debian/ubuntu installs, use the console client packages directly so
that the service configs of console proxy services are managed by OSA.

Change-Id: I27577ea263d38555e73ead078526cff1c3114b5a
This commit is contained in:
Jimmy McCrory 2019-06-19 16:25:49 -07:00 committed by Dmitriy Rabotyagov
parent 38a4bbf6e6
commit f777a2de36
3 changed files with 9 additions and 2 deletions

View File

@ -35,6 +35,7 @@
register: existing_dir_cleanup register: existing_dir_cleanup
changed_when: existing_dir_cleanup.rc == 2 changed_when: existing_dir_cleanup.rc == 2
failed_when: existing_dir_cleanup.rc not in [0,2] failed_when: existing_dir_cleanup.rc not in [0,2]
when: nova_install_method == 'source'
tags: tags:
- nova-novnc-git - nova-novnc-git
@ -51,6 +52,7 @@
until: git_clone is success until: git_clone is success
retries: 5 retries: 5
delay: 2 delay: 2
when: nova_install_method == 'source'
notify: notify:
- Manage LB - Manage LB
- Restart nova services - Restart nova services

View File

@ -35,6 +35,7 @@
register: existing_dir_cleanup register: existing_dir_cleanup
changed_when: existing_dir_cleanup.rc == 2 changed_when: existing_dir_cleanup.rc == 2
failed_when: existing_dir_cleanup.rc not in [0,2] failed_when: existing_dir_cleanup.rc not in [0,2]
when: nova_install_method == 'source'
tags: tags:
- nova-spice-git - nova-spice-git
@ -51,6 +52,7 @@
until: git_clone is success until: git_clone is success
retries: 5 retries: 5
delay: 2 delay: 2
when: nova_install_method == 'source'
notify: notify:
- Manage LB - Manage LB
- Restart nova services - Restart nova services

View File

@ -42,9 +42,12 @@ nova_service_extra_distro_packages:
kvm: kvm:
- nova-compute-kvm - nova-compute-kvm
novnc: novnc:
- nova-novncproxy - novnc
nova_api:
- uwsgi
- uwsgi-plugin-python3
spice: spice:
- nova-spiceproxy - spice-html5
serialconsole: serialconsole:
- openstack-nova-serialproxy - openstack-nova-serialproxy