Nova-manage placement audit 'resource_provider' argument does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Unassigned |
Bug Description
Running 'nova-manage placement audit --verbose' results in various reports of orphaned resources. However, if one resource provider is selected and 'nova-manage placement --verbose --resource_provider <uuid>' is used this always indicates that the resource provider does not exist.
For example:
(nova-21.0.1) root@infra1-
Allocations were set against consumer UUID 7cbee49d-
Allocations for consumer UUID 7cbee49d-
(nova-21.0.1) root@infra1-
Resource provider with UUID 84840425-
This is caused by an '&' rather than '?' in the construction of a URL query parameter at https:/
Fixing this results in:
(nova-21.0.1) root@infra1-
Allocations were set against consumer UUID 7cbee49d-
Allocations for consumer UUID 7cbee49d-
I'll submit a patch shortly.
Changed in nova: | |
status: | New → Triaged |
tags: | added: nova-manage |
Changed in nova: | |
importance: | Undecided → Medium |
Proposed fix in https:/ /review. opendev. org/c/openstack /nova/+ /767348