Custom Search

Monday, March 7, 2011

Eucalyptus No route to host when ssh to instance

Eucalyptus No route to host when ssh to a instance

Check your network subnets: I think you are using 192.168.1.x for the MANAGED-NOVLANS but that network is the one your machine are using. Try something different, for example 10.10.x.x. If you do such a change you have to stop all eucalyptus services (and instances) and you have to restart the cc with clean-restart.

**********1**********
* In Cluster Controller
* In /etc/eucalyptus/eucalyptus.local.conf

# network configuration from the input configuration file
VNET_MODE="MANAGED-NOVLAN"
VNET_SUBNET="172.19.0.0"
VNET_NETMASK="255.255.0.0"
VNET_DNS="125.22.47.125"
VNET_ADDRSPERNET="32"
VNET_PUBLICIPS="192.168.1.50-192.168.1.60" <------

--------- change to

# network configuration from the input configuration file
VNET_MODE="MANAGED-NOVLAN"
VNET_SUBNET="172.19.0.0"
VNET_NETMASK="255.255.0.0"
VNET_DNS="125.22.47.125"
VNET_ADDRSPERNET="32"
VNET_PUBLICIPS="10.10.5.1-10.10.5.9" <-------

**********2**********

# restart eucalyptus-cc CLEAN=1

**********3**********

root@cc-host:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:19:66:1c:4d:8c
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe1c:4d8c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5478 errors:0 dropped:0 overruns:0 frame:0
TX packets:4483 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1550033 (1.5 MB) TX bytes:1828909 (1.8 MB)
Interrupt:22 Base address:0xb800

eth0:metadata Link encap:Ethernet HWaddr 00:19:66:1c:4d:8c <------------------
inet addr:169.254.169.254 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:22 Base address:0xb800

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:57349 errors:0 dropped:0 overruns:0 frame:0
TX packets:57349 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27541581 (27.5 MB) TX bytes:27541581 (27.5 MB)


===============================

More

No comments:

Post a Comment