Ask Your Question
0

add a compute node in juno

asked 2014-11-20 14:16:09 -0500

patrickt33 gravatar image

So, I finally got a working install in juno on a single node, time to add a compute node, but the RDO instructions aren't working.

node-1 - Installed with packstack --allinone
em1=10.5.0.11
em2=10.50.0.11 (Private network on a separate hub)
OS Public/floating net=10.5.8.0/21
OS Private net=10.50.0.0/16

node-2
em1=10.5.0.20
em2=10.50.0.20 (Private network on a separate hub)

The documents didn't specify _where_ to run the answerfile, so I actually installed packstack on node-2 manually, copied the answer file over, made the edits and then ran packstack --answer-file=file, which did nothing. I finally realized that they meant (I think) to run it from the initial node and have it do the install on the new node. So I did that, but it never attempts to install anything on the new node. Changes I made to my answerfile:

CONFIG_NOVA_COMPUTE_HOSTS=10.5.0.11,10.5.0.20
CONFIG_NOVA_NETWORK_HOSTS=10.5.0.11
CONFIG_NOVA_COMPUTE_PRIVIF=em2
CONFIG_NOVA_NETWORK_PRIVIF=em2

I don't get it, am i misunderstanding the instructions? They're not complicated, but they also don't work. This thing just keeps apply the puppet scripts to the original node.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-20 14:25:03 -0500

dbaxps gravatar image

updated 2014-11-21 13:49:40 -0500

Please, view RDO Juno Set up Two Real Node (Controller+Compute) Gluster 3.5.2 Cluster ML2&OVS&VXLAN on CentOS 7

Actually, schema works for Multi Node Deployment (Controller+Network) Node + Compute Node (x) N via obvious update answer-file provided in post above. Setting up Gluster 3.5.2 Cluster is optional and may be skipped as well as configuration LVMiSCSI backend for Cinder, which differs from old schema on CentOS 6.5.
packstack --answer-file=TwoNodeVXLAN.txt is supposed to run on Controller Node.
Update to Controller+Network+Compute Node RDO packstack deployment is not a problem of slight answer-file modification, but I didn't test this 3 Node Classic version.
You run packstack just once on Controller with declaration of all Compute Nodes.
Regarding LVMiSCSI cinder back-end configuration Controller && Storage Nodes view :
1. http://docs.openstack.org/juno/instal...
2. http://docs.openstack.org/juno/instal...

edit flag offensive delete link more

Comments

Ok, so what is the order of events here? I'd also like all of compute hosts to be cinder hosts to take advantage of their disk spare. I'm thinking: install packstack on node-1 & node-2 configure bridge on each NIC run answer file can I just run the answer file with ALL 10 compute hosts listed?

patrickt33 gravatar imagepatrickt33 ( 2014-11-21 10:58:08 -0500 )edit

And what would need to be in the answer file to install cinder on the hosts as well? Doesn't seem to be an entry for that.

patrickt33 gravatar imagepatrickt33 ( 2014-11-21 10:58:35 -0500 )edit

You run packstack just once on Controller with declaration of all ten Compute Nodes.
1. http://docs.openstack.org/juno/instal...
2. http://docs.openstack.org/juno/instal...

dbaxps gravatar imagedbaxps ( 2014-11-21 11:47:02 -0500 )edit

The maximum cinder back-end I did was 4 node Gluster Cluster. It was post packstack-run procedure with cinder services running on Controller. Not connected with answer-file at all.

dbaxps gravatar imagedbaxps ( 2014-11-21 11:52:58 -0500 )edit

packstack answer-file is not configuring the bridge on the compute node. Grrrr.

patrickt33 gravatar imagepatrickt33 ( 2014-11-21 13:34:48 -0500 )edit
0

answered 2014-11-20 18:57:29 -0500

dgalvao gravatar image

I liked the RDO instructions for a proof of concept and for getting something up and running quickly with packstack, but I now much prefer the Openstack foundation instructions: http://docs.openstack.org/juno/instal...

I think the openstack foundation instructions take longer to follow but give you a better understanding of how all the different components work together. I've been setting up an environment and just today I deployed a second computing node, and it was very easy.

edit flag offensive delete link more

Comments

Following RDO instructions may be also viewed here http://cloudssky.com/en/blog/RDO-Open... . However, Controller, in general , is not supposed to run nova-compute. RDO Multinode deployment requires newly designed answer-file.

dbaxps gravatar imagedbaxps ( 2014-11-21 00:06:18 -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

2 followers

Stats

Asked: 2014-11-20 14:16:09 -0500

Seen: 1,125 times

Last updated: Nov 21 '14