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

2 answers

Sort by ยป oldest newest most voted
2

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
0

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

panticz gravatar image

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

  1. Add your new compute node to the inventory (e.g. /etc/kolla/inventory) to the [external-compute] section
[external-compute]
compute_node_2
  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

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: 1,539 times

Last updated: Sep 25