How to configure instance access to controller node?

asked 2014-11-01 02:26:38 -0500

D20K gravatar image

updated 2014-11-01 02:51:12 -0500

Hello, I just installed icehouse on Window 8.1 host and 3 VMware Ubuntu VMs. when I launched instance with cirros and ubuntu 14.04 cloud image, the inastance can't access to metadata server.

managed networks is 10.0.0.0/24 with VMware NAT, instance tunnel network is 10.0.1.0/24 with VMware Host Only.

Instance can access external network (192.168.0.0/24) but cannot access manages networks which metadata server exists (controller node).

How can I configure nova.conf ?

CirrOS instance

$ ifconfig

eth0      Link encap:Ethernet  HWaddr FA:16:3E:F1:AF:72
          inet addr:172.16.0.9  Bcast:172.16.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fef1:af72/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:32136 (31.3 KiB)  TX bytes:26450 (25.8 KiB)

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)

$ ping 10.0.0.11
PING 10.0.0.11 (10.0.0.11): 56 data bytes
^C
--- 10.0.0.11 ping statistics ---
30 packets transmitted, 0 packets received, 100% packet loss

$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: seq=0 ttl=63 time=3.152 ms
64 bytes from 192.168.0.1: seq=1 ttl=63 time=2.407 ms
64 bytes from 192.168.0.1: seq=2 ttl=63 time=1.973 ms
64 bytes from 192.168.0.1: seq=3 ttl=63 time=2.126 ms
^C
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.973/2.414/3.152 ms

CirrOS Console log

checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 9.87. request failed
failed 2/20: up 12.21. request failed
failed 3/20: up 14.44. request failed
failed 4/20: up 16.67. request failed
failed 5/20: up 18.84. request failed
failed 6/20: up 21.05. request failed
failed 7/20: up 23.26. request failed
failed 8/20: up 25.43. request failed
failed 9/20: up 27.61. request failed
failed 10/20: up 29.80. request failed
failed 11/20: up 32.00. request failed
failed 12/20: up 34.18. request failed
failed 13/20: up 36.36. request failed
failed 14/20: up 38.52. request failed
failed ...
(more)
edit retag flag offensive close merge delete