Red Hat Bugzilla – Bug 1265180
Error validating value u'baremetal': The Flavor ID (baremetal) could not be found
Last modified: 2016-05-16 03:02:40 EDT
Description of problem:
I'm trying to deploying using Heat templates and manual nodes tagging but it looks that I need to add the baremetal flavor even if I'm not using it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. openstack overcloud deploy --templates ~/templates/my-overcloud -e ~/templates/my-overcloud/environments/network-isolation.yaml -e ~/templates/network-environment.yaml --control-scale 1 --compute-scale 1 --swift-storage-scale 1 --control-flavor control --compute-flavor compute --swift-storage-flavor storage --ntp-server clock.redhat.com -e ~/templates/snmpd.yaml
ERROR: openstack ERROR: Parameter 'OvercloudCephStorageFlavor' is invalid: Error validating value u'baremetal': The Flavor ID (baremetal) could not be found.
Deployment would proceed as the deployed nodes are not using the baremetal flavor.
Workaround is to create the baremetal flavor.
We can probably add validation to check that any flavors needed by the deployment exist.
The undercloud install now creates a number of flavors by default, including the baremetal flavor. This should no longer be an issue.
The baremetal flavor is there by default now:
[stack@instack ~]$ openstack flavor list | grep baremetal
| a3862ee6-c59b-48af-8c7b-ab7bce484c1f | baremetal | 4096 | 40 | 0 | 1 | True |
I also do not see the error mentioned in the report.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.