Cleanup Nova, Glance, NovaIronic services from undercloud while upgrading it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Rabi Mishra |
Bug Description
As of Wallaby/OSP17 Nova/NovaIronic and Glance are no longer used on undercloud.
Keeping these services/containers around breaks upgrades
Changed in tripleo: | |
assignee: | nobody → Bogdan Dobrelya (bogdando) |
importance: | Undecided → Critical |
status: | New → In Progress |
tags: | added: upgrade wallaby-backport-potential |
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master) | #1 |
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (master) | #2 |
Related fix proposed to branch: master
Review: https:/
Bogdan Dobrelya (bogdando) wrote : | #3 |
The issue looks deeper than that.
There is more of leftovers, like mistral_
That means that we would have way more of init-like (one-time) containers to clean up for as well...
Perhaps a better solution would be for FFU to empty that container-
Or maybe make container manager smarter to detect old configs by managed_by instead of the enabled or not status of a service? See https:/
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master) | #4 |
Related fix proposed to branch: master
Review: https:/
Jose Luis Franco (jfrancoa) wrote : | #5 |
When having a look at the logs, it seems that container_
2022-02-01 08:36:59 | 2022-02-01 08:36:59.021577 | 52540022-
2022-02-01 08:36:59 | 2022-02-01 08:36:59.458809 | | WARNING | Config change detected for mistral_
2022-02-01 08:36:59 | 2022-02-01 08:36:59.459957 | | WARNING | Config change detected for nova_compute, new hash: dc6ad63723e5243
2022-02-01 08:36:59 | 2022-02-01 08:36:59.460475 | | WARNING | Config change detected for nova_wait_
2022-02-01 08:36:59 | 2022-02-01 08:36:59.460925 | | WARNING | Config change detected for haproxy, new hash: ba24f4565442b12
2022-02-01 08:36:59 | 2022-02-01 08:36:59.461402 | | WARNING | Config change detected for memcached, new hash: 99ca38a19cba9d0
2022-02-01 08:36:59 | 2022-02-01 08:36:59.461817 | | WARNING | Config change detected for rabbitmq, new hash: ad6edc0348579d9
2022-02-01 08:36:59 | 2022-02-01 08:36:59.462293 | | WARNING | Config change detected for rabbitmq_bootstrap, new hash: ad6edc0348579d9
2022-02-01 08:36:59 | 2022-02-01 08:36:59.462761 | | WARNING | Config change detected for mysql, new hash: 74e7556d5754c52
2022-02-01 08:36:59 | 2022-02-01 08:36:59.463186 | | WARNING | Config change detected for mysql_bootstrap, new hash: 74e7556d5754c52
2022-02-01 08:36:59 | 2022-02-01 08:36:59.463628 | | WARNING | Config change detected for mysql_upgrade_db, new hash: 74e7556d5754c52
2022-02-01 08:36:59 | 2022-02-01 08:36:59.464044 | | WARNING | Config change detected for ironic_db_sync, new hash: 75b79c11bdb2202
2022-02-01 08:36:59 | 2022-02-01 08:36:59.464493 | | WARNING | Config change detected for ironic_
2022-02-01 08:36:59 | 2022-02-01 08:36:59.464956 | | WARNING | Config change detected for iscsid, new hash: 9e0c4e70b6156e3
2022-02-01 08:36:59 | 2022-02-01 08:36:59.465399 | | WARNING | Config change detected for keystone, new hash: 8930d0d1a5cc77a
2022-02-01 08:36:59 | 2022-02-01 08:36:59.465821 | | WARNING | Config change detected for keystone_cron, new hash: 8930d0d1a5cc77...
Bogdan Dobrelya (bogdando) wrote : | #6 |
@Jose It happens because its _find func matches all configs by the path matching a json pattern
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master) | #7 |
Change abandoned by "Bogdan Dobrelya <email address hidden>" on branch: master
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (master) | #8 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a3c8ecf325b3b00
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Feb 1 10:50:06 2022 +0100
Deprecate and unwire enable_nova UC option
Since Wallaby Nova services aren't required in the Undercloud,
therefore deprecate the enable_nova flag from the undercloud.conf.
The undercloud-
to the deployment command, even if enable_nova is set in the config.
Related-bug: #1959662
Change-Id: I29e1b1b6ad1b5b
Signed-off-by: Bogdan Dobrelya <email address hidden>
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master) | #9 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 17004426aef236d
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Feb 1 12:37:09 2022 +0100
Drop Nova and NovaJoin services from UC role data
As of Wallaby, Nova service no longer in use on Undercloud.
Keeping these in roles data waste container prepare cycles
and the registry space for unused container images.
Depends-On: https:/
Change-Id: I36367b58d43347
Related-bug: #1959662
Signed-off-by: Bogdan Dobrelya <email address hidden>
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (stable/wallaby) | #10 |
Related fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (stable/wallaby) | #11 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 9fd8583f306413f
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Feb 1 10:50:06 2022 +0100
Deprecate and unwire enable_nova UC option
Since Wallaby Nova services aren't required in the Undercloud,
therefore deprecate the enable_nova flag from the undercloud.conf.
The undercloud-
to the deployment command, even if enable_nova is set in the config.
Related-bug: #1959662
Change-Id: I29e1b1b6ad1b5b
Signed-off-by: Bogdan Dobrelya <email address hidden>
(cherry picked from commit a3c8ecf325b3b00
tags: | added: in-stable-wallaby |
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master) | #12 |
Related fix proposed to branch: master
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/wallaby) | #13 |
Related fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : | #14 |
Related fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master) | #15 |
Fix proposed to branch: master
Review: https:/
Changed in tripleo: | |
assignee: | Bogdan Dobrelya (bogdando) → Rabi Mishra (rabi) |
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/wallaby) | #16 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 5499a0760ad950e
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Feb 1 12:37:09 2022 +0100
Drop Nova and NovaJoin services from UC role data
As of Wallaby, Nova service no longer in use on Undercloud.
Keeping these in roles data waste container prepare cycles
and the registry space for unused container images.
Depends-On: https:/
Change-Id: I36367b58d43347
Related-bug: #1959662
Signed-off-by: Bogdan Dobrelya <email address hidden>
(cherry picked from commit 17004426aef236d
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/wallaby) | #17 |
Change abandoned by "Jose Luis Franco <email address hidden>" on branch: stable/wallaby
Review: https:/
Reason: Handled in https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/wallaby) | #18 |
Fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/wallaby) | #19 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 36b2175afb1243e
Author: rabi <email address hidden>
Date: Tue Feb 8 08:38:24 2022 +0530
Remove old per step startup configs
There may be cases where certain steps may not exist after
removal of services during update/upgrade. As we recreate
the startup configs per step every time, let's clean all.
If we need to archive old configs we can backup docker_config.yaml
which can be done in a separate THT patch.
Change-Id: I200865bfd03aa6
Closes-bug: #1959662
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master) | #20 |
Change abandoned by "Jose Luis Franco <email address hidden>" on branch: master
Review: https:/
Reason: Fixed by https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (master) | #21 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 487f127b70d846d
Author: rabi <email address hidden>
Date: Tue Feb 8 08:38:24 2022 +0530
Remove old per step startup configs
There may be cases where certain steps may not exist after
removal of services during update/upgrade. As we recreate
the startup configs per step every time, let's clean all.
If we need to archive old configs we can backup docker_config.yaml
which can be done in a separate THT patch.
Change-Id: I200865bfd03aa6
Closes-bug: #1959662
Changed in tripleo: | |
status: | In Progress → Fix Released |
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master) | #22 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 219817528f9665e
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Feb 1 11:28:15 2022 +0100
Remove Nova from undercloud during upgrades
Note that one-off init containers should be removed as well.
Related-bug: #1959662
Change-Id: I9380cc4c62acc6
Signed-off-by: Bogdan Dobrelya <email address hidden>
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/victoria) | #23 |
Fix proposed to branch: stable/victoria
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/ussuri) | #24 |
Fix proposed to branch: stable/ussuri
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train) | #25 |
Fix proposed to branch: stable/train
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/victoria) | #26 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit f48f29034a803f3
Author: rabi <email address hidden>
Date: Tue Feb 8 08:38:24 2022 +0530
Remove old per step startup configs
There may be cases where certain steps may not exist after
removal of services during update/upgrade. As we recreate
the startup configs per step every time, let's clean all.
If we need to archive old configs we can backup docker_config.yaml
which can be done in a separate THT patch.
Change-Id: I200865bfd03aa6
Closes-bug: #1959662
(cherry picked from commit 36b2175afb1243e
tags: | added: in-stable-victoria |
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/ussuri) | #27 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 7bd05fa05582a96
Author: rabi <email address hidden>
Date: Tue Feb 8 08:38:24 2022 +0530
Remove old per step startup configs
There may be cases where certain steps may not exist after
removal of services during update/upgrade. As we recreate
the startup configs per step every time, let's clean all.
If we need to archive old configs we can backup docker_config.yaml
which can be done in a separate THT patch.
Change-Id: I200865bfd03aa6
Closes-bug: #1959662
(cherry picked from commit 36b2175afb1243e
tags: | added: in-stable-ussuri |
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/train) | #28 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit fa2967f710cb010
Author: rabi <email address hidden>
Date: Tue Feb 8 08:38:24 2022 +0530
Remove old per step startup configs
There may be cases where certain steps may not exist after
removal of services during update/upgrade. As we recreate
the startup configs per step every time, let's clean all.
If we need to archive old configs we can backup docker_config.yaml
which can be done in a separate THT patch.
Change-Id: I200865bfd03aa6
Closes-bug: #1959662
(cherry picked from commit 36b2175afb1243e
tags: | added: in-stable-train |
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 4.2.0 | #29 |
This issue was fixed in the openstack/
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible ussuri-eol | #30 |
This issue was fixed in the openstack/
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 2.6.0 | #31 |
This issue was fixed in the openstack/
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/wallaby) | #32 |
Related fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/wallaby) | #33 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 2f21e680690487b
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Feb 1 11:28:15 2022 +0100
Remove Nova from undercloud during upgrades
Note that one-off init containers should be removed as well.
Related-bug: #1959662
Change-Id: I9380cc4c62acc6
Signed-off-by: Bogdan Dobrelya <email address hidden>
(cherry picked from commit 219817528f9665e
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible train-eol | #34 |
This issue was fixed in the openstack/
Related fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- heat-templates/ +/827260
Review: https:/