issue with tripleo

asked 2018-09-01 02:48:03 -0500

akarki gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

codylab gravatar imagecodylab ( 2018-09-01 07:53:49 -0500 )edit

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.

codylab gravatar imagecodylab ( 2018-09-01 07:59:25 -0500 )edit

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

codylab gravatar imagecodylab ( 2018-09-01 08:09:08 -0500 )edit

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

codylab gravatar imagecodylab ( 2018-09-01 08:15:36 -0500 )edit