issue with tripleo
Hi, I am starting out with RDO tripleo . For deployment i am using baremetal machines. one for under cloud and 2 for overcloud. So in steps it states that for overcloud deployment one has to create flavour and update its propertyfor wheather it is compute or a controller or storage. So my question is if we are using baremetal why do we need to create flavour does it not use all the computational resources itself. or is it that we can create multiple overcloud on the same baremetal and it creates some sort of vm over those baremetal via libvirt for controller or compute or storage.
Really confused. Any help would be appriciated.
Flavors in the undercloud act as a filter to make sure you use the intended nodes for specific roles. Only nodes meet or exceed the capacity defined in the flavor (e.g. vpcu/ram/etc) would be chosen.
By default, there are 6 preset flavors (control, compute, ceph, swift, block, baremetal) to correspond with default roles. You may create customized flavors and match to roles either by adding option '--[ROLE]-flavor [flavor]' when deploy overcloud, or using an environment file.
Now, to match a flavor with its intended nodes, you need to tag both the flavor and nodes with the same profile name. To tag a node:
openstack baremetal node set <UUID OR NAME> --property capabilities=profile:<PROFILE>,boot_option:local
It may look quick confusing at the beginning, but in fact all you need is to link up the roles, flavors, and nodes. Have a look at this page:
https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/profile_matching.htm