Document pre-created flavors

Depends-On: I5dec6dc59fb537718d5175e70fab1d9f273d686b
Change-Id: I46b9a12467bbc4105e092f2bbddb9be95f8c599f
This commit is contained in:
Ben Nemec 2015-11-30 21:46:04 +00:00
parent d2c98f34e9
commit e9e62802fb
2 changed files with 13 additions and 4 deletions

View File

@ -153,6 +153,10 @@ instead add the profile "tags" manually. The example below will add the
Create flavors to use advanced matching
---------------------------------------
Default profile flavors should have been created when the undercloud was
installed, and they will be usable without modification in most environments.
However, if custom profile flavors are needed, they can be created as follows.
In order to use the profiles assigned to the Ironic nodes, Nova needs to have
flavors that have the property "capabilities:profile" set to the intended profile.

View File

@ -243,13 +243,18 @@ Do not forget to make nodes available for deployment afterwards::
ironic node-set-provision-state UUID provide
Create Flavors
Flavor Details
--------------
Create the necessary flavor::
The undercloud will have a number of default flavors created at install time.
In most cases these flavors do not need to be modified, but they can be if
desired. By default, all overcloud instances will be booted with the
``baremetal`` flavor, so all baremetal nodes must have at least as much
memory, disk, and cpu as that flavor.
openstack flavor create --id auto --ram 4096 --disk 40 --vcpus 1 baremetal
openstack flavor set --property "cpu_arch"="x86_64" --property "capabilities:boot_option"="local" baremetal
In addition, there are profile-specific flavors created which can be used with
the profile-matching feature of Ironic. For more details on deploying with
profiles, see :doc:`../advanced_deployment/profile_matching`.
Configure a nameserver for the Overcloud
----------------------------------------