Description of problem: After FFU from 13 to 16.1. If you try to replace controller nodes with new hardware. According to step 17.7 in https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/director_installation_and_usage/replacing-controller-nodes it requires to remove old services con controller nodes. But it failed on nova-compute Version-Release number of selected component (if applicable): RHOSP16.1 Actual results: openstack compute service list --host <controller-host-name> failed on: Unexpected API Error Expected results: openstack compute service list --host <controller-host-name> works Additional info:
Because this is getting a bit confusing, here's a summary that I'll reproduce in the other affected BZs. BZ 1986406 (this BZ): Documentation for controller replacement BZ 1990034: Documentation for FFU with Ironic as the virt driver BZ 1977667: Nova fix to allow service deletion when a service has no associated compute nodes.
@Luigi The last few comments in BZ 1977667 should have everything you need, both a hotfix build of the Nova patch, and a script to delete old services in case they don't want to update their deployment to latest z-stream before applying the hotfix. Let's continue in there if there are further issues.
To use the example from [1], specifically the `MariaDB [nova]> select * from services where version != 40;` command line, we see that the "real" services are on version 40, but they have a bunch of old services with version 30 that did not get removed. So they can run the script with a <older_than_version> anywhere between 31 and 39. That will pick up all their old version 30 services, but not their new version 40 services. Does that make sense? [1] https://bugzilla.redhat.com/show_bug.cgi?id=1977667#c1
Interesting, in that case we should back up a bit and revisit what's the original problem that we're trying to solve is.
*** Bug 2013329 has been marked as a duplicate of this bug. ***
Updated content available on the Customer Portal: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/director_installation_and_usage/replacing-controller-nodes#preparing-for-controller-replacement https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/director_installation_and_usage/replacing-controller-nodes#preparing-for-controller-replacement