Bug 2320143

Summary: OS Placement not included
Product: [Fedora] Fedora EPEL Reporter: justin.lamp96
Component: python-openstackclientAssignee: Joel Capitao <jcapitao>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: jcapitao, openstack-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description justin.lamp96 2024-10-21 10:29:11 UTC
Description of problem:

Unfortunately the placement osc part is not included and no seperate package is provided. This makes the subcommand `openstack resource provider list` unavailable, which is needed in many cases to inspect traits and allocations. An addition of that package would be very welcome, thank you.

Version-Release number of selected component (if applicable):
Any

How reproducible:
100%

Steps to Reproduce:

```
dnf in python3-openstackclient
openstack resource provider list
```

Actual results:

-> `openstack: 'resource provider list' is not an openstack command. See 'openstack --help'.`

Expected results:

```
$ openstack allocation candidate list --resource VCPU=1
+---+------------+-------------------------+-------------------------+
| # | allocation | resource provider       | inventory used/capacity |
+---+------------+-------------------------+-------------------------+
| 1 | VCPU=1     | 66bcaca9-9263-45b1-a569 | VCPU=0/128              |
|   |            | -ea708ff7a968           |                         |
+---+------------+-------------------------+-------------------------+
```

Additional info:

https://opendev.org/openstack/osc-placement