[Openstack] Quantum/Melange: Unable to reach VM via ssh (Was : melange IPAM allocating .0, .1 addresses)

Mandar Vaze mandar.vaze at vertex.co.in
Wed Mar 28 06:18:55 UTC 2012


Troy,

Thanks for your help.

`melange policy create -t {tennant} name={block_name} desc={policy_name}`
                                               (This should return the policy_id for the next command)
`melange unusable_ip_octet create -t {tennant} policy_id={policy_id} octet=0`
`melange unusable_ip_octet create -t {tennant} policy_id={policy_id} octet=1`
`melange ip_block update -t {tennant} id={block_id} policy_id={policy_id}`

The above commands helped in IP allocation to start from .2
Now I am unable to reach the VM via ssh  (I faced this problem even earlier, but then I thought it could be because mélange was giving out the gateway IP address to a VM)
When I use nova-ipam, ssh seems to work.

Here are the output from some commands I tried :

mandar at ubuntu-dev-mandar:~$ ssh -i mandar-kp.pem cirros at 10.0.0.3
ssh: connect to host 10.0.0.3 port 22: No route to host

mandar at ubuntu-dev-mandar:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.2.3.1        0.0.0.0         UG    100    0        0 eth0
10.0.0.0        *               255.255.255.0   U     0      0        0 gw-b827909d-3f
localnet        *               255.255.255.0   U     0      0        0 eth0
192.168.122.0   *               255.255.255.0   U     0      0        0 virbr0

mandar at ubuntu-dev-mandar:~$ tracepath 10.0.0.3
1:  10.0.0.1                                              0.117ms pmtu 1500
1:  10.0.0.1                                            3000.362ms !H
     Resume: pmtu 1500

mandar at ubuntu-dev-mandar:~$ ifconfig gw-b827909d-3f
gw-b827909d-3f Link encap:Ethernet  HWaddr fa:16:3e:51:1a:34
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe51:1a34/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:972 (972.0 B)

Are there additional steps for setting up quantum/mélange ? All I did after running stack.sh were the commands you listed above - to exclude 0 and 1 octets.

Thanks,
-Mandar

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


More information about the Openstack mailing list