[Openstack] Instance Unreachable.

Umesh Sahoo umesh.sahoo at pramati.com
Thu Nov 14 15:21:07 UTC 2013


Hi All,

     I am unable to access instance if i create through command prompt .
Where as if i create a  instance through horizon dash board only selecting
the Internal LAN , It is creating and getting the metadata . Then i am
assign the Floating IP and able to access from outside .

   But when lunch instance through command prompt . It is create two
interface internal and External and unable to assign the IP to the instance
.

( nova boot --flavor 1 --image 28a98200-5666-4789-9ebf-6a41a707ef9b
--key-name stack --security-group default Cirros-Test)

   I am trying on Grizzly and quantum .

Here is the LOG ...

cirros-ds 'local' up at 1.28
no results found for mode=local. up 1.34. searched: nocloud configdrive ec2
Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cirros-ds 'net' up at 181.64
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 181.67. request failed
failed 2/20: up 183.79. request failed
failed 3/20: up 185.81. request failed
failed 4/20: up 187.84. request failed
failed 5/20: up 189.86. request failed
failed 6/20: up 191.88. request failed
failed 7/20: up 193.90. request failed
failed 8/20: up 195.92. request failed
failed 9/20: up 197.94. request failed
failed 10/20: up 199.97. request failed
failed 11/20: up 201.99. request failed
failed 12/20: up 204.01. request failed
failed 13/20: up 206.03. request failed
failed 14/20: up 208.06. request failed
failed 15/20: up 210.08. request failed
failed 16/20: up 212.10. request failed
failed 17/20: up 214.12. request failed
failed 18/20: up 216.14. request failed
failed 19/20: up 218.16. request failed
failed 20/20: up 220.19. request failed
failed to read iid from metadata. tried 20
no results found for mode=net. up 222.21. searched: nocloud configdrive ec2
failed to get instance-id of datasource
Starting dropbear sshd: generating rsa key... generating dsa key... OK
=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,,8,fe80::f816:3eff:fe2c:2884
if-info: eth1,down,,8,
=== datasource: None None ===
=== cirros: current=0.3.1 uptime=222.99 ===
route: fscanf
=== pinging gateway failed, debugging connection ===
############ debug start ##############
### /etc/init.d/sshd start
Starting dropbear sshd: OK
route: fscanf
### ifconfig -a
eth0      Link encap:Ethernet  HWaddr FA:16:3E:2C:28:84
          inet6 addr: fe80::f816:3eff:fe2c:2884/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:468 (468.0 B)  TX bytes:1112 (1.0 KiB)

eth1      Link encap:Ethernet  HWaddr FA:16:3E:D4:08:A6
          BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.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:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1020 (1020.0 B)  TX bytes:1020 (1020.0 B)

### route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
route: fscanf
### cat /etc/resolv.conf
cat: can't open '/etc/resolv.conf': No such file or directory
### gateway not found
/sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file
### pinging nameservers
### uname -a
Linux cirros 3.2.0-37-virtual #58-Ubuntu SMP Thu Jan 24 15:48:03 UTC
2013 x86_64 GNU/Linux
### lsmod
Module                  Size  Used by    Not tainted
nls_iso8859_1          12713  0
nls_cp437              16991  0
vfat                   17585  0
fat                    61512  1 vfat
isofs                  40257  0
ip_tables              27473  0
x_tables               29891  1 ip_tables
pcnet32                42119  0
8139cp                 27409  0
ne2k_pci               13691  0
8390                   18856  1 ne2k_pci
e1000                 108589  0
acpiphp                24231  0

   Please help me if anybody experienced on this issue .

Regards,

Umesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131114/66697438/attachment.html>


More information about the Openstack mailing list