Ask Your Question
0

Why is node placement not working?

asked 2018-02-14 01:13:45 -0500

tony.pearce gravatar image

updated 2018-02-14 04:06:05 -0500

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 flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-05-22 16:50:45 -0500

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...).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-02-14 01:13:45 -0500

Seen: 128 times

Last updated: Feb 14 '18