Ask Your Question
0

Havana——network node, tap and qr not exist

asked 2013-12-31 04:12:24 -0500

seraphboy gravatar image

updated 2013-12-31 04:14:06 -0500

Hi, I have 3 nodes: controller, network and compute. Horizon shows the instance created on compute node can get fixed ip, but when i check the instance there is no ip. I found the tap and qr in network node is not exist, like this:

root@network:~# ovs-vsctl list-ports br-int
int-br-eth2
qr-f3e85bb9-a3
taped456e1c-3a
root@network:~# tcpdump -i qr-f3e85bb9-a3  -n
tcpdump: qr-f3e85bb9-a3: No such device exists
(SIOCGIFHWADDR: No such device)
root@network:~# tcpdump -i taped456e1c-3a  -n
tcpdump: taped456e1c-3a: No such device exists
(SIOCGIFHWADDR: No such device)

I use ip a , and it shows no device tap or qr. this is something else, 172.31.9.0 is external net, 10.30.30.0 is internal net.

root@network:~# ip netns
qrouter-cedcc6c6-5066-496f-9a1a-0bc58100acd0
qdhcp-1f78c47c-10f3-46a8-a1f1-4a714c6b30d2
root@network:~# ip netns exec qrouter-cedcc6c6-5066-496f-9a1a-0bc58100acd0 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.31.9.1      0.0.0.0         UG    0      0        0 qg-03ebdc72-9e
10.30.30.0      0.0.0.0         255.255.255.0   U     0      0        0 qr-f3e85bb9-a3
172.31.9.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-03ebdc72-9e
root@network:~# ip netns exec qdhcp-1f78c47c-10f3-46a8-a1f1-4a714c6b30d2 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.30.30.1      0.0.0.0         UG    0      0        0 taped456e1c-3a
10.30.30.0      0.0.0.0         255.255.255.0   U     0      0        0 taped456e1c-3a

in the compute node, everything seems right.

root@compute:~# ovs-vsctl list-ports br-int
int-br-eth2
tap3137070e-66
tap5fcc0004-3f
root@compute:~# tcpdump -i tap5fcc0004-3f  -n
tcpdump: WARNING: tap5fcc0004-3f: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap5fcc0004-3f, link-type EN10MB (Ethernet), capture size 65535 bytes

anyone knows how to continue on ?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-12-31 11:00:13 -0500

SamYaple gravatar image

Testing with the Cirros image, it will boot up and send out a DHCP request. Listen for that request on both the compute node and neutron. See where it is being stopped. Also turning on verbose (and possibly debug) in neutron will help in reading the logs for an issue.

edit flag offensive delete link more

Comments

Thanks, SamYaple, i'll try it

seraphboy gravatar imageseraphboy ( 2014-01-06 22:41:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-31 04:12:24 -0500

Seen: 213 times

Last updated: Dec 31 '13