Activity log for bug #1936278

Date Who What changed Old value New value Message
2021-07-15 02:24:30 Takashi Kajinami bug added bug
2021-07-15 02:28:49 OpenStack Infra nova: status New In Progress
2021-07-15 02:35:16 Takashi Kajinami nova: assignee Takashi Kajinami (kajinamit)
2021-07-15 03:06:17 Takashi Kajinami description Description =========== nova-mange placement audit command always fails because the target resource provider is not found ~~~ # nova-manage placement audit --resource_provider dbba1bf7-6e97-4dcb-8d4c-37fe36633358 --verbose Resource provider with UUID dbba1bf7-6e97-4dcb-8d4c-37fe36633358 does not exist. Error: non zero exit code: 127: OCI runtime error ~~~ However the resource provider record actually exists in Placement. ~~~ (overcloud) [stack@undercloud-0 ~]$ openstack resource provider list --uuid dbba1bf7-6e97-4dcb-8d4c-37fe36633358 --os-placement-api-version 1.14 +--------------------------------------+------------------------+------------+--------------------------------------+----------------------+ | uuid | name | generation | root_provider_uuid | parent_provider_uuid | +--------------------------------------+------------------------+------------+--------------------------------------+----------------------+ | dbba1bf7-6e97-4dcb-8d4c-37fe36633358 | compute-0.redhat.local | 28 | dbba1bf7-6e97-4dcb-8d4c-37fe36633358 | None | +--------------------------------------+------------------------+------------+--------------------------------------+----------------------+ ~~~ Looking at placement access log, the command is sending request with &uuid=<uuid> instead of ?uuid=<uuid> ~~~ 2021-07-15 02:02:28.101 24 INFO placement.requestlog [req-a9d4942e-411a-4901-b05e-98ec1239ef70 31e1d736a759444f92346daf932243ff 91063c94413548b695edc6a0ef1f1252 - default default] 172.17.1.24 "GET /placement/resource_providers&uuid=dbba1bf7-6e97-4dcb-8d4c-37fe36633358" status: 404 len: 162 microversion: 1.14 ~~~ Steps to reproduce ================== - Look up existing resource provider uuid $ openstack resource provider list - Run audit command with one of the ids specified $ nova-manage placement audit --resource_provider <rp id> Expected result =============== The command succeeds without error Actual result ============= The command fails with the following error Resource provider with UUID <id> does not exist. Environment =========== This issue was initially found in the following downstream bug. https://bugzilla.redhat.com/show_bug.cgi?id=1982485 Logs & Configs ============== N/A Description =========== nova-mange placement audit command always fails if --resource_provider option is used because the target resource provider is not found ~~~ # nova-manage placement audit --resource_provider dbba1bf7-6e97-4dcb-8d4c-37fe36633358 --verbose Resource provider with UUID dbba1bf7-6e97-4dcb-8d4c-37fe36633358 does not exist. Error: non zero exit code: 127: OCI runtime error ~~~ However the resource provider record actually exists in Placement. ~~~ (overcloud) [stack@undercloud-0 ~]$ openstack resource provider list --uuid dbba1bf7-6e97-4dcb-8d4c-37fe36633358 --os-placement-api-version 1.14 +--------------------------------------+------------------------+------------+--------------------------------------+----------------------+ | uuid | name | generation | root_provider_uuid | parent_provider_uuid | +--------------------------------------+------------------------+------------+--------------------------------------+----------------------+ | dbba1bf7-6e97-4dcb-8d4c-37fe36633358 | compute-0.redhat.local | 28 | dbba1bf7-6e97-4dcb-8d4c-37fe36633358 | None | +--------------------------------------+------------------------+------------+--------------------------------------+----------------------+ ~~~ Looking at placement access log, the command is sending request with &uuid=<uuid> instead of ?uuid=<uuid> ~~~ 2021-07-15 02:02:28.101 24 INFO placement.requestlog [req-a9d4942e-411a-4901-b05e-98ec1239ef70 31e1d736a759444f92346daf932243ff 91063c94413548b695edc6a0ef1f1252 - default default] 172.17.1.24 "GET /placement/resource_providers&uuid=dbba1bf7-6e97-4dcb-8d4c-37fe36633358" status: 404 len: 162 microversion: 1.14 ~~~ Steps to reproduce ================== - Look up existing resource provider uuid  $ openstack resource provider list - Run audit command with one of the ids specified  $ nova-manage placement audit --resource_provider <rp id> Expected result =============== The command succeeds without error Actual result ============= The command fails with the following error Resource provider with UUID <id> does not exist. Environment =========== This issue was initially found in the following downstream bug.  https://bugzilla.redhat.com/show_bug.cgi?id=1982485 Logs & Configs ============== N/A
2021-07-29 13:25:23 Stephen Finucane nova: importance Undecided Medium
2021-07-30 13:25:56 OpenStack Infra nova: status In Progress Fix Released
2021-08-20 21:56:08 OpenStack Infra tags in-stable-wallaby
2021-09-03 19:37:01 OpenStack Infra tags in-stable-wallaby in-stable-victoria in-stable-wallaby
2021-10-07 17:04:23 Elod Illes nominated for series nova/wallaby
2021-10-07 17:04:23 Elod Illes bug task added nova/wallaby
2021-10-07 17:05:43 Elod Illes nova/wallaby: status New Fix Released
2021-10-07 17:10:41 Elod Illes nominated for series nova/victoria
2021-10-07 17:10:41 Elod Illes bug task added nova/victoria
2021-10-07 17:11:29 Elod Illes nova/victoria: status New Fix Released
2021-10-20 00:01:53 OpenStack Infra tags in-stable-victoria in-stable-wallaby in-stable-ussuri in-stable-victoria in-stable-wallaby