Collect and verify role flavors fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic Dashboard |
New
|
Undecided
|
Unassigned |
Bug Description
I have the following flavor with custom properties.
(undercloud) [stack@service-05 ~]$ openstack flavor show baremetal
+------
| Field | Value |
+------
| OS-FLV-
| OS-FLV-
| access_project_ids | None |
| disk | 0 |
| id | fd3ab787-
| name | baremetal |
| os-flavor-
| properties | baremetal='true', resources:
| ram | 256 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+------
When I launch validation on TripleO-UI I get:
Task 'Collect and check the flavors' failed:
Host: undercloud
Message: Flavor baremetal has a resource class that is not offering exactly 1 resource
Flavor baremetal has to have scheduling based on standard properties disabled by setting resources:VCPU=0
Is it code ok? Why Maybe there is error with str/integer compare?