Advertisement
gregmark

OpenStack or Bust, Part 8: cmpt node FIXED

Mar 13th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.34 KB | None | 0 0
  1. #############################
  2. ### COMPUTE NODE POST-FIX ###
  3. #############################
  4. -----------------------------
  5. 192.168.241.99 knet-sn-01i
  6. -----------------------------
  7. $ ntpdate-debian 192.168.241.100
  8. 12 Mar 12:28:42 ntpdate[4053]: adjust time server 192.168.241.100 offset 0.000130 sec
  9.  
  10. $ sysctl net.ipv4.ip_forward
  11. net.ipv4.ip_forward = 1
  12.  
  13. $ ip addr show | egrep "^([0-9]| *link| *inet ")
  14. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  15.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  16.     inet 127.0.0.1/8 scope host lo
  17. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  18.     link/ether 3c:d9:2b:fa:aa:94 brd ff:ff:ff:ff:ff:ff
  19.     inet 192.168.241.99/24 brd 192.168.241.255 scope global eth0
  20. 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  21.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  22. 4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  23.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  24. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  25.     link/ether 3c:d9:2b:fa:aa:9a brd ff:ff:ff:ff:ff:ff
  26. 6: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  27.     link/ether 3c:d9:2b:fa:aa:96 brd ff:ff:ff:ff:ff:ff
  28.     inet 192.168.239.99/24 brd 192.168.239.255 scope global br-eth1
  29. 7: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  30.     link/ether 6a:e8:e4:ac:82:42 brd ff:ff:ff:ff:ff:ff
  31. 8: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  32.     link/ether 3c:d9:2b:fa:aa:98 brd ff:ff:ff:ff:ff:ff
  33.     inet 10.0.165.92/22 brd 10.0.167.255 scope global br-ex
  34. 11: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  35.     link/ether f2:56:6c:e0:f5:01 brd ff:ff:ff:ff:ff:ff
  36. 12: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  37.     link/ether aa:cc:85:a4:bd:3b brd ff:ff:ff:ff:ff:ff
  38.  
  39. $ netstat -rn
  40. Kernel IP routing table
  41. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  42. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  43. 10.0.164.0     0.0.0.0         255.255.252.0   U         0 0          0 br-ex
  44. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 br-eth1
  45. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  46.  
  47. $ brctl show
  48. bridge name     bridge id          STP enabled     interfaces
  49. br-eth1          0000.3cd92bfaaa96     no          eth1
  50.                                    phy-br-eth1
  51. br-ex          0000.3cd92bfaaa98     no          eth2
  52. br-int          0000.6ae8e4ac8242     no          int-br-eth1
  53.  
  54. $ ovs-vsctl show
  55. d9e95f94-241a-4b0b-967e-934c9a8bc645
  56.     Bridge "br-eth1"
  57.         Port "phy-br-eth1"
  58.             Interface "phy-br-eth1"
  59.         Port "eth1"
  60.             Interface "eth1"
  61.         Port "br-eth1"
  62.             Interface "br-eth1"
  63.                 type: internal
  64.     Bridge br-int
  65.         Port "int-br-eth1"
  66.             Interface "int-br-eth1"
  67.         Port br-int
  68.             Interface br-int
  69.                 type: internal
  70.     Bridge br-ex
  71.         Port "eth2"
  72.             Interface "eth2"
  73.         Port br-ex
  74.             Interface br-ex
  75.                 type: internal
  76.     ovs_version: "1.4.3"
  77.  
  78. $ ping 10.0.164.1
  79. UP
  80.  
  81. $ ping 192.168.241.1
  82. UP
  83.  
  84. $ ping 192.168.239.1
  85. UP
  86.  
  87.  
  88. #####################################################
  89. ### QUANTUM/OVS PLUGIN LOGS AFTER SERVICE RESTART ###
  90. #####################################################
  91.  
  92. $ service quantum-plugin-openvswitch-agent restart ; tail -f /var/log/quantum/openvswitch-*.log  | egrep "INFO|ERR"
  93. quantum-plugin-openvswitch-agent stop/waiting
  94. quantum-plugin-openvswitch-agent start/running, process 14987
  95. 2013-03-12 12:51:24     INFO [quantum.common.config] Logging enabled!
  96. 2013-03-12 12:51:24     INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Bridge mappings: {'physnet1': 'br-eth1'}
  97. 2013-03-12 12:51:24     INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on 192.168.241.100:5672
  98. 2013-03-12 12:51:24     INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent initialized successfully, now running...
  99. 2013-03-12 12:51:24     INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent out of sync with plugin!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement