Adding compute node to an existing openstack environment

asked 2018-01-09 22:50:08 -0600

jcorkey gravatar image

I deployed Openstack using kolla and kolla-ansible 5.0.0. I deployed on one control node and one compute node. I would now like to add a second compute node. How do I add a second compute node to this already existing environment?

Do I add it the same way I added my first compute node by simply adding it to the multimode inventory file like below


and then run the kolla-anisble command with the reconfigure option like below

kolla-ansible -i multimode reconfigure

Is this all I need to do assuming I have already configured the second compute node to have docker running with all the required images openstack will use?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-01-10 01:32:31 -0600

Hi, to add new hosts/services should use deploy action.

kolla-ansible -i multimode deploy --tags nova --limit <host>


edit flag offensive delete link more


Ok. But before I run this do I still need to run kolla-ansible -I multinode pull So the new compute node will get all the container images put on it?

jcorkey gravatar imagejcorkey ( 2018-01-10 09:37:32 -0600 )edit

Not necessary, doing pull before deploy will make deploy faster. If not, deploy will pull as part of container creation.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2018-01-10 10:14:40 -0600 )edit

Why my kolla-ansible cannot use the option --limit?

TripleZ gravatar imageTripleZ ( 2018-09-05 04:10:42 -0600 )edit

May be an older version, it was introduced in queens if i recall correctly

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2018-09-18 04:19:29 -0600 )edit

Yep, I have checked my version is Ocata.

TripleZ gravatar imageTripleZ ( 2018-09-18 08:21:41 -0600 )edit

answered 2019-09-25 06:06:30 -0600

panticz gravatar image

updated 2019-09-25 06:08:04 -0600

  1. Add your new compute node to the inventory (e.g. /etc/kolla/inventory) to the [external-compute] section
  1. Deploy OpenStack container on compute_node_2 with kolla-ansilbe:
kolla-ansible -i multimode deploy --limit compute_node_2
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-01-09 22:50:08 -0600

Seen: 2,618 times

Last updated: Sep 25 '19