Advertisement
gregmark

OpenStack or Bust, Part 8: cmpt node, before install

Mar 12th, 2013
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.85 KB | None | 0 0
  1. ###################################################
  2. ### COMPUTE BEFORE QUANTUM & OVS PKGS INSTALLED ###
  3. ###################################################
  4. -----------------------------
  5. 192.168.241.110 kvm-sn-10i
  6. -----------------------------
  7. $ ntpdate-debian 192.168.241.100
  8. 12 Mar 08:59:07 ntpdate[14046]: adjust time server 192.168.241.100 offset -0.000194 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 bc:30:5b:ef:ed:d0 brd ff:ff:ff:ff:ff:ff
  19.     inet 192.168.241.110/24 brd 192.168.241.255 scope global eth0
  20. 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  21.     link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
  22.     inet 192.168.239.110/24 brd 192.168.239.255 scope global eth1
  23. 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  24.     link/ether bc:30:5b:ef:ed:d2 brd ff:ff:ff:ff:ff:ff
  25. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  26.     link/ether bc:30:5b:ef:ed:d3 brd ff:ff:ff:ff:ff:ff
  27.  
  28. $ netstat -rn
  29. Kernel IP routing table
  30. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  31. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  32. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
  33. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  34.  
  35. $ brctl show
  36. bridge name bridge id       STP enabled interfaces
  37.  
  38. $ ping 10.0.164.1
  39. UP
  40.  
  41. $ ping 192.168.241.1
  42. UP
  43.  
  44. $ ping 192.168.239.1
  45. UP
  46.  
  47.  
  48. ##################################################
  49. ### COMPUTE AFTER QUANTUM & OVS PKGS INSTALLED ###
  50. ##################################################
  51.  
  52. -----------------------------
  53. 192.168.241.110 kvm-sn-10i
  54. -----------------------------
  55. $ ntpdate-debian 192.168.241.100
  56. 12 Mar 12:11:17 ntpdate[9926]: adjust time server 192.168.241.100 offset 0.000877 sec
  57.  
  58. $ sysctl net.ipv4.ip_forward
  59. net.ipv4.ip_forward = 1
  60.  
  61. $ ip addr show | egrep "^([0-9]| *link| *inet ")
  62. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  63.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  64.     inet 127.0.0.1/8 scope host lo
  65. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  66.     link/ether bc:30:5b:ef:ed:d0 brd ff:ff:ff:ff:ff:ff
  67.     inet 192.168.241.110/24 brd 192.168.241.255 scope global eth0
  68. 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  69.     link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
  70.     inet 192.168.239.110/24 brd 192.168.239.255 scope global eth1
  71. 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  72.     link/ether bc:30:5b:ef:ed:d2 brd ff:ff:ff:ff:ff:ff
  73. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  74.     link/ether bc:30:5b:ef:ed:d3 brd ff:ff:ff:ff:ff:ff
  75. 7: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  76.     link/ether da:4d:47:2f:98:42 brd ff:ff:ff:ff:ff:ff
  77. 8: br-eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  78.     link/ether bc:30:5b:ef:ed:d1 brd ff:ff:ff:ff:ff:ff
  79.  
  80. $ netstat -rn
  81. Kernel IP routing table
  82. Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  83. 0.0.0.0         192.168.241.1   0.0.0.0         UG        0 0          0 eth0
  84. 192.168.239.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
  85. 192.168.241.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
  86.  
  87. $ brctl show
  88. bridge name bridge id       STP enabled interfaces
  89. br-eth1     0000.bc305befedd1   no      eth1
  90. br-int      0000.da4d472f9842   no
  91.  
  92. $ ovs-vsctl show
  93. 05d6f268-a221-469a-9921-218905ca3277
  94.     Bridge br-int
  95.         Port br-int
  96.             Interface br-int
  97.                 type: internal
  98.     Bridge "br-eth1"
  99.         Port "br-eth1"
  100.             Interface "br-eth1"
  101.                 type: internal
  102.         Port "eth1"
  103.             Interface "eth1"
  104.     ovs_version: "1.4.3"
  105.  
  106. $ ping 10.0.164.1
  107. UP
  108.  
  109. $ ping 192.168.241.1
  110. UP
  111.  
  112. $ ping 192.168.239.1
  113. DOWN
  114.  
  115. ###################################################
  116. ### QUANTUM/OVS PLUGIN LOGS AFTER SERVICE START ###
  117. ###################################################
  118.  
  119. $ service quantum-plugin-openvswitch-agent restart ; tail -f /var/log/quantum/openvswitch-*.log  | egrep "INFO|ERR"
  120. quantum-plugin-openvswitch-agent stop/waiting
  121. quantum-plugin-openvswitch-agent start/running, process 15002
  122. 2013-03-12 12:22:30    ERROR [quantum.openstack.common.rpc.common] AMQP server on 192.168.241.100:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
  123. 2013-03-12 12:22:31     INFO [quantum.openstack.common.rpc.common] Reconnecting to AMQP server on 192.168.241.100:5672
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement