cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Pletka <>
Subject Management IP on guest VM using public IP
Date Thu, 23 Oct 2014 23:06:03 GMT
This is probably something simple, but I can't find it.
*TLDR: how to send guests the internal IP of the management server instead
of public?*

My setup:

xx.47.90.0/24 => cloud-public => cloud-private (SAN + MGMT)

Management server: xx.47.90.4 (public IP) and (private IP)

I'm trying to run the storage server health check
(/usr/local/cloud/systemvm/ and it is failing pinging the
management server.

Good: DNS resolves
nfs is currently mounted
Management server is XX.47.90.4. Checking connectivity.
ERROR: Cannot connect to XX.47.90.4 port 8250
2014/10/23 22:51:29 socat[4617] E write(3, 0x86773c8, 1): No route to host

*The reason it is failing is it adds a default route to the Secondary
Storage server pointing that public IP at the local gateway.*  *If I
manually delete that route, the health check works*

root@s-6-VM:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface         xx.47.90.1         UG    0      0        0 eth2   U     0      0        0 eth1   U     0      0        0 eth3     U     0      0        0 eth0
xx.47.90.0   U     0      0        0 eth2
xx.47.90.4 UGH   0      0        0 eth1

The test is getting that IP from /var/cache/cloud/cmdline

root@s-6-VM:~# cat /var/cache/cloud/cmdline
root=UUID=3bbaf5c6-5317-468b-9742-0e68c65ad565 ro debian-installer=en_US
quiet -- quiet console=hvc0 template=domP type=secstorage host=XX.47.90.4
port=8250 name=s-6-VM zone=1 pod=1 guid=s-6-VM
instance=SecStorage sslcopy=false role=templateProcessor mtu=1500
eth2ip=XX.47.90.195 eth2mask= gateway=XX.47.90.1
eth0ip= eth0mask= eth1ip=
eth1mask= mgmtcidr=XX.47.90.0/24 localgw= eth3ip= eth3mask=
storageip= storagenetmask= storagegateway=
internaldns1= internaldns2= dns1=XX.47.64.201 dns2=XX.47.67.201

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message