Comment 2 for bug 1798823

Revision history for this message
Matt Riedemann (mriedem) wrote :

Fixed in this change: https://review.openstack.org/#/c/611883/

stack@train:~/devstack$ openstack --os-placement-api-version 1.10 allocation candidate list --resource VCPU
Arguments to --resource must be of form <resource_class>=<value>
stack@train:~/devstack$ openstack --os-placement-api-version 1.10 allocation candidate list --resource VCPU=2
+---+------------+--------------------------------------+-------------------------+
| # | allocation | resource provider | inventory used/capacity |
+---+------------+--------------------------------------+-------------------------+
| 1 | VCPU=2 | 9a153de3-8e14-4d85-acba-6ea669fb9057 | VCPU=0/128 |
+---+------------+--------------------------------------+-------------------------+
stack@train:~/devstack$