[Openstack] can not receive from metadata.

Takeshi Kuramochi sarah at fm.secret.jp
Fri Aug 22 14:00:45 UTC 2014


Hi All,

I have 4 nodes openstack platform.
(controller, network, compute1, compute2)

When I start an instance with cirros on compute2(nova), I saw below failed logs;

cirros-ds 'net' up at 1.12
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 1.12. request failed
failed 2/20: up 3.31. request failed
failed 3/20: up 5.49. request failed
failed 4/20: up 7.68. request failed
failed 5/20: up 9.88. request failed
failed 6/20: up 12.07. request failed
failed 7/20: up 14.26. request failed
failed 8/20: up 16.46. request failed
failed 9/20: up 18.64. request failed
failed 10/20: up 20.83. request failed
failed 11/20: up 23.01. request failed
failed 12/20: up 25.20. request failed
failed 13/20: up 27.39. request failed
failed 14/20: up 29.58. request failed
failed 15/20: up 31.77. request failed
failed 16/20: up 33.95. request failed
failed 17/20: up 36.14. request failed
failed 18/20: up 38.33. request failed
failed 19/20: up 40.52. request failed
failed 20/20: up 42.71. request failed
failed to read iid from metadata. tried 20
no results found for mode=net. up 44.90. searched: nocloud configdrive ec2
failed to get instance-id of datasource

Starting dropbear sshd: generating rsa key... generating dsa key... OK
=== system information ===
Platform: OpenStack Foundation OpenStack Nova
Container: none
Arch: x86_64
CPU(s): 1 @ 2260.984 MHz
Cores/Sockets/Threads: 1/1/1
Virt-type: VT-x
RAM Size: 491MB
Disks:
NAME MAJ:MIN       SIZE LABEL         MOUNTPOINT
vda  253:0   1073741824
vda1 253:1   1061061120 cirros-rootfs /
=== sshd host keys ===
-----BEGIN SSH HOST KEY KEYS-----
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCg0x9q84oqW1Sjofs676KZCkmSQO3jCoql6znRH0uBevMAu1LOyrHEwllO5aMX0r/VEd4ZTPfb/38/b12HhYiwNwVFiwvuyQkYXR+09eY81RncZHKaq+V8Fbtowa9rp8jypTrj8MrEseZ+BlxpHNrra9gCzHkR2rj76PiwCS8l5YSr
root at cirros
ssh-dss AAAAB3NzaC1kc3MAAACBAOMHrDHv8BuhkLpV4Y668PAyKuNjRqEIunQcXGtQzUefvwQOc8BqN6i3UAc2xfdBviuU9RHg6pAfNX305FWxFhIawB/YSditKpq/J+AyPOdz5TxqtiUrbLqyk0Hf6jWpVp6sOgQqlgYDxaNpH7pfUKnq0I1JIQA2gYXokbFZMr1DAAAAFQC8g7KeSNaW8vNjfl3pK1I17MKN7QAAAIAB2ZCrsZyBFk2Jxs5v7pP45RiZqeuEWdCR8oGYtAT72wvDQ4AK600NRuKq+ZK8tnVQFYpsTMZyShCurh5tF1tQYlNIqK73FU67Tdb6Nu5ru1GN5DebQe0cxxMtCqqbZMoUsqWhncGO32JuS88PuTO4tiXriWUXY4NBwr7ImfEapAAAAIBHRcxhVB5QyUtdTlUlMqrNJbYbqF0I2SRoCR9dnyL7lqJrW5JF4Z+hP2c8kZnT7fNbQ0GNe//1j9Yvrw8UMqXjS/RU7Q1818e3ZikCotNdxkP5eVqflsXJ/+5FraG2Dnov832xV19E7zmtxFj5IviGi2FnepID8TWQMAvAu3I7IA==
root at cirros
-----END SSH HOST KEY KEYS-----
=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,192.168.2.84,24,fe80::f816:3eff:fee9:a249
ip-route:default via 192.168.2.254 dev eth0
ip-route:192.168.2.0/24 dev eth0  src 192.168.2.84
=== datasource: None None ===
=== cirros: current=0.3.2 uptime=45.19 ===
  ____               ____  ____
 / __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/  /_/   \____/___/
   http://cirros-cloud.net


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

I was able to access to cirros by ssh , but the instance did not have
a public ssh-key.
I guess the instance can not access to metadata service. However I did
not found a solution for this failed.
What Should I check? I would like to any advice.

My environment;
 All system is ubuntu 14.04 LTS,
 Openstack :1:2014.1.1-0ubuntu1

Regards,
TK




More information about the Openstack mailing list