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