floating ip and namespace issue
I have set up folsom Quantum based on this url (controller node/network node/compute node):
https:/
use_namespaces , allow_overlappi
nova-api is on the controller node ,and l3 and dhcp agents are on network node
Added the external router gateway(
[Able to ping the gateway address from other nodes].
I am able to launch a simple tty linux image.
I am able to ping and ssh into it through router namespace from the network node.
I still see problems:
1) The launched VM still cannot access the metadata service.
wget: can't connect to remote host (169.254.169.254): Network is unreachable
iptables rule for this set in router namespace. See below for the iptables rules.
2) Floating ip :
I am able to assign floating ip to VM. However, I can ping and ssh to it only through router namespace on the network node. I cannot access it directly from the other nodes on that network (floating ip/external network).
Any clue is appreciated.
root@network:
qdhcp-f69a3d72-
qrouter-
root@network:
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
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
qg-c2281f74-eb Link encap:Ethernet HWaddr fa:16:3e:2f:2c:97
inet addr:192.168.1.185 Bcast:192.168.1.191 Mask:255.
inet6 addr: fe80::f816:
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:9565 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:617789 (617.7 KB) TX bytes:468 (468.0 B)
qr-5ad57be7-ae Link encap:Ethernet HWaddr fa:16:3e:96:3d:83
inet addr:192.168.14.1 Bcast:192.
inet6 addr: fe80::f816:
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:22694 (22.6 KB) TX bytes:19030 (19.0 KB)
root@network:
Chain PREROUTING (policy ACCEPT 4 packets, 708 bytes)
pkts bytes target prot opt in out source destination
4 708 quantum-
no
Chain INPUT (policy ACCEPT 2 packets, 632 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 quantum-
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 quantum-
0 0 quantum-
Chain quantum-
pkts bytes target prot opt in out source destination
0 0 DNAT all -- * * 0.0.0.0/0 192.168.1.186 to:192.168.14.3
Chain quantum-
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- !qg-c2281f74-eb !qg-c2281f74-eb 0.0.0.0/0 0.0.0.0/0 ! ctstate DNAT
0 0 ACCEPT all -- * * 192.168.14.0/24 192.168.1.78
Chain quantum-
pkts bytes target prot opt in out source destination
0 0 DNAT tcp -- * * 0.0.0.0/0 169.254.169.254 tcp dpt:80 to:192.
0 0 DNAT all -- * * 0.0.0.0/0 192.168.1.186 to:192.168.14.3
Chain quantum-
pkts bytes target prot opt in out source destination
0 0 SNAT all -- * * 192.168.14.3 0.0.0.0/0 to:192.168.1.186
Chain quantum-
pkts bytes target prot opt in out source destination
0 0 quantum-
0 0 SNAT all -- * * 192.168.14.0/24 0.0.0.0/0 to:192.168.1.185
Chain quantum-
pkts bytes target prot opt in out source destination
0 0 quantum-
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask vj for more information if necessary.