Remove UpgradeRemoveUnusedPackages

UpgradeRemoveUnusedPackages is not used anymore. All packages are
supposed to be removed on undercloud upgrade to 14.

Change-Id: Ie6b739390ec0ae0c5773a5a6c63b49422195623a
changes/98/644398/2
Sergii Golovatiuk 4 years ago
parent af2b4319df
commit 2a8fcc4ddf
  1. 14
      deployment/aodh/aodh-api-container-puppet.yaml
  2. 14
      deployment/aodh/aodh-evaluator-container-puppet.yaml
  3. 14
      deployment/aodh/aodh-listener-container-puppet.yaml
  4. 14
      deployment/aodh/aodh-notifier-container-puppet.yaml
  5. 14
      deployment/barbican/barbican-api-container-puppet.yaml
  6. 14
      deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
  7. 18
      deployment/ceilometer/ceilometer-agent-compute-container-puppet.yaml
  8. 14
      deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
  9. 14
      deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
  10. 13
      deployment/cinder/cinder-api-container-puppet.yaml
  11. 14
      deployment/cinder/cinder-backup-container-puppet.yaml
  12. 14
      deployment/cinder/cinder-scheduler-container-puppet.yaml
  13. 14
      deployment/cinder/cinder-volume-container-puppet.yaml
  14. 14
      deployment/glance/glance-api-container-puppet.yaml
  15. 13
      deployment/haproxy/haproxy-container-puppet.yaml
  16. 13
      deployment/ironic/ironic-api-container-puppet.yaml
  17. 14
      deployment/ironic/ironic-conductor-container-puppet.yaml
  18. 14
      deployment/ironic/ironic-inspector-container-puppet.yaml
  19. 15
      deployment/ironic/ironic-pxe-container-puppet.yaml
  20. 14
      deployment/keepalived/keepalived-container-puppet.yaml
  21. 14
      deployment/keystone/keystone-container-puppet.yaml
  22. 14
      deployment/metrics/collectd-container-puppet.yaml
  23. 14
      deployment/mistral/mistral-api-container-puppet.yaml
  24. 14
      deployment/mistral/mistral-engine-container-puppet.yaml
  25. 14
      deployment/mistral/mistral-event-engine-container-puppet.yaml
  26. 14
      deployment/mistral/mistral-executor-container-puppet.yaml
  27. 14
      deployment/neutron/neutron-api-container-puppet.yaml
  28. 14
      deployment/neutron/neutron-ovs-agent-container-puppet.yaml
  29. 14
      deployment/nova/nova-api-container-puppet.yaml
  30. 14
      deployment/nova/nova-conductor-container-puppet.yaml
  31. 14
      deployment/nova/nova-consoleauth-container-puppet.yaml
  32. 14
      deployment/nova/nova-ironic-container-puppet.yaml
  33. 14
      deployment/nova/nova-placement-container-puppet.yaml
  34. 14
      deployment/nova/nova-scheduler-container-puppet.yaml
  35. 14
      deployment/nova/nova-vnc-proxy-container-puppet.yaml
  36. 14
      deployment/octavia/octavia-health-manager-container-puppet.yaml
  37. 14
      deployment/sahara/sahara-api-container-puppet.yaml
  38. 14
      deployment/sahara/sahara-engine-container-puppet.yaml
  39. 14
      deployment/swift/swift-proxy-container-puppet.yaml
  40. 19
      deployment/swift/swift-storage-container-puppet.yaml
  41. 14
      deployment/zaqar/zaqar-container-puppet.yaml
  42. 4
      docker/services/tempest.yaml
  43. 1
      environments/lifecycle/upgrade-converge.yaml
  44. 1
      environments/lifecycle/upgrade-prepare.yaml
  45. 4
      releasenotes/notes/remove-option-remove-unused-packages-on-upgrade-99bfd428dd52b4c9.yaml

@ -52,10 +52,6 @@ parameters:
e.g. { aodh-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
default: {}
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
conditions:
@ -235,16 +231,6 @@ outputs:
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-aodh-api package
set_fact:
remove_aodh_api_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-aodh-api package if operator requests it
package: name=openstack-aodh-api state=removed
ignore_errors: True
when: remove_aodh_api_package|bool
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionAodhEvaluator:
default: 'overcloud-ceilometer-aodh-evaluator'
type: string
@ -127,16 +123,6 @@ outputs:
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-aodh-evaluator package
set_fact:
remove_aodh_evaluator_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-aodh-evaluator package if operator requests it
package: name=openstack-aodh-evaluator state=removed
ignore_errors: True
when: remove_aodh_evaluator_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionAodhListener:
default: 'overcloud-ceilometer-aodh-listener'
type: string
@ -135,16 +131,6 @@ outputs:
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-aodh-listener package
set_fact:
remove_aodh_listener_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-aodh-listener package if operator requests it
package: name=openstack-aodh-listener state=removed
ignore_errors: True
when: remove_aodh_listener_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionAodhNotifier:
default: 'overcloud-ceilometer-aodh-notifier'
type: string
@ -135,16 +131,6 @@ outputs:
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-aodh-notifier package
set_fact:
remove_aodh_notifier_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-aodh-notifier package if operator requests it
package: name=openstack-aodh-notifier state=removed
ignore_errors: True
when: remove_aodh_notifier_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -45,10 +45,6 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
BarbicanPkcs11CryptoATOSEnabled:
type: boolean
default: false
@ -776,16 +772,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-barbican-api package
set_fact:
remove_barbican_api_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-barbican-api package if operator requests it
package: name=openstack-barbican-api state=removed
ignore_errors: True
when: remove_barbican_api_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
RedisPassword:
description: The password for the redis service account.
type: string
@ -165,16 +161,6 @@ outputs:
Log files from ceilometer containers can be found under
/var/log/containers/ceilometer.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ceilometer-central package
set_fact:
remove_ceilometer_central_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ceilometer-central package if operator requests it
package: name=openstack-ceilometer-central state=removed
ignore_errors: True
when: remove_ceilometer_central_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionCeilometerCompute:
default: 'overcloud-ceilometer-agent-compute'
type: string
@ -149,20 +145,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ceilometer-compute and polling package
set_fact:
remove_ceilometer_compute_polling_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ceilometer-compute package if operator requests it
package: name=openstack-ceilometer-compute state=removed
ignore_errors: True
when: remove_ceilometer_compute_polling_package|bool
- name: Remove openstack-ceilometer-polling package if operator requests it
package: name=openstack-ceilometer-polling state=removed
ignore_errors: True
when: remove_ceilometer_compute_polling_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
RedisPassword:
description: The password for the redis service account.
type: string
@ -152,16 +148,6 @@ outputs:
Log files from ceilometer containers can be found under
/var/log/containers/ceilometer.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ceilometer-ipmi package
set_fact:
remove_ceilometer_ipmi_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ceilometer-ipmi package if operator requests it
package: name=openstack-ceilometer-ipmi state=removed
ignore_errors: True
when: remove_ceilometer_ipmi_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
CeilometerEnablePanko:
default: true
description: Check if panko need to be enabled or not.
@ -173,16 +169,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ceilometer-notification package
set_fact:
remove_ceilometer_notification_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ceilometer-notification package if operator requests it
package: name=openstack-ceilometer-notification state=removed
ignore_errors: True
when: remove_ceilometer_notification_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -44,10 +44,6 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
CinderDefaultVolumeType:
default: tripleo
description: The name of Cinder's default volume type.
@ -372,15 +368,6 @@ outputs:
fi
tags: pre-upgrade
when: is_cinder_api_bootstrap_node|bool
- when: step|int == 3
block:
- name: Set fact for removal of httpd package
set_fact:
remove_httpd_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove httpd package if operator requests it
package: name=httpd state=removed
ignore_errors: True
when: remove_httpd_package|bool
external_upgrade_tasks:
- when: step|int == 1
block:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
CephClusterName:
type: string
default: ceph
@ -228,13 +224,3 @@ outputs:
vars:
containers_to_rm:
- cinder_backup
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-cinder package
set_fact:
remove_cinder_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-cinder package if operator requests it
package: name=openstack-cinder state=removed
ignore_errors: True
when: remove_cinder_package|bool

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionCinderScheduler:
default: 'overcloud-cinder-scheduler'
type: string
@ -163,16 +159,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-cinder package
set_fact:
remove_cinder_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-cinder package if operator requests it
package: name=openstack-cinder state=removed
ignore_errors: True
when: remove_cinder_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -45,10 +45,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
CephClientUserName:
default: openstack
type: string
@ -322,16 +318,6 @@ outputs:
volumes: {get_attr: [CinderCommon, cinder_volume_volumes]}
environment: {get_attr: [CinderCommon, cinder_volume_environment]}
host_prep_tasks: {get_attr: [CinderCommon, cinder_volume_host_prep_tasks]}
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-cinder package
set_fact:
remove_cinder_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-cinder package if operator requests it
package: name=openstack-cinder state=removed
ignore_errors: True
when: remove_cinder_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -196,10 +196,6 @@ parameters:
type: string
constraints:
- allowed_values: ['swift', 'file', 'rbd', 'cinder']
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
CephClientUserName:
default: openstack
type: string
@ -571,16 +567,6 @@ outputs:
path: /var/lib/glance
state: directory
setype: svirt_sandbox_file_t
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-glance package
set_fact:
remove_glance_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-glance package if operator requests it
package: name=openstack-glance state=removed
ignore_errors: True
when: remove_glance_package|bool
metadata_settings:
get_attr: [TLSProxyBase, role_data, metadata_settings]
post_upgrade_tasks:

@ -91,10 +91,6 @@ parameters:
default: false
description: Whether to run config management (e.g. Puppet) in debug mode.
type: boolean
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
EnableLoadBalancer:
default: true
description: Whether to deploy a LoadBalancer, set to false when an external load balancer is used.
@ -314,15 +310,6 @@ outputs:
state: directory
setype: var_log_t
recurse: yes
- when: step|int == 3
block:
- name: Set fact for removal of HAproxy package
set_fact:
remove_haproxy_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove HAproxy package if operator requests it
package: name=haproxy state=removed
ignore_errors: True
when: remove_haproxy_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
IronicPassword:
description: The password for the Ironic service and db account, used by the Ironic services
type: string
@ -286,15 +282,6 @@ outputs:
fi
tags: pre-upgrade
when: is_ironic_api_bootstrap_node|bool
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ironic-api package
set_fact:
remove_ironic_api_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ironic-api package if operator requests it
package: name=openstack-ironic-api state=removed
ignore_errors: True
when: remove_ironic_api_package|bool
external_upgrade_tasks:
- when: step|int == 1
block:

@ -226,10 +226,6 @@ parameters:
default: []
description: List of additional architectures to enable.
type: comma_delimited_list
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
conditions:
default_deploy_interface_unset: {equals : [{get_param: IronicDefaultDeployInterface}, '']}
@ -586,16 +582,6 @@ outputs:
with_items:
- httpboot
- tftpboot
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ironic-conductor package
set_fact:
remove_ironic_conductor_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ironic-conductor package if operator requests it
package: name=openstack-ironic-conductor state=removed
ignore_errors: True
when: remove_ironic_conductor_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -40,10 +40,6 @@ parameters:
default: []
description: IPA image URLs, the format should be ["http://path/to/kernel", "http://path/to/ramdisk"]
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionIronicInspector:
default: 'overcloud-ironic-inspector'
type: string
@ -463,16 +459,6 @@ outputs:
path: /var/lib/ironic-inspector/dhcp-hostsdir
state: directory
setype: svirt_sandbox_file_t
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-ironic-inspector package
set_fact:
remove_ironic_inspector_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-ironic-inspector package if operator requests it
package: name=openstack-ironic-inspector state=removed
ignore_errors: True
when: remove_ironic_inspector_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
resources:
@ -108,17 +104,6 @@ outputs:
name: xinetd
state: restarted
when: xinetd_active_result.rc == 0
- when: step|int == 3
block:
- name: Set fact for removal of tftp-server package
set_fact:
remove_tftp_server: {get_param: UpgradeRemoveUnusedPackages}
- name: remove tftp-server if requested
ignore_errors: True
when: remove_tftp_server|bool
package:
name: tftp-server
state: removed
docker_config:
step_4:
ironic_pxe_tftp:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
# TODO(emilien) Remove when Keepalived 2.0.6 is out
# https://bugs.launchpad.net/tripleo/+bug/1791238
KeepalivedRestart:
@ -162,16 +158,6 @@ outputs:
Log files from keepalived containers can be found under
/var/log/containers/keepalived.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of Keepalived package
set_fact:
remove_keepalived_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove Keepalived package if operator requests it
package: name=keepalived state=removed
ignore_errors: True
when: remove_keepalived_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -49,10 +49,6 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
KeystoneEnableDBPurge:
default: true
description: |
@ -800,16 +796,6 @@ outputs:
step_config: 'include ::tripleo::profile::base::keystone'
config_image: *keystone_config_image
host_prep_tasks: {get_attr: [KeystoneLogging, host_prep_tasks]}
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-keystone package
set_fact:
remove_keystone_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-keystone package if operator requests it
package: name=openstack-keystone state=removed
ignore_errors: True
when: remove_keystone_package|bool
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
GnocchiPassword:
type: string
description: The password for the gnocchi service and db account.
@ -508,16 +504,6 @@ outputs:
Log files from collectd containers can be found under
/var/log/containers/collectd.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of collectd package
set_fact:
remove_collectd_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove collectd package if operator requests it
package: name=collectd state=removed
ignore_errors: True
when: remove_collectd_package|bool
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MistralWorkers:
default: 1
description: The number of workers for the mistral-api.
@ -235,16 +231,6 @@ outputs:
Log files from mistral containers can be found under
/var/log/containers/mistral.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-mistral-api package
set_fact:
remove_mistral_api_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-mistral-api package if operator requests it
package: name=openstack-mistral-api state=removed
ignore_errors: True
when: remove_mistral_api_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MistralExecutionFieldSizeLimit:
default: 1024
description: The default maximum size in KB of large text fields of runtime
@ -168,16 +164,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-mistral-engine package
set_fact:
remove_mistral_engine_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-mistral-engine package if operator requests it
package: name=openstack-mistral-engine state=removed
ignore_errors: True
when: remove_mistral_engine_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
RpcPort:
default: 5672
description: The network port for messaging backend
@ -143,16 +139,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-mistral-event-engine package
set_fact:
remove_mistral_event_engine_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-mistral-event-engine package if operator requests it
package: name=openstack-mistral-event-engine state=removed
ignore_errors: True
when: remove_mistral_event_engine_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -40,10 +40,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MistralExecutorVolumes:
default: []
description: List of additional volumes to mount into the mistral-executor container
@ -250,16 +246,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-mistral-executor package
set_fact:
remove_mistral_executor_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-mistral-executor package if operator requests it
package: name=openstack-mistral-executor state=removed
ignore_errors: True
when: remove_mistral_executor_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -44,10 +44,6 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
NeutronApiOptVolumes:
default: []
description: list of optional volumes to be mounted
@ -401,16 +397,6 @@ outputs:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
- {}
host_prep_tasks: {get_attr: [NeutronLogging, host_prep_tasks]}
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-neutron package
set_fact:
remove_neutron_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-neutron package if operator requests it
package: name=openstack-neutron state=removed
ignore_errors: True
when: remove_neutron_package|bool
metadata_settings:
get_attr: [TLSProxyBase, role_data, metadata_settings]
post_upgrade_tasks:

@ -45,10 +45,6 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
DockerPuppetMountHostPuppet:
type: boolean
default: true
@ -356,16 +352,6 @@ outputs:
shell: |
iptables -t raw -nL
ip6tables -t raw -nL
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-neutron-openvswitch package
set_fact:
remove_neutron_openvswitch_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-neutron-openvswitch package if operator requests it
package: name=openstack-neutron-openvswitch state=removed
ignore_errors: True
when: remove_neutron_openvswitch_package|bool
update_tasks:
# puppetlabs-firewall manages security rules via Puppet but make the rules
# consistent by default. Since Neutron also creates some rules, we don't

@ -48,10 +48,6 @@ parameters:
default: 300
description: Timeout for Nova db sync
type: number
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
NovaPassword:
description: The password for the nova service and db account
type: string
@ -479,16 +475,6 @@ outputs:
fi
tags: pre-upgrade
when: is_nova_api_bootstrap_node|bool
- when: step|int == 3
block:
- name: Set fact for removal of openstack-nova-api package
set_fact:
remove_nova_api_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-nova-api package if operator requests it
package: name=openstack-nova-api state=removed
ignore_errors: True
when:
- remove_nova_api_package|bool
external_upgrade_tasks:
- when: step|int == 1
block:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
NovaWorkers:
default: 0
description: Number of workers for Nova services.
@ -203,16 +199,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-nova-conductor package
set_fact:
remove_nova_conductor_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-nova-conductor package if operator requests it
package: name=openstack-nova-conductor state=removed
ignore_errors: True
when: remove_nova_conductor_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionNovaConsoleauth:
default: 'overcloud-nova-consoleauth'
type: string
@ -154,16 +150,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-nova-console package
set_fact:
remove_nova_console_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-nova-console package if operator requests it
package: name=openstack-nova-console state=removed
ignore_errors: True
when: remove_nova_console_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -36,10 +36,6 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
IronicPassword:
description: The password for the Ironic service and db account, used by the Ironic services
type: string
@ -198,16 +194,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-nova-compute package
set_fact:
remove_nova_compute_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-nova-compute package if operator requests it
package: name=openstack-nova-compute state=removed
ignore_errors: True
when: remove_nova_compute_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -44,10 +44,6 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
NovaWorkers:
default: 0
description: Number of workers for Nova services.
@ -235,16 +231,6 @@ outputs:
path: /var/lib/nova
state: directory
setype: svirt_sandbox_file_t
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of httpd package
set_fact:
remove_httpd_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove httpd package if operator requests it
package: name=httpd state=removed
ignore_errors: True
when: remove_httpd_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
NovaSchedulerAvailableFilters:
default: []
description: List of scheduler available filters
@ -193,16 +189,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-nova-scheduler package
set_fact:
remove_nova_scheduler_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-nova-scheduler package if operator requests it
package: name=openstack-nova-scheduler state=removed
ignore_errors: True
when: remove_nova_scheduler_package|bool
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
EnableInternalTLS:
type: boolean
default: false
@ -289,16 +285,6 @@ outputs:
type: node
- null
host_prep_tasks: {get_attr: [NovaLogging, host_prep_tasks]}
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-nova-novncproxy package
set_fact:
remove_nova_novncproxy_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-nova-novncproxy package if operator requests it
package: name=openstack-nova-novncproxy state=removed
ignore_errors: True
when: remove_nova_novncproxy_package|bool
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionOctaviaHealthManager:
default: 'overcloud-octavia-health-manager'
type: string
@ -176,16 +172,6 @@ outputs:
Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-octavia-health-manager package
set_fact:
remove_octavia_health_manager_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-octavia-health-manager package if operator requests it
package: name=openstack-octavia-health-manager state=removed
ignore_errors: True
when: remove_octavia_health_manager_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
SaharaPassword:
description: The password for the sahara service account, used by sahara-api.
type: string
@ -214,16 +210,6 @@ outputs:
Log files from sahara containers can be found under
/var/log/containers/sahara.
ignore_errors: true
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-sahara-api package
set_fact:
remove_sahara_api_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-sahara-api package if operator requests it
package: name=openstack-sahara-api state=removed
ignore_errors: True
when: remove_sahara_api_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -41,10 +41,6 @@ parameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
MonitoringSubscriptionSaharaEngine:
default: 'overcloud-sahara-engine'
type: string
@ -156,16 +152,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
upgrade_tasks:
- when: step|int == 3
block:
- name: Set fact for removal of openstack-sahara-engine package
set_fact:
remove_sahara_engine_package: {get_param: UpgradeRemoveUnusedPackages}
- name: Remove openstack-sahara-engine package if operator requests it
package: name=openstack-sahara-engine state=removed
ignore_errors: True
when: remove_sahara_engine_package|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:

@ -40,10 +40,6 @@ parameters:
description: Set to True to enable data-at-rest encryption in Swift
default: false
type: boolean
UpgradeRemoveUnusedPackages: