Ask Your Question
0

Only one compute node with packstack and existing network

asked 2014-12-02 13:51:07 -0500

Anonymouslemming gravatar image

updated 2014-12-02 14:40:31 -0500

I'm trying to create a 2-node openstack setup. I want the one host to be the controller, network and compute node and the second host to be just a compute node.

I started by doing a packstack allinone install with the external network setup as described at https://openstack.redhat.com/Neutron_... on 192.168.10.34.

I then copied off the answer file and reinstalled the host with Centos 7.

After doing that, I made the following changes to the answser file and reinstalled using packstack --answer-file packstack-answers-20141129-124340.txt. These changes were prompted by what I read at https://openstack.redhat.com/GettingS... and at https://openstack.redhat.com/Fedora_2...

 - CONFIG_NOVA_COMPUTE_HOSTS=192.168.10.34,192.168.10.122
 - CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=gre
 - CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1:1000
 - CONFIG_NEUTRON_OVS_TUNNEL_IF=br-ex
 - CONFIG_NOVA_NETWORK_HOSTS=192.168.10.34
 - CONFIG_NOVA_NETWORK_FLOATRANGE=192.168.10.128/27

After doing this and rebooting, I can connect to the dashboard on 192.168.10.34, but I only see 1 compute node / hypervisor there - 192.168.10.122.

When I did the allinone, I had a hypervisor on 192.168.10.34.

My goal is to end up with 2 hypervisors in this setup.

Can anyone point me at how I accomplish this with packstack please?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-12-03 04:52:18 -0500

DanIzack gravatar image

Correct description and reproducing RDO 2 Node deployment instructions may be found here
http://cloudssky.com/en/blog/RDO-Open...

edit flag offensive delete link more
1

answered 2014-12-02 15:41:37 -0500

dbaxps gravatar image

In answer-file provided by RDO Juno Set up Two Real Node (Controller+Compute) Gluster 3.5.2 Cluster ML2&OVS&VXLAN on CentOS 7
Make update:-

    CONFIG_CONTROLLER_HOST=192.168.1.127
    CONFIG_COMPUTE_HOSTS=192.168.1.127,192.168.1.137
    CONFIG_NETWORK_HOSTS=192.168.1.127

Next :-

packstack --answer-file=TwoNodeVXLAN.txt`

is supposed to run just once on 192.168.1.127 (Controller && Network Node&&Compute Node)
Up on the packstack completition 192.168.1.127,192.168.1.137 will both work as Compute Nodes.
Service openstack-nova-compute.service will be up and running on both nodes mentioned in answer-file.

edit flag offensive delete link more

Comments

http://bderzhavets.blogspot.co.uk/201... states that it does not install nova-compute service on Controller. Does simply adding the second IP make this happen ? If so, what's wrong with the way I've done it in my answer file shown in my question ?

Anonymouslemming gravatar imageAnonymouslemming ( 2014-12-05 08:24:12 -0500 )edit

Yes, just

CONFIG_COMPUTE_HOSTS=192.168.1.127,192.168.1.137

may include Controller, then it becomes a Compute Node, may not for production environment.

dbaxps gravatar imagedbaxps ( 2014-12-05 08:32:55 -0500 )edit

View also Andrew Law old post http://www.andrewklau.com/getting-sta...

dbaxps gravatar imagedbaxps ( 2014-12-05 08:36:11 -0500 )edit

His answer-file
https://gist.githubusercontent.com/an...

CONFIG_NOVA_COMPUTE_HOSTS=172.16.0.11,172.16.0.12
dbaxps gravatar imagedbaxps ( 2014-12-05 08:37:31 -0500 )edit

What I did is standard RDO MultiNode deployment via correct answer-file design. I learned it from Andrew Law posting a while ago, when reproduced his schema on my hosts for RDO Havana.

dbaxps gravatar imagedbaxps ( 2014-12-05 08:42:55 -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: 2014-12-02 13:51:07 -0500

Seen: 2,344 times

Last updated: Dec 03 '14