Ask Your Question
1

Adding compute node to an existing openstack environment

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

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

[compute]
openstackcompute1
openstackcompute2

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

1 answer

Sort by ยป oldest newest most voted
1

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

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

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

Regards

edit flag offensive delete link more

Comments

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 -0500 )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 -0500 )edit

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

TripleZ gravatar imageTripleZ ( 2018-09-05 04:10:42 -0500 )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 -0500 )edit

Yep, I have checked my version is Ocata.

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

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-01-09 22:50:08 -0500

Seen: 574 times

Last updated: Jan 10