Removed container_release property from environment files

This change removes the container_release property from environment
files used to generate inventory.  This change is because the
lxc_container_create role has been updated to build containers to the
same distribution and release as the host machine.

This change also removes the variable lxc_container_release from the
lxc-containers-create.yml play as it is no longer used by the
lxc_container_create role.

Change-Id: I7d2aea8f6548feb381bf2354965f05fa0a9a99b8
Depends-On: Iee304dd026e0865e0444259d2132122233d90f5f
This commit is contained in:
Michael Gugino 2016-05-02 13:56:10 -04:00 committed by Jesse Pretorius (odyssey4me)
parent 1b4550b0b8
commit a0bceb9dff
15 changed files with 6 additions and 29 deletions

View File

@ -24,7 +24,6 @@ container_skel:
- aodh_alarm_notifier
properties:
service_name: aodh
container_release: trusty
physical_skel:
metering-alarm_containers:

View File

@ -26,7 +26,6 @@ container_skel:
- ceilometer_api
properties:
service_name: ceilometer
container_release: trusty
ceilometer_collector_container:
belongs_to:
- metering-infra_containers
@ -34,7 +33,6 @@ container_skel:
- ceilometer_collector
properties:
service_name: ceilometer
container_release: trusty
metering-compute_container:
belongs_to:
- metering-compute_containers
@ -43,7 +41,6 @@ container_skel:
properties:
is_metal: true
service_name: ceilometer
container_release: trusty
physical_skel:
metering-compute_containers:

View File

@ -37,7 +37,6 @@ container_skel:
- cinder_api
properties:
service_name: cinder
container_release: trusty
cinder_scheduler_container:
belongs_to:
- infra_containers
@ -46,7 +45,6 @@ container_skel:
- cinder_scheduler
properties:
service_name: cinder
container_release: trusty
cinder_volumes_container:
belongs_to:
- storage_containers
@ -61,7 +59,6 @@ container_skel:
# deployed on metal.
is_metal: true
service_name: cinder
container_release: trusty
physical_skel:

View File

@ -30,8 +30,6 @@ container_skel:
properties:
# These are arbitrary key value pairs.
service_name: example_service
# This is the image that the lxc container will be built from.
container_release: trusty
physical_skel:
# This maps back to items in the container_skel.

View File

@ -29,4 +29,3 @@ container_skel:
properties:
log_directory: mysql_logs
service_name: galera
container_release: trusty

View File

@ -32,5 +32,4 @@ container_skel:
- glance_registry
properties:
service_name: glance
container_release: trusty
container_fs_size: 12G

View File

@ -27,7 +27,6 @@ container_skel:
- haproxy
properties:
service_name: haproxy
#container_release: trusty
is_metal: true
physical_skel:

View File

@ -39,7 +39,6 @@ container_skel:
- heat_api
properties:
service_name: heat
container_release: trusty
heat_engine_container:
belongs_to:
- infra_containers
@ -48,4 +47,3 @@ container_skel:
- heat_engine
properties:
service_name: heat
container_release: trusty

View File

@ -28,4 +28,3 @@ container_skel:
- horizon
properties:
service_name: horizon
container_release: trusty

View File

@ -32,7 +32,6 @@ container_skel:
- ironic_api
properties:
service_name: ironic
container_release: trusty
ironic_conductor_container:
belongs_to:
- ironic-infra_containers
@ -40,7 +39,6 @@ container_skel:
- ironic_conductor
properties:
service_name: ironic
container_release: trusty
ironic_server_container:
belongs_to:
- ironic-server_containers
@ -49,7 +47,6 @@ container_skel:
properties:
is_metal: true
service_name: ironic
container_release: trusty
physical_skel:

View File

@ -54,7 +54,6 @@ container_skel:
- neutron_lbaas_agent
properties:
service_name: neutron
container_release: trusty
neutron_server_container:
belongs_to:
- network_containers
@ -62,7 +61,6 @@ container_skel:
- neutron_server
properties:
service_name: neutron
container_release: trusty
physical_skel:

View File

@ -46,7 +46,6 @@ container_skel:
- nova_api_metadata
properties:
service_name: nova
container_release: trusty
nova_api_os_compute_container:
belongs_to:
- infra_containers
@ -55,7 +54,6 @@ container_skel:
- nova_api_os_compute
properties:
service_name: nova
container_release: trusty
nova_cert_container:
belongs_to:
- infra_containers
@ -64,7 +62,6 @@ container_skel:
- nova_cert
properties:
service_name: nova
container_release: trusty
nova_compute_container:
belongs_to:
- compute_containers
@ -74,7 +71,6 @@ container_skel:
properties:
is_metal: true
service_name: nova
container_release: trusty
nova_conductor_container:
belongs_to:
- infra_containers
@ -83,7 +79,6 @@ container_skel:
- nova_conductor
properties:
service_name: nova
container_release: trusty
nova_scheduler_container:
belongs_to:
- infra_containers
@ -92,7 +87,6 @@ container_skel:
- nova_scheduler
properties:
service_name: nova
container_release: trusty
nova_console_container:
belongs_to:
- infra_containers
@ -101,7 +95,6 @@ container_skel:
- nova_console
properties:
service_name: nova
container_release: trusty
physical_skel:

View File

@ -28,7 +28,6 @@ container_skel:
properties:
is_metal: true
service_name: swift
container_release: trusty
physical_skel:

View File

@ -55,4 +55,3 @@
- lxc-container-hostname
vars:
is_metal: "{{ properties.is_metal|default(false) }}"
lxc_container_release: "{{ properties.container_release|default('trusty') }}"

View File

@ -0,0 +1,6 @@
---
upgrade:
- The container property ``container_release`` has been removed as this is automatically set
to the same version as the host in the container creation process.
- The variable ``lxc_container_release`` has been removed from the ``lxc-container-create.yml``
playbook as it is no longer consumed by the container creation process.