[Openstack] virtual machine not able to get ip address

Moiz Arif moizarif2002 at hotmail.com
Mon Sep 8 12:28:33 UTC 2014


Hi,
This happened to me once. Firstly, check neutron logs for any errors in /var/log/neutron/. If you see errors post them here.
Secondly, Verify that neutron dhcp is running. Verify that you have configured OpenStack Data Network correctly, verify VLAN/GRE (whichever applicable) configurations from physical switch and then restart neutron services on control and compute nodes. Restart the VM and it should get the IP. This worked for me. 
For further debugging you can use wireshark/tcpdump on the network interfaces/bridges on control and compute node during VM creation to see where the dhcp packet is getting dropped. 
RegardsMoiz
Date: Mon, 8 Sep 2014 17:15:28 +0530
From: srinivasreddy4390 at gmail.com
To: openstack at lists.openstack.org
Subject: [Openstack] virtual machine not able to get ip address

hi,
I have configured 3 node setup with icehouse release. able to launch to instance . the instance is in active state with no errors ..but it is not reachable . 
It is not able to get ip address .. How can i debug forther ..
 below is the Instance console logs ..  

 Sep  8 09:49:08 cirros kern.notice kernel: [    0.000000] Linux version 3.2.0-60-virtual (buildd at toyol) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #91-Ubuntu SMP Wed Feb 19 04:13:28 UTC 2014 (Ubuntu 3.2.0-60.91-virtual 3.2.55)
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000] Command line: LABEL=cirros-rootfs ro console=tty1 console=ttyS0
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000] KERNEL supported cpus:
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000]   Intel GenuineIntel
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000]   AMD AuthenticAMD
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000]   Centaur CentaurHauls
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000] BIOS-provided physical RAM map:
Sep  8 09:49:08 cirros kern.info kernel: [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Sep  8 09:49:08 cirros kern.info kernel: [    1.176020] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
Sep  8 09:49:08 cirros kern.info kernel: [    1.176074] acpiphp: Slot [3] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176084] acpiphp: Slot [4] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176093] acpiphp: Slot [5] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176101] acpiphp: Slot [6] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176110] acpiphp: Slot [7] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176118] acpiphp: Slot [8] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176127] acpiphp: Slot [9] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176136] acpiphp: Slot [10] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176145] acpiphp: Slot [11] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.176153] acpiphp: Slot [12] registered
Sep  8 09:49:08 cirros kern.info kernel: [    1.181355] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
Sep  8 09:49:08 cirros kern.info kernel: [    1.182476] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Sep  8 09:49:08 cirros kern.info kernel: [    1.183854] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
Sep  8 09:49:08 cirros kern.info kernel: [    1.187792] ip_tables: (C) 2000-2006 Netfilter Core Team
Sep  8 09:49:19 cirros kern.debug kernel: [   12.192125] eth0: no IPv6 routers present
Sep  8 09:52:48 cirros authpriv.info dropbear[295]: Running in background
############ debug end   ##############
  ____               ____  ____
 / __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \ 
\___//_//_/  /_/   \____/___/ 
   http://cirros-cloud.net


login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
cirros login: 



thanks,
srinivas.


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140908/bfcc4ed6/attachment.html>


More information about the Openstack mailing list