Failing to launch a instance in two node setup in Ubuntu 11.10 [ devstack]

Asked by NAVEEN REDDY

***************TWO NODE SETUP WITH DEVSTACK*************

Ubuntu 11.10,two-node install

=========================================================
                  CONTROLLER NODE
=========================================================

----------
nova.conf
----------

[DEFAULT]
verbose=True
auth_strategy=keystone
allow_resize_to_same_host=True
root_helper=sudo /usr/local/bin/nova-rootwrap
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
dhcpbridge_flagfile=/etc/nova/nova.conf
fixed_range=10.0.0.0/24
s3_host=192.168.2.210
s3_port=3333
network_manager=nova.network.manager.VlanManager
volume_group=nova-volumes
volume_name_template=volume-%08x
iscsi_helper=tgtadm
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
my_ip=192.168.2.210
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
sql_connection=mysql://root:secret@localhost/nova
libvirt_type=kvm
instance_name_template=instance-%08x
novncproxy_base_url=http://192.168.2.210:6080/vnc_auto.html
xvpvncproxy_base_url=http://192.168.2.210:6081/console
vncserver_listen=127.0.0.1
vncserver_proxyclient_address=127.0.0.1
api_paste_config=/etc/nova/api-paste.ini
image_service=nova.image.glance.GlanceImageService
ec2_dmz_host=192.168.2.210
rabbit_host=localhost
rabbit_password=secret
glance_api_servers=192.168.2.210:9292
force_dhcp_release=True
multi_host=True
send_arp_for_ha=True
connection_type=libvirt
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

-----------
localrc
-----------

HOST_IP=192.168.2.210
FLAT_INTERFACE=eth0
FIXED_RANGE=10.0.0.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=10.0.1.128/28
MULTI_HOST=${MULTI_HOST:-True}
MYSQL_PASSWORD=secret
RABBIT_PASSWORD=secret
SERVICE_TOKEN=secret
SERVICE_PASSWORD=secret
ADMIN_PASSWORD=secret
LOGFILE=stack.sh.log
NET_MAN=${NET_MAN:-VlanManager}

---------------------------
Services on Controller Node
----------------------------

stack@neelakantam-System-Product-Name:~/dev/devstack$ euca-describe-availability-zones verbose
AVAILABILITYZONE nova available
AVAILABILITYZONE |- neelakantam-System-Product-Name
AVAILABILITYZONE | |- nova-compute enabled :-) 2012-03-21 11:22:33
AVAILABILITYZONE | |- nova-cert enabled :-) 2012-03-21 11:22:39
AVAILABILITYZONE | |- nova-volume enabled :-) 2012-03-21 11:22:40
AVAILABILITYZONE | |- nova-network enabled :-) 2012-03-21 11:22:33
AVAILABILITYZONE | |- nova-scheduler enabled :-) 2012-03-21 11:22:33
AVAILABILITYZONE | |- nova-consoleauth enabled :-) 2012-03-21 11:22:38
AVAILABILITYZONE |- naveen-System-Product-Name
AVAILABILITYZONE | |- nova-compute enabled :-) 2012-03-21 11:22:24

********************************************************
                  COMPUTE NODE
********************************************************

------------
nova.conf
------------

[DEFAULT]
verbose=True
auth_strategy=keystone
allow_resize_to_same_host=True
root_helper=sudo /usr/local/bin/nova-rootwrap
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
dhcpbridge_flagfile=/etc/nova/nova.conf
fixed_range=10.0.0.0/24
s3_host=192.168.2.209
s3_port=3333
network_manager=nova.network.manager.VlanManager
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
my_ip=192.168.2.209
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
sql_connection=mysql://root:secret@192.168.2.210/nova
libvirt_type=kvm
instance_name_template=instance-%08x
novncproxy_base_url=http://192.168.2.210:6080/vnc_auto.html
xvpvncproxy_base_url=http://192.168.2.210:6081/console
vncserver_listen=192.168.2.210
vncserver_proxyclient_address=127.0.0.1
api_paste_config=/etc/nova/api-paste.ini
image_service=nova.image.glance.GlanceImageService
ec2_dmz_host=192.168.2.209
rabbit_host=192.168.2.210
rabbit_password=secret
glance_api_servers=192.168.2.210:9292
force_dhcp_release=True
connection_type=libvirt
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

---------
localrc
---------

HOST_IP=192.168.2.209
FLAT_INTERFACE=eth0
FIXED_RANGE=10.0.0.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=10.0.1.128/28
MULTI_HOST=${MULTI_HOST:-False}
MYSQL_PASSWORD=secret
RABBIT_PASSWORD=secret
SERVICE_TOKEN=secret
SERVICE_PASSWORD=secret
ADMIN_PASSWORD=secret
LOGFILE=stack.sh.log
ENABLED_SERVICES=n-cpu
GLANCE_HOSTPORT=192.168.2.210:9292
KEYSTONE_HOST=192.168.2.210
MYSQL_HOST=192.168.2.210
RABBIT_HOST=192.168.2.210
s3_host=192.168.2.210
NET_MAN=${NET_MAN:-VlanManager}

___________________________________________________
after running info.sh in devstack/tools directory

git|glance|master[086e4f3]
git|keystone|master[885f8d5]
git|nova|master[5bd6b53]
git|python-keystoneclient|master[77742d7]
git|python-novaclient|master[3d9a228]
os|vendor=Ubuntu
os|release=11.10
pkg|pep8|0.6.1-2ubuntu1
pkg|pylint|0.23.0-1
pkg|python-pip|1.0-1
pkg|screen|4.0.3-14ubuntu8
pkg|unzip|6.0-4ubuntu1
pkg|wget|1.12-3.1ubuntu1
pkg|psmisc|22.14-1
pkg|git-core|1:1.7.5.4-1
pkg|lsof|4.81.dfsg.1-1build1
pkg|openssh-server|1:5.8p1-7ubuntu1
pkg|vim-nox|2:7.3.154+hg~74503f6ee649-2ubuntu3
pkg|locate|4.4.2-1ubuntu3
pkg|python-virtualenv|1.6.4-0ubuntu1
pkg|python-unittest2|0.5.1-1
pkg|iputils-ping|3:20101006-1
pkg|wget|1.12-3.1ubuntu1
pkg|curl|7.21.6-3ubuntu3.2
pkg|tcpdump|4.1.1-2ubuntu2
pkg|euca2ools|2.0.0~bzr464-0ubuntu2
pkg|lvm2|2.02.66-4ubuntu3
pkg|open-iscsi|2.0.871-0ubuntu9
pkg|open-iscsi-utils|2.0.871-0ubuntu9
pkg|dnsmasq-base|2.57-1ubuntu1
pkg|kpartx|0.4.9-2ubuntu1
pkg|parted|2.3-6ubuntu3
pkg|mysql-server|5.1.61-0ubuntu0.11.10.1
pkg|python-mysqldb|1.2.3-0ubuntu1
pkg|python-xattr|0.6-1ubuntu2
pkg|python-lxml|2.3-0.1build1
pkg|kvm|1:84+dfsg-0ubuntu16+0.14.1+noroms+0ubuntu6.2
pkg|gawk|1:3.1.8+dfsg-0.1build1
pkg|iptables|1.4.10-1ubuntu1
pkg|ebtables|2.0.9.2-2
pkg|sqlite3|3.7.7-2ubuntu2
pkg|sudo|1.7.4p6-1ubuntu2
pkg|kvm|1:84+dfsg-0ubuntu16+0.14.1+noroms+0ubuntu6.2
pkg|libvirt-bin|0.9.2-4ubuntu15.2
pkg|vlan|1.9-3ubuntu3.1
pkg|curl|7.21.6-3ubuntu3.2
pkg|rabbitmq-server|2.5.0-1ubuntu2
pkg|socat|1.7.1.3-1.1ubuntu1
pkg|python-mox|0.5.3-1ubuntu4
pkg|python-paste|1.7.5.1-4ubuntu1
pkg|python-migrate|0.7.1-1
pkg|python-gflags|1.5.1-1
pkg|python-greenlet|0.3.1-1ubuntu4
pkg|python-libvirt|0.9.2-4ubuntu15.2
pkg|python-libxml2|2.7.8.dfsg-4ubuntu0.2
pkg|python-routes|1.12.3-1
pkg|python-netaddr|0.7.5-4
pkg|python-pastedeploy|1.5.0-2
pkg|python-eventlet|0.9.15-0ubuntu4
pkg|python-cheetah|2.4.4-2ubuntu1
pkg|python-carrot|0.10.7-0ubuntu1
pkg|python-tempita|0.5.1-1
pkg|python-sqlalchemy|0.6.8-1
pkg|python-suds|0.4.1-2
pkg|python-lockfile|1:0.8-2
pkg|python-m2crypto|0.20.1+dfsg1-1.1ubuntu1
pkg|python-boto|2.0-0ubuntu1
pkg|python-kombu|1.0.4-2
pkg|python-feedparser|5.0.1-1
pkg|python-iso8601|0.1.4-1
pip|django-nose-selenium|0.7.3
pip|pycrypto|2.3
pip|python-cloudfiles|1.7.9.3
pip|passlib|1.5.3
localrc|ENABLED_SERVICES=n-cpu
localrc|FIXED_NETWORK_SIZE=256
localrc|FIXED_RANGE=10.0.0.0/24
localrc|FLAT_INTERFACE=eth0
localrc|FLOATING_RANGE=10.0.1.128/28
localrc|GLANCE_HOSTPORT=192.168.2.210:9292
localrc|HOST_IP=192.168.2.209
localrc|KEYSTONE_HOST=192.168.2.210
localrc|LOGFILE=stack.sh.log
localrc|MULTI_HOST=${MULTI_HOST:-False}
localrc|MYSQL_HOST=192.168.2.210
localrc|NET_MAN=${NET_MAN:-VlanManager}
localrc|RABBIT_HOST=192.168.2.210
localrc|s3_host=192.168.2.210
localrc|SERVICE_TOKEN=secret
-------------------------------------------------

When we are trying to launch instance, it failing to create a instance.

We are trying in a two node setup

Thanks,
Naveen Reddy

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
NAVEEN REDDY (naveen-kuna) said :
#1
Revision history for this message
Vincent Hou (houshengbo) said :
#2

Hi Naveen,
This is your configuration.
network_manager=nova.network.manager.VlanManager
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0

How many NICs do you have?
I have only one. If I had, it would have been much easier. I am doing similar things and encountered the similar problems. By modifying the stack.sh script. I made sure the configuration both on the two physical nodes is like:
network_manager=nova.network.manager.FlatDHCPManager
public_interface=eth0
vlan_interface=br100
flat_network_bridge=br100
flat_interface=br100

Then I can successfully launch the instances. However, VMs can only be pinged from the node where it is launched. If you want to ping or ssh them from outside, associate them with the floating ip. If you have two NICs, set flat_interface=eth1(the other NIC) will be fine.

Please let me know your latest progress on it.

Can you help with this problem?

Provide an answer of your own, or ask NAVEEN REDDY for more information if necessary.

To post a message you must log in.