← Back to team overview

openstack team mailing list archive

Re: nova-network no ip for vm

 

Hi,

The problem was nbd module. I installed it and now it good.

Date: Thu, 25 Apr 2013 02:47:39 -0700
From: gabriel_staicu@xxxxxxxxx
Subject: Re: [Openstack] nova-network no ip for vm
To: arindam@xxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx

Hi,
What I would do now it to make a tcpdum on interface br100 to look for the bootpc packets that the port receives and sends.Also here from your paste of "ifconfig -a" I don't see the bridge interface...
Regards,Gabriel
        From: Arindam Choudhury <arindam@xxxxxxxx>
 To: Staicu Gabriel <gabriel_staicu@xxxxxxxxx>; openstack <openstack@xxxxxxxxxxxxxxxxxxx> 
 Sent: Thursday, April 25, 2013 12:17 PM
 Subject: RE: [Openstack] nova-network no ip for vm
   



Hi,

Thanks for your reply.

Here is the logs from /var/log/messages:

Apr 25 11:14:40 aopcso1 kernel: [589256.953753] device vnet0 entered promiscuous mode
Apr 25 11:14:40 aopcso1 kernel: [589257.014414] br100: port 2(vnet0) entering forwarding state
Apr 25 11:14:40 aopcso1 kernel: [589257.014430] br100: port 2(vnet0) entering forwarding state
Apr 25 11:14:55 aopcso1 kernel: [589272.014705] br100: port 2(vnet0) entering forwarding state

and the logs from /var/log/syslog:

Apr 25 11:14:07 aopcso1 dnsmasq[12485]: direcciónes /etc/hosts - 23 leídas
Apr 25 11:14:07 aopcso1 dnsmasq-dhcp[12485]: read /var/lib/nova/networks/nova-br100.conf
Apr 25 11:14:39 aopcso1 NetworkManager[3980]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/vnet0, iface: vnet0)
Apr 25 11:14:39 aopcso1 NetworkManager[3980]:    SCPlugin-Ifupdown: device added (path:
 /sys/devices/virtual/net/vnet0, iface: vnet0): no ifupdown configuration found.
Apr 25 11:14:39 aopcso1 NetworkManager[3980]: <warn> /sys/devices/virtual/net/vnet0: couldn't determine device driver; ignoring...
Apr 25 11:14:40 aopcso1 kernel: [589256.953753] device vnet0 entered promiscuous mode
Apr 25 11:14:40 aopcso1 kernel: [589257.014414] br100: port 2(vnet0) entering forwarding state
Apr 25 11:14:40 aopcso1 kernel: [589257.014430] br100: port 2(vnet0) entering forwarding state
Apr 25 11:14:44 aopcso1 ntpd[4796]: Listen normally on 67 vnet0 fe80::fc16:3eff:fe8a:f597 UDP 123
Apr 25 11:14:44 aopcso1 ntpd[4796]: peers refreshed
Apr 25 11:14:50 aopcso1 kernel: [589267.164541] vnet0: no IPv6 routers present
Apr 25 11:14:55 aopcso1 kernel: [589272.014705] br100: port 2(vnet0) entering forwarding state




Date: Thu, 25 Apr
 2013 01:53:02 -0700
From: gabriel_staicu@xxxxxxxxx
Subject: Re: [Openstack] nova-network no ip for vm
To: arindam@xxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx

Hi,
A place to look for eventually error messages is also /var/log/messages. Look for dnsmasq related message and post them here.
Regards,Gabriel
        From: Arindam Choudhury <arindam@xxxxxxxx>
 To: openstack <openstack@xxxxxxxxxxxxxxxxxxx> 
 Sent: Thursday, April 25, 2013
 11:10 AM
 Subject: [Openstack] nova-network no ip for vm
   



Hi,

I am really stuck, any help will be highly appreciated.

I installed a two node openstack deployment on debian wheezy:

# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-network     aopcach                              internal         enabled    :-)   2013-04-25
 08:05:18
nova-cert        aopcach                              internal         enabled    :-)   2013-04-25 08:05:18
nova-conductor   aopcach                              internal         enabled    :-)   2013-04-25 08:05:18
nova-consoleauth aopcach                              internal        
 enabled    :-)   2013-04-25 08:05:18
nova-scheduler   aopcach                              internal         enabled    :-)   2013-04-25 08:05:18
nova-network     aopcso1                              internal         enabled    :-)   2013-04-25 08:05:15
nova-compute     aopcso1                             
 nova             enabled    :-)   2013-04-25 08:05:15

# nova-manage network list
id       IPv4                  IPv6               start address      DNS1               DNS2               VlanID             project            uuid           
1        192.168.100.0/24      None          
     192.168.100.2      8.8.4.4            None               None               None               5f6a8ef4-7003-48f8-8922-5303f37d0ce8

But when boot up a vm(the cirros from the tutorial), it dont get any ip.

Starting network...
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
WARN: /etc/rc3.d/S40network failed

### ifconfig a
eth0      Link encap:Ethernet  HWaddr FA:16:3E:CD:3B:97  
          inet6 addr: fe80::f816:3eff:fecd:3b97/64 Scope:Link
          UP
 BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1361 errors:0 dropped:6 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:159974 (156.2 KiB)  TX bytes:902 (902.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

In controller or compute node the nova-network.log does not generate any logging of events.

on the horizon I dont have any network listing.



 		 	   		  

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


     		 	   		  


     		 	   		  

References