Advertisement
skoude

Untitled

Mar 11th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. Full problem..
  2.  
  3. No instance is getting no ip from dhcp..
  4. For example in compute1 node we have an instance
  5.  
  6.  
  7. The control2-nodes qdhcp contains tap4d7c36fc-03 -interface:
  8. root@d0c-c4-7a-63-51-a4:~ # virsh list
  9. Id Nimi Tila
  10. ----------------------------------------------------
  11. 2 instance-00000321 suoritetaan
  12.  
  13. root@d0c-c4-7a-63-51-a4:~ #
  14.  
  15. that instance eth0 nic mac address is: fa:16:3e:76:fa:fc
  16. and it is using this interface in control1:
  17. root@d0c-c4-7a-63-51-a4:~ # virsh dumpxml instance-00000321 |grep tap
  18. <target dev='tapb8776726-32'/>
  19. root@d0c-c4-7a-63-51-a4:~ # ip link | grep tapb8776726-32
  20. 23: tapb8776726-32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbrb8776726-32 state UNKNOWN mode DEFAULT group default qlen 500
  21.  
  22.  
  23.  
  24. So we do a tcpdump on control1, we get:
  25. tcpdump -i any port 67 or port 68
  26. 55.bootps: BOOTP/DHCP, Request from 00:0c:29:91:d9:37 (oui Unknown), length 300
  27. 13:04:49.078206 ethertype IPv4, IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0c:29:91:d9:37 (oui Unknown), length 300
  28. 13:04:49.078206 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0c:29:91:d9:37 (oui Unknown), length 300
  29. 13:04:49.078224 ethertype IPv4, IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0c:29:91:d9:37 (oui Unknown), length 300
  30. 13:04:49.078224 ethertype IPv4, IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0c:29:91:d9:37 (oui Unknown), length 300
  31. 13:04:49.078224 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:0c:29:91:d9:37 (oui Unknown), length 300
  32.  
  33. So the packet definitely comes to compute1 -node.
  34.  
  35. And on the control2-node we get nothing:
  36. tcpdump -i any port 67 or port 68
  37. 13:04:28.349940 IPX 0000ffff.ff:ff:00:44:00:43.0134 > 01480000.00:00:80:11:39:96.0000: ipx-#0 2018
  38. 13:04:31.436442 IPX 0000ffff.ff:ff:00:44:00:43.0134 > 01480000.00:00:80:11:39:96.0000: ipx-#0 2018
  39. 13:04:35.244406 IPX 0000ffff.ff:ff:00:44:00:43.0134 > 01480000.00:00:80:11:39:96.0000: ipx-#0 2018
  40. 13:04:42.821894 IPX 0000ffff.ff:ff:00:44:00:43.0134 > 01480000.00:00:80:11:39:96.0000: ipx-#0 2018
  41. 13:05:02.364502 IPX 0000ffff.ff:ff:00:44:00:43.0134 > 01480000.00:00:80:11:39:96.0000: ipx-#0 2018
  42. 13:05:10.422371 IPX 0000ffff.ff:ff:00:44:00:43.0134 > 01480000.00:00:80:11:39:96.0000: ipx-#0 2018
  43.  
  44.  
  45. So the problem must be that the packet is newer coming to control2-node.
  46.  
  47. Then if we take a look at the control2-nodes interfaces:
  48. root@d0c-c4-7a-1f-0a-28:~ # ip netns
  49. qdhcp-ec7001fa-2582-45c2-8fb0-6dd00a741b63
  50. qrouter-d99cffe0-5ac5-413d-8f57-be1c2dc63787
  51.  
  52.  
  53. And then we take a look at the qdhcp:
  54. root@d0c-c4-7a-1f-0a-28:~ # ip netns exec qdhcp-ec7001fa-2582-45c2-8fb0-6dd00a741b63 ip a
  55. 19: tap4d7c36fc-03: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  56. link/ether fa:16:3e:19:7f:f2 brd ff:ff:ff:ff:ff:ff
  57. inet 172.20.5.52/20 brd 172.20.15.255 scope global tap4d7c36fc-03
  58. inet 169.254.169.254/16 brd 169.254.255.255 scope global tap4d7c36fc-03
  59. inet6 fe80::f816:3eff:fe19:7ff2/64 scope link
  60. valid_lft forever preferred_lft forever
  61. 20: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  62. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  63. inet 127.0.0.1/8 scope host lo
  64. inet6 ::1/128 scope host
  65. valid_lft forever preferred_lft forever
  66.  
  67. showing just the ovs-vsctl show, and if we check the tap4d7c36fc-03 interface it has tag:4095 which cannot be correct (or?), see: https://ask.openstack.org/en/question/62098/dhcp-request-does-not-reach-tapxxx-qdhcp-xxx-network-interface/
  68. on others, deleting and recreating the instance networks have solved the problem.
  69.  
  70. Bridge br-int
  71. fail_mode: secure
  72. Port "tap4d7c36fc-03"
  73. tag: 4095
  74. Interface "tap4d7c36fc-03"
  75. type: internal
  76. Port br-int
  77. Interface br-int
  78. type: internal
  79. Port "qr-dee24233-26"
  80. tag: 1
  81. Interface "qr-dee24233-26"
  82. type: internal
  83.  
  84.  
  85. So should we delete the instance networks in neutron and run neutron bar clamps again, so that it will create them again? The problem cannot be the physical switches, because everything worked before updates on thustday and no changes to switches or posts have been made. We just run zypper dup on nodes.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement