diff options
Diffstat (limited to 'docker/services/nova-compute.yaml')
-rw-r--r-- | docker/services/nova-compute.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/services/nova-compute.yaml b/docker/services/nova-compute.yaml index bf7841be..883f438b 100644 --- a/docker/services/nova-compute.yaml +++ b/docker/services/nova-compute.yaml @@ -45,6 +45,10 @@ parameters: type: string description: Nova Compute upgrade level default: '' + UpgradeRemoveUnusedPackages: + default: false + description: Remove package if the service is being disabled during upgrade + type: boolean resources: @@ -63,7 +67,6 @@ resources: DefaultPasswords: {get_param: DefaultPasswords} RoleName: {get_param: RoleName} RoleParameters: {get_param: RoleParameters} - MigrationSshPort: {get_param: DockerNovaMigrationSshdPort} outputs: role_data: @@ -72,6 +75,8 @@ outputs: service_name: {get_attr: [NovaComputeBase, role_data, service_name]} config_settings: get_attr: [NovaComputeBase, role_data, config_settings] + logging_source: {get_attr: [NovaComputeBase, role_data, logging_source]} + logging_groups: {get_attr: [NovaComputeBase, role_data, logging_groups]} step_config: &step_config list_join: - "\n" @@ -156,3 +161,8 @@ outputs: - name: Stop and disable nova-compute service tags: step2 service: name=openstack-nova-compute state=stopped enabled=no + - name: Remove openstack-nova-compute package if operator requests it + yum: name=openstack-nova-compute state=removed + tags: step2 + ignore_errors: True + when: {get_param: UpgradeRemoveUnusedPackages} |