[ironic] Remove useless tasks
They served us well in Yoga but they are no longer needed in Zed. This also avoids the early deletion of the ironic-conductor, making it really roll. Change-Id: I9bc85d894b5bf947ac8fca505df446b99b0bb99b
This commit is contained in:
@@ -11,8 +11,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
|
||||||
|
|
||||||
@@ -46,8 +44,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 @@
|
|||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user