Cleanup nova distro package install lists

The distro install package lists included virtual packages to install
everything nova, packages for deprecated services (cells v1,
nova-network, nova-volume), and packages specific
to hypervisors currently unsupported by OSA (xen).

nova-compute and serialconsole specific packages been moved out to
nova_service_extra_distro_packages.

Depends-On: https://review.openstack.org/612614
Change-Id: I8fb5e17598b24c2399fbff7ac29957b73042329d
This commit is contained in:
Jimmy McCrory 2018-10-20 08:27:16 -07:00
parent a781cb40b1
commit 5772607ef6
4 changed files with 14 additions and 23 deletions

View File

@ -30,6 +30,9 @@ nova_package_list: |-
{% if nova_console_type == 'spice' %}
{% set _ = packages.extend(nova_service_extra_distro_packages['spice']) %}
{% endif %}
{% if nova_console_type == 'serialconsole' %}
{% set _ = packages.extend(nova_service_extra_distro_packages['serialconsole']) %}
{% endif %}
{% endif %}
{% if nova_services['nova-compute']['group'] in group_names %}
{% if nova_virt_type in ['kvm', 'qemu'] %}

View File

@ -32,18 +32,11 @@ nova_devel_distro_packages:
- which
nova_service_distro_packages:
- openstack-nova
- openstack-nova-api
- openstack-nova-cells
- openstack-nova-compute
- openstack-nova-conductor
- openstack-nova-console
- openstack-nova-migration
- openstack-nova-network
- openstack-nova-novncproxy
- openstack-nova-placement-api
- openstack-nova-scheduler
- openstack-nova-serialproxy
- python-memcached
- python-novaclient
- python2-PyMySQL
@ -51,12 +44,16 @@ nova_service_distro_packages:
- uwsgi-plugin-python
nova_service_extra_distro_packages:
kvm: []
kvm:
- openstack-nova-compute
- openstack-nova-migration
lxd: []
novnc:
- openstack-nova-novncproxy
spice:
- openstack-nova-spicehtml5proxy
serialconsole:
- openstack-nova-serialproxy
nova_novnc_distro_packages:
- js-jquery

View File

@ -33,19 +33,11 @@ nova_devel_distro_packages:
- which
nova_service_distro_packages:
- openstack-nova
- openstack-nova-api
- openstack-nova-cells
- openstack-nova-compute
- openstack-nova-conductor
- openstack-nova-console
- openstack-nova-consoleauth
- openstack-nova-network
- openstack-nova-novncproxy
- openstack-nova-placement-api
- openstack-nova-scheduler
- openstack-nova-serialproxy
- openstack-nova-vncproxy
- python-memcached
- python-novaclient
- python-PyMySQL
@ -53,11 +45,14 @@ nova_service_distro_packages:
- uwsgi-python
nova_service_extra_distro_packages:
kvm: []
kvm:
- openstack-nova-compute
lxd: []
novnc:
- openstack-nova-novncproxy
spice: []
serialconsole:
- openstack-nova-serialproxy
nova_novnc_distro_packages:
- python-websockify

View File

@ -33,16 +33,10 @@ nova_devel_distro_packages:
nova_service_distro_packages:
- nova-api
- nova-cells
- nova-conductor
- nova-console
- nova-consoleauth
- nova-network
- nova-novncproxy
- nova-placement-api
- nova-scheduler
- nova-serialproxy
- nova-volume
- python-memcache
- python-novaclient
- python-pymysql
@ -59,6 +53,8 @@ nova_service_extra_distro_packages:
- nova-novncproxy
spice:
- nova-spiceproxy
serialconsole:
- openstack-nova-serialproxy
nova_novnc_distro_packages:
- libjs-jquery