Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Only one compute node with packstack and existing network

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_with_existing_external_network 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/GettingStartedIcehouse_w_GRE and at https://openstack.redhat.com/Fedora_20_with_existing_network

  • 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?

Only one compute node with packstack and existing network

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_with_existing_external_network 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/GettingStartedIcehouse_w_GRE and at https://openstack.redhat.com/Fedora_20_with_existing_network

  • 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
 - 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?