# Why is node placement not working?

I'm deploying openstack. I have 3 nodes: 1 x controller and 2 x compute. Deployment fails because openstack tries to install the controller role onto one of the compute nodes. The reason for the failure is the difference in network adapters. I have a controller.yaml with this network defined and must be used for the controller node install however openstack deploy does not do this.

I have tried "tag" the nodes using the tripleo gui but this had no positive effect. I have also tried running "openstack baremetal node set 06149789-78d1-4eb8-ac41-d908312a912c --property capabilities='node:controller-0,boot_option:local'" but this also had no positive effect.

properties             | {u'memory_mb': u'16384', u'cpu_arch': u'x86_64', u'local_gb': u'69',    |
|                        | u'cpus': u'8', u'capabilities':                                         |
|                        | u'node:controller-0,boot_option:local,profile:control'}


How can I instruct openstack to specifically deploy the controller role onto the controller role and likewise the compute roles onto the compute nodes? This is wasting a lot of time because I dont know that the deployment will fail until it boots up after installing the nodes. It takes a good 45 minutes to get to that point and another 10 minutes to delete the deployment and re-try.

Yours sincerely, Stressed,

edit retag close merge delete

Sort by » oldest newest most voted

My guess, based on the properties I see, is that you are installing to VMs. The default install uses the "baremetal" flavor for all roles. You have to:

• Tag each node with a profile corresponding to the flavor
• Deploy the overcloud with the role assigned to the flavor

See the "Manual profile tagging" and "Using flavors to deploy" sections at https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/profile_matching.html (https://docs.openstack.org/tripleo-do...).

more

# Get to know Ask OpenStack

Resources for moderators