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

asked 2012-03-21 13:31:25 -0600

****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 ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-03-30 07:33:46 -0600

Vincent gravatar image

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.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-03-21 13:31:25 -0600

Seen: 85 times

Last updated: Mar 30 '12