Ask Your Question
1

Adding compute node to existing packstack installation

asked 2017-10-16 23:11:47 -0600

lpier gravatar image

I have a network like this :

168.101.55.8 external net eth0 --- **Controller Node**
                                       | eth1
                                    10.100.100.1
                                       |
                                     **switch** --- 10.100.100.3  eth1 **Intended Compute Node**

I already have an existing installation using packstack that works and can launch instances. It itself it acting as a compute resource.

I saw the instructions here to add additional compute nodes : https://www.rdoproject.org/install/adding-a-compute-node/ (https://www.rdoproject.org/install/ad...)

Are these instructions intended to be run on the Controller Node? Or the Compute Node? It looks like they are for the Controller Node, but I find it hard to believe that the compute node can join the controller node automatically just like this.

What do I have to do on the Compute Node? Do I have to do the openstack installation?

Please bear with me, I am totally new to OpenStack..

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-10-17 19:23:32 -0600

Of course the compute node can join the controller. It's not magic.

Your job is to install the operating system on the compute node and give Packstack its IP address and root password. Packstack takes care of the rest: It uses Puppet to provision the node with the necessary Nova and Neutron components and set up the configuration files.

One of the configuration parameters is the message queue in nova.conf, for example:

transport_url = rabbit://stackrabbit:password@192.168.1.203:5672/

When nova-compute on the compute node starts up, it attempts to get in touch with the controller via the message queue. If that succeeds, the controller understands that a new node has joined. You can then see result in the service list:

openstack compute service list

By the way, it's not true that you need a second network interface to add compute nodes.

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: 2017-10-16 23:10:00 -0600

Seen: 595 times

Last updated: Oct 17 '17