Get rid of docker removing in post_upgrade tasks.

When upgrading from Rocky to Stein we moved also from using the docker
container engine into Podman. To ensure that every single docker container
was removed after the upgrade a post_upgrade task was added which made
use of the tripleo-docker-rm role that removed the container. In this cycle,
from Stein to Train both the Undercloud and Overcloud work with Podman, so
there is no need to remove any docker container anymore.

This patch removes all the tripleo-docker-rm post-upgrade task and in those
services which only included a single task, the post-upgrade-tasks section
is also erased.

Change-Id: I5c9ab55ec6ff332056a426a76e150ea3c9063c6e
changes/69/681669/5
Jose Luis Franco Arza 3 years ago
parent 755c708a3f
commit 4cbae84c75
  1. 8
      deployment/aodh/aodh-api-container-puppet.yaml
  2. 8
      deployment/aodh/aodh-evaluator-container-puppet.yaml
  3. 8
      deployment/aodh/aodh-listener-container-puppet.yaml
  4. 8
      deployment/aodh/aodh-notifier-container-puppet.yaml
  5. 10
      deployment/barbican/barbican-api-container-puppet.yaml
  6. 8
      deployment/cavium/liquidio-compute-config-container-puppet.yaml
  7. 8
      deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
  8. 8
      deployment/ceilometer/ceilometer-agent-compute-container-puppet.yaml
  9. 8
      deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
  10. 8
      deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
  11. 9
      deployment/cinder/cinder-api-container-puppet.yaml
  12. 8
      deployment/cinder/cinder-backup-container-puppet.yaml
  13. 8
      deployment/cinder/cinder-scheduler-container-puppet.yaml
  14. 8
      deployment/cinder/cinder-volume-container-puppet.yaml
  15. 7
      deployment/database/mysql-container-puppet.yaml
  16. 14
      deployment/database/redis-container-puppet.yaml
  17. 8
      deployment/etcd/etcd-container-puppet.yaml
  18. 8
      deployment/experimental/designate/designate-api-container-puppet.yaml
  19. 8
      deployment/experimental/designate/designate-central-container-puppet.yaml
  20. 8
      deployment/experimental/designate/designate-mdns-container-puppet.yaml
  21. 8
      deployment/experimental/designate/designate-producer-container-puppet.yaml
  22. 8
      deployment/experimental/designate/designate-sink-container-puppet.yaml
  23. 9
      deployment/experimental/designate/designate-worker-container-puppet.yaml
  24. 14
      deployment/glance/glance-api-container-puppet.yaml
  25. 8
      deployment/gnocchi/gnocchi-api-container-puppet.yaml
  26. 8
      deployment/gnocchi/gnocchi-metricd-container-puppet.yaml
  27. 8
      deployment/gnocchi/gnocchi-statsd-container-puppet.yaml
  28. 8
      deployment/haproxy/haproxy-container-puppet.yaml
  29. 8
      deployment/heat/heat-api-cfn-container-puppet.yaml
  30. 9
      deployment/heat/heat-api-container-puppet.yaml
  31. 8
      deployment/heat/heat-engine-container-puppet.yaml
  32. 8
      deployment/horizon/horizon-container-puppet.yaml
  33. 8
      deployment/ironic/ironic-api-container-puppet.yaml
  34. 8
      deployment/ironic/ironic-conductor-container-puppet.yaml
  35. 9
      deployment/ironic/ironic-inspector-container-puppet.yaml
  36. 8
      deployment/ironic/ironic-neutron-agent-container-puppet.yaml
  37. 9
      deployment/ironic/ironic-pxe-container-puppet.yaml
  38. 8
      deployment/iscsid/iscsid-container-puppet.yaml
  39. 8
      deployment/keepalived/keepalived-container-puppet.yaml
  40. 9
      deployment/keystone/keystone-container-puppet.yaml
  41. 8
      deployment/logrotate/logrotate-crond-container-puppet.yaml
  42. 8
      deployment/manila/manila-api-container-puppet.yaml
  43. 8
      deployment/manila/manila-scheduler-container-puppet.yaml
  44. 8
      deployment/manila/manila-share-container-puppet.yaml
  45. 8
      deployment/memcached/memcached-container-puppet.yaml
  46. 8
      deployment/messaging/rpc-qdrouterd-container-puppet.yaml
  47. 8
      deployment/metrics/collectd-container-puppet.yaml
  48. 8
      deployment/metrics/qdr-container-puppet.yaml
  49. 8
      deployment/mistral/mistral-api-container-puppet.yaml
  50. 8
      deployment/mistral/mistral-engine-container-puppet.yaml
  51. 8
      deployment/mistral/mistral-event-engine-container-puppet.yaml
  52. 8
      deployment/mistral/mistral-executor-container-puppet.yaml
  53. 8
      deployment/multipathd/multipathd-container.yaml
  54. 14
      deployment/neutron/neutron-api-container-puppet.yaml
  55. 7
      deployment/neutron/neutron-dhcp-container-puppet.yaml
  56. 7
      deployment/neutron/neutron-l3-container-puppet.yaml
  57. 8
      deployment/neutron/neutron-metadata-container-puppet.yaml
  58. 8
      deployment/neutron/neutron-ovs-agent-container-puppet.yaml
  59. 8
      deployment/neutron/neutron-sriov-agent-container-puppet.yaml
  60. 9
      deployment/nova/nova-api-container-puppet.yaml
  61. 8
      deployment/nova/nova-compute-container-puppet.yaml
  62. 8
      deployment/nova/nova-conductor-container-puppet.yaml
  63. 8
      deployment/nova/nova-ironic-container-puppet.yaml
  64. 9
      deployment/nova/nova-libvirt-container-puppet.yaml
  65. 8
      deployment/nova/nova-metadata-container-puppet.yaml
  66. 8
      deployment/nova/nova-migration-target-container-puppet.yaml
  67. 8
      deployment/nova/nova-scheduler-container-puppet.yaml
  68. 8
      deployment/nova/nova-vnc-proxy-container-puppet.yaml
  69. 9
      deployment/nova/novajoin-container-puppet.yaml
  70. 17
      deployment/octavia/octavia-api-container-puppet.yaml
  71. 7
      deployment/octavia/octavia-health-manager-container-puppet.yaml
  72. 7
      deployment/octavia/octavia-housekeeping-container-puppet.yaml
  73. 7
      deployment/octavia/octavia-worker-container-puppet.yaml
  74. 8
      deployment/ovn/ovn-controller-container-puppet.yaml
  75. 10
      deployment/ovn/ovn-dbs-container-puppet.yaml
  76. 8
      deployment/ovn/ovn-metadata-container-puppet.yaml
  77. 8
      deployment/pacemaker/clustercheck-container-puppet.yaml
  78. 8
      deployment/placement/placement-api-container-puppet.yaml
  79. 8
      deployment/qdr/qdrouterd-container-puppet.yaml
  80. 8
      deployment/rabbitmq/rabbitmq-container-puppet.yaml
  81. 8
      deployment/rabbitmq/rabbitmq-messaging-notify-container-puppet.yaml
  82. 8
      deployment/rabbitmq/rabbitmq-messaging-rpc-container-puppet.yaml
  83. 8
      deployment/sahara/sahara-api-container-puppet.yaml
  84. 8
      deployment/sahara/sahara-engine-container-puppet.yaml
  85. 13
      deployment/swift/swift-proxy-container-puppet.yaml
  86. 21
      deployment/swift/swift-storage-container-puppet.yaml
  87. 9
      deployment/zaqar/zaqar-container-puppet.yaml

@ -225,14 +225,6 @@ outputs:
- { 'path': /var/log/containers/httpd/aodh-api, setype: svirt_sandbox_file_t, 'mode': '0750' }
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- aodh_api
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -115,14 +115,6 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- aodh_evaluator
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -115,14 +115,6 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- aodh_listener
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -116,14 +116,6 @@ outputs:
with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/aodh, 'setype': svirt_sandbox_file_t }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- aodh_notifier
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -733,15 +733,5 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- barbican_api
- barbican_keystone_listener
- barbican_worker
tripleo_container_cli: "docker"
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]

@ -125,11 +125,3 @@ outputs:
- /run:/run
environment:
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- liquidio_compute_service
tripleo_container_cli: "docker"

@ -151,14 +151,6 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ceilometer_agent_central
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -125,14 +125,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ceilometer_agent_compute
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -138,14 +138,6 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ceilometer_agent_ipmi
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -130,14 +130,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ceilometer_agent_notification
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -367,15 +367,6 @@ outputs:
- cinder_api
- cinder_api_cron
tripleo_delegate_to: "{{ groups['cinder_api'] | default([]) }}"
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- cinder_api
- cinder_api_cron
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -208,11 +208,3 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- cinder_backup
tripleo_container_cli: "docker"

@ -141,14 +141,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- cinder_scheduler
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -333,14 +333,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]}
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- cinder_volume
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -307,13 +307,6 @@ outputs:
SCRIPT: "{{ mysql_clean_up_script }}"
when: mysql_json.image is defined and mysql_json.image != post_upgrade_mysql_image
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- mysql
tripleo_container_cli: "docker"
- name: Check and upgrade Mysql database after major version upgrade
command: "{{ container_cli }} exec -u root mysql mysql_upgrade"
when: step|int == 2

@ -259,17 +259,3 @@ outputs:
- - redis_tls_proxy
- null
tripleo_delegate_to: "{{ groups['redis'] | default([]) }}"
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
with_items:
list_concat:
- - redis
- - if:
- internal_tls_enabled
- - redis_tls_proxy
- null
tripleo_container_cli: "docker"

@ -167,11 +167,3 @@ outputs:
network: {get_param: [ServiceNetMap, EtcdNetwork]}
type: node
- null
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- etcd
tripleo_container_cli: "docker"

@ -161,11 +161,3 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- designate_api
tripleo_container_cli: "docker"

@ -211,11 +211,3 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- designate_central
tripleo_container_cli: "docker"

@ -178,11 +178,3 @@ outputs:
with_items:
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- designate_mdns
tripleo_container_cli: "docker"

@ -134,11 +134,3 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- designate_producer
tripleo_container_cli: "docker"

@ -126,11 +126,3 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- designate_sink
tripleo_container_cli: "docker"

@ -232,12 +232,3 @@ outputs:
path: /var/named-persistent
state: directory
setype: svirt_sandbox_file_t
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- designate_backend_bind9
- designate_worker
tripleo_container_cli: "docker"

@ -612,20 +612,6 @@ outputs:
setype: svirt_sandbox_file_t
metadata_settings:
get_attr: [TLSProxyBase, role_data, metadata_settings]
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
with_items:
list_concat:
- - glance_api
- - if:
- internal_tls_enabled
- - glance_api_tls_proxy
- null
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -364,14 +364,6 @@ outputs:
upgrade_tasks: []
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- gnocchi_api
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -170,14 +170,6 @@ outputs:
path: /etc/ceph
state: directory
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- gnocchi_metricd
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -164,14 +164,6 @@ outputs:
path: /etc/ceph
state: directory
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- gnocchi_statsd
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -341,14 +341,6 @@ outputs:
setype: var_log_t
recurse: yes
when: step|int == 1
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- haproxy
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -214,14 +214,6 @@ outputs:
upgrade_tasks: []
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- heat_api_cfn
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -261,15 +261,6 @@ outputs:
upgrade_tasks: []
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- heat_api
- heat_api_cron
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -289,14 +289,6 @@ outputs:
persistent: yes
state: yes
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- heat_engine
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -323,14 +323,6 @@ outputs:
- { 'path': /var/log/containers/httpd/horizon, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/www, 'setype': svirt_sandbox_file_t }
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- horizon
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -279,14 +279,6 @@ outputs:
tags:
- online_upgrade
- online_upgrade_ironic
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ironic_api
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -584,14 +584,6 @@ outputs:
with_items:
- httpboot
- tftpboot
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ironic_conductor
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -485,12 +485,3 @@ outputs:
path: /var/lib/ironic-inspector/dhcp-hostsdir
state: directory
setype: svirt_sandbox_file_t
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ironic_inspector
- ironic_inspector_dnsmasq
tripleo_container_cli: "docker"

@ -120,11 +120,3 @@ outputs:
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
host_prep_tasks: {get_attr: [NeutronLogging, host_prep_tasks]}
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ironic_neutron_agent
tripleo_container_cli: "docker"

@ -156,12 +156,3 @@ outputs:
- { 'path': /var/lib/ironic, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/ironic-pxe, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- ironic_pxe_tftp
- ironic_pxe_http
tripleo_container_cli: "docker"

@ -121,11 +121,3 @@ outputs:
- iscsi_service_enabled_result is changed
- iscsi_service_enabled_result.rc == 0
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- iscsid
tripleo_container_cli: "docker"

@ -150,11 +150,3 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/keepalived, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- keepalived
tripleo_container_cli: "docker"

@ -720,15 +720,6 @@ outputs:
host_prep_tasks: {get_attr: [KeystoneLogging, host_prep_tasks]}
metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings]
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- keystone
- keystone_cron
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -155,14 +155,6 @@ outputs:
- /var/log/containers:/var/log/containers:z
environment:
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- logrotate_crond
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -244,14 +244,6 @@ outputs:
- { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/manila-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- manila_api
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- name: Check if manila_api is deployed
command: systemctl is-enabled --quiet openstack-manila-api

@ -116,14 +116,6 @@ outputs:
persistent: yes
state: yes
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- manila_scheduler
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- name: Check if manila_scheduler is deployed
command: systemctl is-enabled --quiet openstack-manila-scheduler

@ -171,14 +171,6 @@ outputs:
path: /etc/ceph
state: directory
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- manila_share
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- name: Check if manila_share is deployed
command: systemctl is-enabled --quiet openstack-manila-share

@ -171,14 +171,6 @@ outputs:
- /var/lib/config-data/memcached/etc/sysconfig/memcached:/etc/sysconfig/memcached:ro
command: ['/bin/bash', '-c', 'source /etc/sysconfig/memcached; exec /usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS']
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- memcached
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -153,11 +153,3 @@ outputs:
- { 'path': /var/log/containers/qdrouterd, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/qdrouterd, 'setype': svirt_sandbox_file_t }
metadata_settings: {}
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- qdrouterd
tripleo_container_cli: "docker"

@ -662,11 +662,3 @@ outputs:
- step|int == 1
- release == 'ocata'
- collectd_enabled|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- collectd
tripleo_container_cli: "docker"

@ -299,11 +299,3 @@ outputs:
with_items:
- { 'path': /var/log/containers/metrics-qdr, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/metrics-qdr, 'setype': svirt_sandbox_file_t }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- metrics_qdr
tripleo_container_cli: "docker"

@ -223,11 +223,3 @@ outputs:
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- mistral_api
tripleo_container_cli: "docker"

@ -144,11 +144,3 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- mistral_engine
tripleo_container_cli: "docker"

@ -119,11 +119,3 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- mistral_event_engine
tripleo_container_cli: "docker"

@ -255,11 +255,3 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- mistral_executor
tripleo_container_cli: "docker"

@ -161,11 +161,3 @@ outputs:
state: touch
setype: svirt_sandbox_file_t
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- multipathd
tripleo_container_cli: "docker"

@ -520,20 +520,6 @@ outputs:
network: {get_param: [ServiceNetMap, NeutronApiNetwork]}
type: node
- null
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
with_items:
list_concat:
- - neutron_api
- - if:
- internal_tls_enabled
- - neutron_server_tls_proxy
- null
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -448,13 +448,6 @@ outputs:
- release == 'ocata'
- neutron_dhcp_agent_enabled|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- neutron_dhcp
tripleo_container_cli: "docker"
- name: Check for neutron user
getent:
database: passwd

@ -410,13 +410,6 @@ outputs:
- release == 'ocata'
- neutron_l3_agent_enabled|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- neutron_l3_agent
tripleo_container_cli: "docker"
- name: Check for neutron user
getent:
database: passwd

@ -210,14 +210,6 @@ outputs:
persistent: yes
state: yes
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- neutron_metadata_agent
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -382,14 +382,6 @@ outputs:
regexp=".*neutron-"
state=absent
when: step|int == 5
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- neutron_ovs_agent
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -208,11 +208,3 @@ outputs:
metadata_settings:
get_attr: [NeutronBase, role_data, metadata_settings]
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- neutron_sriov_agent
tripleo_container_cli: "docker"

@ -505,15 +505,6 @@ outputs:
- nova_api
- nova_api_cron
tripleo_delegate_to: "{{ groups['nova_api'] | default([]) }}"
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_api
- nova_api_cron
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -982,14 +982,6 @@ outputs:
state: removed
ignore_errors: True
when: step|int == 2
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_compute
tripleo_container_cli: "docker"
scale_tasks:
- when: step|int == 1
tags: down

@ -219,14 +219,6 @@ outputs:
name: virt_sandbox_use_netlink
persistent: yes
state: yes
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_conductor
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -229,14 +229,6 @@ outputs:
persistent: yes
state: yes
external_post_deploy_tasks: {get_attr: [NovaComputeCommon, nova_compute_common_deploy_steps_tasks]}
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_compute
tripleo_container_cli: "docker"
fast_forward_upgrade_tasks:
- when:
- step|int == 0

@ -909,12 +909,3 @@ outputs:
type: node
- null
upgrade_tasks: []
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_virtlogd
- nova_libvirt
tripleo_container_cli: "docker"

@ -285,11 +285,3 @@ outputs:
tripleo_containers_to_stop:
- nova_metadata
tripleo_delegate_to: "{{ groups['nova_metadata'] | default([]) }}"
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_metadata
tripleo_container_cli: "docker"

@ -194,11 +194,3 @@ outputs:
fail:
msg: nova-migration-target isn't working (healtcheck failed)
when: nova_migration_target_healthcheck_state.status.ExecMainStatus != '0'
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_migration_target
tripleo_container_cli: "docker"

@ -235,14 +235,6 @@ outputs:
- step|int == 1
- release == 'ocata'
- nova_scheduler_enabled|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_scheduler
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -324,14 +324,6 @@ outputs:
- step|int == 1
- release == 'ocata'
- nova_vncproxy_enabled|bool
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- nova_vnc_proxy
tripleo_container_cli: "docker"
external_upgrade_tasks:
- when:
- step|int == 1

@ -257,12 +257,3 @@ outputs:
shell: "/usr/bin/kinit -kt /etc/krb5.keytab && ipa-getkeytab -s $(grep xmlrpc_uri /etc/ipa/default.conf | cut -d/ -f3) -p nova/{{ ansible_nodename }} -k /etc/novajoin/krb5.keytab"
args:
creates: /etc/novajoin/krb5.keytab
post_upgrade_tasks:
- when: step|int == 1
import_role:
name: tripleo-docker-rm
vars:
containers_to_rm:
- novajoin_server
- novajoin_notifier
tripleo_container_cli: "docker"