[Openstack] Instance can't reach dhcp or metadata

Tomasz Paszkowski ss7pro at gmail.com
Tue Apr 10 12:51:06 UTC 2012


Can you show us more configuration from openvswitch (ovs-vsctl list
bridge br100) ?

ovs-vsctl list bridge br100

On Tue, Apr 10, 2012 at 12:44 PM, Nicolas de BONFILS
<ndebonfils at gmail.com> wrote:
> Hi,
>
> I try it, and it doesn't change anything :(
> Quantum still assign an ip to the VM, but the VM still doesn't ping the dhcp
> server when it boot. I believe it's a bridge/interface problem.
>
> ---
> Nicolas
>
>
>
> On Mon, Apr 9, 2012 at 18:41, Dan Wendlandt <dan at nicira.com> wrote:
>>
>>
>>
>> On Mon, Apr 9, 2012 at 4:57 AM, Nicolas de BONFILS <ndebonfils at gmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> Thanks for the advice but I instead of using FlatManager, I use
>>> QuantumManager (network_manager=nova.network.quantum.manager.QuantumManager)
>>> Also, to be more accurate, Quantum assign an ip to my VM (I see it in
>>> horizon and in nova/quantum mysql db), but the VM doe not get it.
>>
>>
>> Hi Nicolas,
>>
>> You may be hitting a known issue with QuantumManager + DHCP + Melange:
>>https://bugs.launchpad.net/quantum/+bug/949234
>>
>> Looks like a partial fix was suggested for QuantumManager in Nova, but
>> validation ran into a possible melange issue, that ultimately was rejected,
>> without submitting the QuantumManager fix:
>>https://bugs.launchpad.net/melange/+bug/951499
>>
>> Can you try just applying the one-liner patch described in 949234 and see
>> if it solves your problem?  If so, we can get that merged in.
>>
>> Dan
>>
>>
>>>
>>>
>>> Regards
>>>
>>> ---
>>> Nicolas
>>>
>>>
>>>
>>> On Mon, Apr 9, 2012 at 13:04, <raja.meena at wipro.com> wrote:
>>>>
>>>>
>>>> Hi Nicolas,
>>>>
>>>>     You need another interface ( say eth1 UP & running ) .   Configure
>>>> br100 to use eth1 .
>>>>
>>>>
>>>>
>>>> typically your configuration will look like the below ..
>>>>
>>>>
>>>>
>>>> /etc/network/interfaces
>>>>
>>>> # This file describes the network interfaces available on your system
>>>> # and how to activate them. For more information, see interfaces(5).
>>>>
>>>> # The loopback network interface
>>>> auto lo
>>>>         iface lo inet loopback
>>>>
>>>> # The primary network interface
>>>> allow-hotplug eth0
>>>>         iface eth0 inet dhcp
>>>>
>>>> auto eth1
>>>>
>>>> auto br100
>>>>         iface br100 inet static
>>>>         bridge_ports   eth1
>>>>         address 10.0.0.1
>>>>         netmask 255.255.255.0
>>>>         bridge_stp off
>>>>         bridge_fd 0
>>>>
>>>>
>>>>
>>>> nova.conf will have the following lines too..
>>>>
>>>> --fixed_range=10.0.0.0/24
>>>> --network_size=256
>>>> --network_manager=nova.network.manager.FlatManager
>>>> --flat_interface=eth1
>>>> --flat_injected=False
>>>> --public_interface=eth0
>>>>
>>>>
>>>> Meena Raja
>>>> Consultant
>>>> __________________________________________
>>>> WIPRO TECHNOLOGIES
>>>> No 53/1 Ganapa Towers ,Near Madivala Police Station , Hosur Main Road
>>>> ,Bangalore-560068
>>>> Hand Phone : +91-9880549725 | Desk : +91-80-39912554 |Fax No:
>>>> +91-80-25502160
>>>> Email : raja.meena at wipro.com | Website : www.wipro.com
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>>
>> --
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Dan Wendlandt
>> Nicira, Inc: www.nicira.com
>> twitter: danwendlandt
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Tomasz Paszkowski
SS7, Asterisk, SAN, Datacenter, Cloud Computing
+48500166299




More information about the Openstack mailing list