Instance fails to spawn in RHEL

Asked by R. Krishna Kumar

We are trying to launch instances through openstack. We have installed openstack (2011.3-dev) on RHEL 6.1. After following the installation steps mentioned, we tried to launch instances through the euca-run-instances command. The machine went from scheduling state to networking state where it failed with the message:

Failed to add interface: device br100 is a bridge device itself; can't enslave a bridge device to a bridge device.

We searched the internet for configuring the network ports in the RHEL machine with no luck. Can somebody give us the contents of ifcfg-br100, ifcfg-eth0 and ifcfg-eth1 (if present). Following are the files we used:

/etc/nova/nova.conf:
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--state_path=/var/lib/nova
--lock_path=/var/lib/nova/tmp
--verbose=false
--logdir=/var/log/nova
--ec2_url=http://127.0.0.1:8773/services/Cloud
--s3_host=127.0.0.1
--cc_host=127.0.0.1
--rabbit_host=127.0.0.1
--sql_connection=mysql://nova:nova@127.0.0.1/nova
--auth_driver=nova.auth.dbdriver.DbDriver
--network_manager=nova.network.manager.FlatManager
--flat_network_bridge=br100
--bridge_interface=br100
--flat_injected=true
--flat_network_dhcp_start=192.168.1.2
--public_interface=eth0
--fixed_range=192.168.1.0/25
--network_size=255
--scheduler_driver=nova.scheduler.zone.ZoneScheduler
--node_availability_zone=novaRHEL
--image_service=nova.image.glance.GlanceImageService
--glance_api_servers=127.0.0.1:9292
--connection_type=vmwareapi
--vmwareapi_host_ip=10.207.228.71
--vmwareapi_host_username=root
--vmwareapi_host_password=Openstack@123
--vmwareapi_wsdl_loc=http://127.0.0.1:8080/wsdl/vim25/vimService.wsdl

/etc/sysconfig/network-scripts/ifcfg-br100
DEVICE=br100
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.1
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
TYPE=Bridge

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
NM_CONTROLLED="yes"
ONBOOT="yes"
HWADDR=00:0C:29:FE:8A:88
TYPE=Ethernet
NAME="System eth0"
#UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=10.207.230.43
PREFIX=22
GATEWAY="10.207.228.1"
NETMASK="255.255.252.0"
DNS1="10.201.50.100"

/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
NM_CONTROLLED=no
ONBOOT=yes
BRIDGE=br100

Any help would be highly appreciated.

Thanks.

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
Vish Ishaya (vishvananda) said :
#1

> --bridge_interface=br100

should be set to an actual interface. You will probably have to change the value of the interface in networks table as well. Use eth0 or something along those lines.

On Jan 30, 2012, at 10:35 PM, R. Krishna Kumar wrote:

> New question #186371 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/186371
>
> We are trying to launch instances through openstack. We have installed openstack (2011.3-dev) on RHEL 6.1. After following the installation steps mentioned, we tried to launch instances through the euca-run-instances command. The machine went from scheduling state to networking state where it failed with the message:
>
> Failed to add interface: device br100 is a bridge device itself; can't enslave a bridge device to a bridge device.
>
> We searched the internet for configuring the network ports in the RHEL machine with no luck. Can somebody give us the contents of ifcfg-br100, ifcfg-eth0 and ifcfg-eth1 (if present). Following are the files we used:
>
> /etc/nova/nova.conf:
> --dhcpbridge_flagfile=/etc/nova/nova.conf
> --dhcpbridge=/usr/bin/nova-dhcpbridge
> --state_path=/var/lib/nova
> --lock_path=/var/lib/nova/tmp
> --verbose=false
> --logdir=/var/log/nova
> --ec2_url=http://127.0.0.1:8773/services/Cloud
> --s3_host=127.0.0.1
> --cc_host=127.0.0.1
> --rabbit_host=127.0.0.1
> --sql_connection=mysql://nova:nova@127.0.0.1/nova
> --auth_driver=nova.auth.dbdriver.DbDriver
> --network_manager=nova.network.manager.FlatManager
> --flat_network_bridge=br100
> --bridge_interface=br100
> --flat_injected=true
> --flat_network_dhcp_start=192.168.1.2
> --public_interface=eth0
> --fixed_range=192.168.1.0/25
> --network_size=255
> --scheduler_driver=nova.scheduler.zone.ZoneScheduler
> --node_availability_zone=novaRHEL
> --image_service=nova.image.glance.GlanceImageService
> --glance_api_servers=127.0.0.1:9292
> --connection_type=vmwareapi
> --vmwareapi_host_ip=10.207.228.71
> --vmwareapi_host_username=root
> --vmwareapi_host_password=Openstack@123
> --vmwareapi_wsdl_loc=http://127.0.0.1:8080/wsdl/vim25/vimService.wsdl
>
> /etc/sysconfig/network-scripts/ifcfg-br100
> DEVICE=br100
> BOOTPROTO=static
> ONBOOT=yes
> IPADDR=192.168.1.1
> NETMASK=255.255.255.0
> BROADCAST=192.168.1.255
> TYPE=Bridge
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE="eth0"
> BOOTPROTO="static"
> NM_CONTROLLED="yes"
> ONBOOT="yes"
> HWADDR=00:0C:29:FE:8A:88
> TYPE=Ethernet
> NAME="System eth0"
> #UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
> IPADDR=10.207.230.43
> PREFIX=22
> GATEWAY="10.207.228.1"
> NETMASK="255.255.252.0"
> DNS1="10.201.50.100"
>
> /etc/sysconfig/network-scripts/ifcfg-eth1
> DEVICE=eth1
> NM_CONTROLLED=no
> ONBOOT=yes
> BRIDGE=br100
>
> Any help would be highly appreciated.
>
> Thanks.
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Can you help with this problem?

Provide an answer of your own, or ask R. Krishna Kumar for more information if necessary.

To post a message you must log in.