Skip to content
Snippets Groups Projects
Commit f65b1f91 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "[ironic] Remove useless tasks"

parents 4ca2d417 b95de04f
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
name: name:
- ironic_api - ironic_api
- ironic_inspector - ironic_inspector
# TODO(yoctozepto): Remove ironic_ipxe entry in Zed.
- ironic_ipxe
- ironic_http - ironic_http
register: container_facts register: container_facts
...@@ -47,8 +45,6 @@ ...@@ -47,8 +45,6 @@
timeout: 1 timeout: 1
state: stopped state: stopped
when: when:
# TODO(yoctozepto): Remove ironic_ipxe entry in Zed.
- container_facts['ironic_ipxe'] is not defined
- container_facts['ironic_http'] is not defined - container_facts['ironic_http'] is not defined
- inventory_hostname in groups['ironic-http'] - inventory_hostname in groups['ironic-http']
......
...@@ -27,33 +27,8 @@ ...@@ -27,33 +27,8 @@
run_once: true run_once: true
when: not ironic_upgrade_skip_wait_check | bool when: not ironic_upgrade_skip_wait_check | bool
# TODO(yoctozepto): Remove this task in Zed.
- name: Remove old Ironic containers
become: true
kolla_docker:
action: "stop_and_remove_container"
common_options: "{{ docker_common_options }}"
name: "{{ item }}"
with_items:
# NOTE(yoctozepto): Removing conductor to avoid it
# thinking that the tftp and http servers are available.
- ironic_conductor
- ironic_pxe
- ironic_ipxe
- include_tasks: rolling_upgrade.yml - include_tasks: rolling_upgrade.yml
when: ironic_enable_rolling_upgrade | bool when: ironic_enable_rolling_upgrade | bool
- include_tasks: legacy_upgrade.yml - include_tasks: legacy_upgrade.yml
when: not ironic_enable_rolling_upgrade | bool when: not ironic_enable_rolling_upgrade | bool
# TODO(yoctozepto): Remove this task in Zed.
- name: Remove old Ironic volumes
become: true
kolla_docker:
action: "remove_volume"
common_options: "{{ docker_common_options }}"
name: "{{ item }}"
with_items:
- ironic_pxe
- ironic_ipxe
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment