Bug 1841011 - [DDF] please review 8. + 9. +10.
Summary: [DDF] please review 8. + 9. +10.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 16.0 (Train)
Hardware: All
OS: All
medium
unspecified
Target Milestone: ---
: ---
Assignee: Irina
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On: 1788336 1849166 1946835 2002099
Blocks: 1768678 2023628
TreeView+ depends on / blocked
 
Reported: 2020-05-28 06:55 UTC by Direct Docs Feedback
Modified: 2022-06-13 15:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-13 15:35:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-1888 0 None None None 2021-12-17 11:05:40 UTC
Red Hat Knowledge Base (Solution) 5393161 0 None None None 2020-09-11 18:41:12 UTC

Description Direct Docs Feedback 2020-05-28 06:55:36 UTC
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

Comment 3 Archit Modi 2020-06-10 12:55:47 UTC
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 |
+--------------------------------------+------------------------+------------+

Comment 4 Archit Modi 2020-06-10 13:38:57 UTC
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 |
+--------------------------------------+------------------------+------------+


Note You need to log in before you can comment on or make changes to this bug.