please review 8. + 9. +10. 8. service does not exist 9. agents cant be deleted 10. cmd does not work Reported by: marc.mergehenn https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/director_installation_and_usage/scaling-overcloud-nodes#annotations:c872a8e0-eed3-4822-91f7-95b4cb26d84f
Closing this as cannot reproduce and insufficient data from reporter: Ensure python3-osc-placement is installed 8. service exists as shown (overcloud) [stack@undercloud-0 ~]$ openstack compute service list +--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+ | 42a39c9e-a28a-417b-ad54-99b5a2e16d3e | nova-conductor | controller-0.redhat.local | internal | enabled | up | 2020-06-10T12:49:42.000000 | | 712573c5-20be-414f-84ee-c8c0b813756a | nova-scheduler | controller-0.redhat.local | internal | enabled | up | 2020-06-10T12:49:49.000000 | | de3c0e4d-3bcc-46bf-9166-70971d6d480b | nova-compute | compute-0.redhat.local | nova | enabled | up | 2020-06-10T12:49:45.000000 | | 03525686-0217-4818-b635-1007c4857e0b | nova-compute | compute-1.redhat.local | nova | enabled | up | 2020-06-10T12:49:42.000000 | +--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+ 9. same, service exists (overcloud) [stack@undercloud-0 ~]$ openstack network agent list +--------------------------------------+----------------------+---------------------------+-------------------+-------+-------+-------------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+----------------------+---------------------------+-------------------+-------+-------+-------------------------------+ | 79362159-1532-4473-b4cf-295ac7970cb9 | OVN Controller agent | compute-0.redhat.local | n/a | :-) | UP | ovn-controller | | 49991374-00fa-4d70-9dc1-598e9c4c83d9 | OVN Metadata agent | compute-0.redhat.local | n/a | :-) | UP | networking-ovn-metadata-agent | | a0eeb079-4fe1-4bb0-be14-0a57a0c487ce | OVN Controller agent | compute-1.redhat.local | n/a | :-) | UP | ovn-controller | | 2cee6616-96c5-4bd8-89e9-12416e663a3d | OVN Metadata agent | compute-1.redhat.local | n/a | :-) | UP | networking-ovn-metadata-agent | | 8b8b2933-9ab1-4740-9358-fcabf5b4b88e | OVN Controller agent | controller-0.redhat.local | n/a | :-) | UP | ovn-controller | +--------------------------------------+----------------------+---------------------------+-------------------+-------+-------+-------------------------------+ 10. command works, reporter should check if they have the python3-osc-placement package installed (overcloud) [stack@undercloud-0 ~]$ openstack resource provider list +--------------------------------------+------------------------+------------+ | uuid | name | generation | +--------------------------------------+------------------------+------------+ | 802571da-de4d-4852-830c-431568c86421 | compute-0.redhat.local | 5 | | 9d9192ac-244e-48c6-b32d-1ec3fc1aeabd | compute-1.redhat.local | 6 | +--------------------------------------+------------------------+------------+
OKay, after testing the actual scale down, I found the below results and the DDF seems valid removed compute-0 from the stack 8. compute-0 service does not exist- so we probably don't need this step (overcloud) [stack@undercloud-0 ~]$ openstack compute service list +--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+ | 42a39c9e-a28a-417b-ad54-99b5a2e16d3e | nova-conductor | controller-0.redhat.local | internal | enabled | up | 2020-06-10T13:29:42.000000 | | 712573c5-20be-414f-84ee-c8c0b813756a | nova-scheduler | controller-0.redhat.local | internal | enabled | up | 2020-06-10T13:29:40.000000 | | 03525686-0217-4818-b635-1007c4857e0b | nova-compute | compute-1.redhat.local | nova | enabled | up | 2020-06-10T13:29:42.000000 | +--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+ 9. cannot delete agent, need input (overcloud) [stack@undercloud-0 ~]$ openstack network agent list +--------------------------------------+----------------------+---------------------------+-------------------+-------+-------+-------------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+----------------------+---------------------------+-------------------+-------+-------+-------------------------------+ | 79362159-1532-4473-b4cf-295ac7970cb9 | OVN Controller agent | compute-0.redhat.local | n/a | XXX | UP | ovn-controller | | 49991374-00fa-4d70-9dc1-598e9c4c83d9 | OVN Metadata agent | compute-0.redhat.local | n/a | XXX | UP | networking-ovn-metadata-agent | | a0eeb079-4fe1-4bb0-be14-0a57a0c487ce | OVN Controller agent | compute-1.redhat.local | n/a | :-) | UP | ovn-controller | | 2cee6616-96c5-4bd8-89e9-12416e663a3d | OVN Metadata agent | compute-1.redhat.local | n/a | :-) | UP | networking-ovn-metadata-agent | | 8b8b2933-9ab1-4740-9358-fcabf5b4b88e | OVN Controller agent | controller-0.redhat.local | n/a | :-) | UP | ovn-controller | +--------------------------------------+----------------------+---------------------------+-------------------+-------+-------+-------------------------------+ (overcloud) [stack@undercloud-0 ~]$ openstack network agent delete 79362159-1532-4473-b4cf-295ac7970cb9 Failed to delete network agent with ID '79362159-1532-4473-b4cf-295ac7970cb9': BadRequestException: 400: Client Error for url: http://10.0.0.148:9696/v2.0/agents/79362159-1532-4473-b4cf-295ac7970cb9, Bad agent request: OVN agents cannot be deleted. 1 of 1 network agents failed to delete. (overcloud) [stack@undercloud-0 ~]$ openstack network agent delete 49991374-00fa-4d70-9dc1-598e9c4c83d9 Failed to delete network agent with ID '49991374-00fa-4d70-9dc1-598e9c4c83d9': BadRequestException: 400: Client Error for url: http://10.0.0.148:9696/v2.0/agents/49991374-00fa-4d70-9dc1-598e9c4c83d9, Bad agent request: OVN agents cannot be deleted. 1 of 1 network agents failed to delete. 10.resource does not exist-so we probably don't need this step also (overcloud) [stack@undercloud-0 ~]$ openstack resource provider list +--------------------------------------+------------------------+------------+ | uuid | name | generation | +--------------------------------------+------------------------+------------+ | 9d9192ac-244e-48c6-b32d-1ec3fc1aeabd | compute-1.redhat.local | 6 | +--------------------------------------+------------------------+------------+
Updated content is available on the Customer Portal: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/director_installation_and_usage/assembly_scaling-overcloud-nodes#proc_removing-or-replacing-a-compute-node_scaling-overcloud-nodes