7.x
Note: This is not a complete list of potential causes.
Note: The message returned is generic and further troubleshooting must be done for the root cause.
#openstack allocation candidate list --os-placement-api-version 1.10 --resource VCPU=1 --resource MEMORY_MB=2048 --resource DISK_GB=20
+---+----------------------------------+--------------------------------------+----------------------------------------------+
| # | allocation | resource provider | inventory used/capacity |
+---+----------------------------------+--------------------------------------+----------------------------------------------+
| 1 | VCPU=1,MEMORY_MB=2048,DISK_GB=20 | ########-####-####-####-############ | VCPU=3/40,MEMORY_MB=1536/36862,DISK_GB=3/699 |
+---+----------------------------------+--------------------------------------+----------------------------------------------+
[root@vioadmin1-vioshim-6dbdb59f56-mq7lb /]# openstack resource provider list
+--------------------------------------+-------------------------------------------------+------------+
| uuid | name | generation |
+--------------------------------------+-------------------------------------------------+------------+
| ########-####-####-####-############| domain-c20.########-####-####-####-############ | 6 |
+--------------------------------------+-------------------------------------------------+------------+
[root@vioadmin1-vioshim-6dbdb59f56-mq7lb /]# openstack resource provider inventory list ########-####-####-####-############
Password:
+----------------+------------------+----------+----------+-----------+----------+-------+
| resource_class | allocation_ratio | max_unit | reserved | step_size | min_unit | total |
+----------------+------------------+----------+----------+-----------+----------+-------+
| VCPU | 10.0 | 8 | 0 | 1 | 1 | 16 |
| MEMORY_MB | 1.5 | 20479 | 0 | 1 | 1 | 40958 |
| DISK_GB | 1.0 | 670 | 0 | 1 | 1 | 1199 |
+----------------+------------------+----------+----------+-----------+----------+-------+