Advertisement
gregmark

Broken Openstack

Feb 20th, 2013
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 14.28 KB | None | 0 0
  1. CONTROLLER:
  2.  
  3. root@kcon-cs-gen-01i:~# quantum net-list
  4. +--------------------------------------+--------------+--------------------------------------+
  5. | id                                   | name         | subnets                              |
  6. +--------------------------------------+--------------+--------------------------------------+
  7. | 654a49a3-f042-45eb-a937-0dcd6fcaa84c | ext_net      | 842a2baa-829c-4daa-8d3d-77dace5fba86 |
  8. | c9c6a895-8bc1-4319-a207-30422d0d1a27 | net_proj_one | 4ecef580-27ad-44f1-851d-c2c4cd64d323 |
  9. +--------------------------------------+--------------+--------------------------------------+
  10.  
  11. root@kcon-cs-gen-01i:~# quantum net-show 654a49a3-f042-45eb-a937-0dcd6fcaa84c
  12. +---------------------------+--------------------------------------+
  13. | Field                     | Value                                |
  14. +---------------------------+--------------------------------------+
  15. | admin_state_up            | True                                 |
  16. | id                        | 654a49a3-f042-45eb-a937-0dcd6fcaa84c |
  17. | name                      | ext_net                              |
  18. | provider:network_type     | vlan                                 |
  19. | provider:physical_network | physnet1                             |
  20. | provider:segmentation_id  | 3001                                 |
  21. | router:external           | True                                 |
  22. | shared                    | False                                |
  23. | status                    | ACTIVE                               |
  24. | subnets                   | 842a2baa-829c-4daa-8d3d-77dace5fba86 |
  25. | tenant_id                 | f49bb45e94024946871689654980bb94     |
  26. +---------------------------+--------------------------------------+
  27.  
  28. root@kcon-cs-gen-01i:~# quantum net-show c9c6a895-8bc1-4319-a207-30422d0d1a27
  29. +---------------------------+--------------------------------------+
  30. | Field                     | Value                                |
  31. +---------------------------+--------------------------------------+
  32. | admin_state_up            | True                                 |
  33. | id                        | c9c6a895-8bc1-4319-a207-30422d0d1a27 |
  34. | name                      | net_proj_one                         |
  35. | provider:network_type     | vlan                                 |
  36. | provider:physical_network | physnet1                             |
  37. | provider:segmentation_id  | 1024                                 |
  38. | router:external           | False                                |
  39. | shared                    | False                                |
  40. | status                    | ACTIVE                               |
  41. | subnets                   | 4ecef580-27ad-44f1-851d-c2c4cd64d323 |
  42. | tenant_id                 | 4647d67db3964ca499fd6274154aeefd     |
  43. +---------------------------+--------------------------------------+
  44.  
  45. root@kcon-cs-gen-01i:~# quantum floatingip-list
  46. +--------------------------------------+------------------+---------------------+--------------------------------------+
  47. | id                                   | fixed_ip_address | floating_ip_address | port_id                              |
  48. +--------------------------------------+------------------+---------------------+--------------------------------------+
  49. | 3cc98a42-6ba5-4b75-bafb-8bcfd4fcfc51 |                  | 10.21.166.3         |                                      |
  50. | 55e3b14e-9bce-4b14-8575-5b8775e15df7 |                  | 10.21.166.5         |                                      |
  51. | 6dd70dbb-0354-4675-8bad-8d91fd635406 | 192.168.1.3      | 10.21.166.2         | 9cf85869-8882-41de-b652-f7b2d08f9f0a |
  52. | 8fb74d4c-add7-444d-ada8-98f23bca98a0 |                  | 10.21.166.4         |                                      |
  53. +--------------------------------------+------------------+---------------------+--------------------------------------+
  54.  
  55. root@kcon-cs-gen-01i:~# quantum subnet-list
  56. +--------------------------------------+------+----------------+--------------------------------------------------+
  57. | id                                   | name | cidr           | allocation_pools                                 |
  58. +--------------------------------------+------+----------------+--------------------------------------------------+
  59. | 4ecef580-27ad-44f1-851d-c2c4cd64d323 |      | 192.168.1.0/24 | {"start": "192.168.1.2", "end": "192.168.1.254"} |
  60. | 842a2baa-829c-4daa-8d3d-77dace5fba86 |      | 10.21.164.0/22 | {"start": "10.21.166.1", "end": "10.21.166.254"} |
  61. +--------------------------------------+------+----------------+--------------------------------------------------+
  62.  
  63. root@kcon-cs-gen-01i:~#
  64. root@kcon-cs-gen-01i:~# nova --os-username=user_one --os-password=user_one --os-tenant-name=project_one secgroup-list-rules default
  65. +-------------+-----------+---------+------------+--------------+
  66. | IP Protocol | From Port | To Port | IP Range   | Source Group |
  67. +-------------+-----------+---------+------------+--------------+
  68. | icmp        | -1        | -1      | 0.0.0.0/0  |              |
  69. | tcp         | 22        | 22      | 0.0.0.0/0  |              |
  70. | tcp         | 68        | 68      | 0.0.0.0/24 |              |
  71. | tcp         | 8080      | 8080    | 0.0.0.0/0  |              |
  72. | udp         | 68        | 68      | 0.0.0.0/24 |              |
  73. +-------------+-----------+---------+------------+--------------+
  74. root@kcon-cs-gen-01i:~# nova --os-username=user_one --os-password=user_one --os-tenant-name=project_one show server-02
  75. +------------------------+----------------------------------------------------------+
  76. | Property               | Value                                                    |
  77. +------------------------+----------------------------------------------------------+
  78. | OS-DCF:diskConfig      | MANUAL                                                   |
  79. | OS-EXT-STS:power_state | 1                                                        |
  80. | OS-EXT-STS:task_state  | None                                                     |
  81. | OS-EXT-STS:vm_state    | active                                                   |
  82. | accessIPv4             |                                                          |
  83. | accessIPv6             |                                                          |
  84. | config_drive           |                                                          |
  85. | created                | 2013-02-20T17:09:50Z                                     |
  86. | flavor                 | m1.tiny (1)                                              |
  87. | hostId                 | 5899e118d39546a27eff7ac7590f3c9d930e4bc75ee55487d04899e4 |
  88. | id                     | 12c37be6-14e3-471b-aae3-750af8cfca32                     |
  89. | image                  | myFirstImage (51aa9c4b-23e5-4dfc-b97a-f45387cf9f81)      |
  90. | key_name               | None                                                     |
  91. | metadata               | {}                                                       |
  92. | name                   | server-02                                                |
  93. | net_proj_one network   | 192.168.1.3                                              |
  94. | progress               | 0                                                        |
  95. | security_groups        | [{u'name': u'default'}]                                  |
  96. | status                 | ACTIVE                                                   |
  97. | tenant_id              | 4647d67db3964ca499fd6274154aeefd                         |
  98. | updated                | 2013-02-20T19:17:53Z                                     |
  99. | user_id                | a52c1b0937c941efb5e0b3955f23b9cb                         |
  100. +------------------------+----------------------------------------------------------+
  101.  
  102. NETWORK NODE
  103.  
  104. root@knet-cs-gen-01i:~# ip addr show | egrep "^ *([0-9]+:|inet )"
  105. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  106.     inet 127.0.0.1/8 scope host lo
  107. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  108.     inet 192.168.241.99/24 brd 192.168.241.255 scope global eth0
  109. 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  110. 4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq master br-ex state UP qlen 1000
  111. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  112. 6: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
  113.     inet 10.21.165.92/22 brd 10.21.167.255 scope global br-ex
  114. 7: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  115. 8: br-int: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  116. 15: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  117. 16: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  118.  
  119. root@knet-cs-gen-01i:~# egrep -v "^ *(#|$)" /etc/network/interfaces
  120. auto lo
  121. iface lo inet loopback
  122. auto eth0
  123. iface eth0 inet static
  124. address 192.168.241.99
  125. netmask 255.255.255.0
  126. gateway 192.168.241.1
  127. dns-namservers 192.168.241.10 10.21.164.97 10.21.161.19
  128. auto eth1
  129. iface eth1 inet manual
  130.        up ifconfig $IFACE 0.0.0.0 up
  131.        up ip link set $IFACE promisc on
  132.        down ip link set $IFACE promisc off
  133.        down ifconfig $IFACE down
  134. iface br-eth1 inet static
  135. address 192.168.239.9
  136. netmask 255.255.255.0
  137. gateway 192.168.239.1
  138. bridge_ports eth1
  139. auto eth2
  140. iface eth2 inet manual
  141.        up ifconfig $IFACE 0.0.0.0 up
  142.        up ip link set $IFACE promisc on
  143.        down ip link set $IFACE promisc off
  144.        down ifconfig $IFACE down
  145. auto br-ex
  146. iface br-ex inet static
  147. address 10.21.165.92
  148. netmask 255.255.252.0
  149. gateway 10.21.164.1
  150. bridge_ports eth2
  151. auto br-int
  152.  iface br-int inet manual
  153.        up ifconfig $IFACE 0.0.0.0 up
  154.        up ip link set $IFACE promisc on
  155.        down ip link set $IFACE promisc off
  156.        down ifconfig $IFACE down
  157. root@knet-cs-gen-01i:~# brctl show
  158. bridge name bridge id       STP enabled interfaces
  159. br-eth1     0000.3cd92bfaaa96   no      eth1
  160.                             phy-br-eth1
  161. br-ex       8000.3cd92bfaaa98   no      eth2
  162. br-int      0000.76a0f227de49   no      int-br-eth1
  163.                             qr-973ae179-06
  164.                             tapca2d1ff4-7b
  165.  
  166. root@knet-cs-gen-01i:~# ovs-vsctl show
  167. 7dc4a669-a330-4c5f-a6f1-ab9e35b82685
  168.     Bridge br-int
  169.         Port "qr-973ae179-06"
  170.             Interface "qr-973ae179-06"
  171.                 type: internal
  172.         Port br-int
  173.             Interface br-int
  174.                 type: internal
  175.         Port "int-br-eth1"
  176.             Interface "int-br-eth1"
  177.         Port "tapca2d1ff4-7b"
  178.             tag: 1
  179.             Interface "tapca2d1ff4-7b"
  180.                 type: internal
  181.     Bridge br-ex
  182.         Port br-ex
  183.             Interface br-ex
  184.                 type: internal
  185.         Port "qg-81523176-e1"
  186.             Interface "qg-81523176-e1"
  187.                 type: internal
  188.         Port "eth2"
  189.             Interface "eth2"
  190.     Bridge "br-eth1"
  191.         Port "br-eth1"
  192.             Interface "br-eth1"
  193.                 type: internal
  194.         Port "eth1"
  195.             Interface "eth1"
  196.         Port "phy-br-eth1"
  197.             Interface "phy-br-eth1"
  198.     ovs_version: "1.4.3"
  199.  
  200. root@knet-cs-gen-01i:~# ip netns list
  201. qdhcp-c9c6a895-8bc1-4319-a207-30422d0d1a27
  202. qrouter-ddd535ad-debb-4810-bc10-f419f105c959
  203.  
  204. COMPUTE NODE
  205.  
  206. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  207.     inet 127.0.0.1/8 scope host lo
  208. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  209.     inet 192.168.241.110/24 brd 192.168.241.255 scope global eth0
  210. 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
  211. 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  212. 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
  213. 6: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  214.     inet 192.168.239.110/24 brd 192.168.239.255 scope global br-eth1
  215. 12: qvo5334a0cb-64: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  216. 13: qvb5334a0cb-64: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  217. 29: br-int: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  218. 37: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  219. 38: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  220. 39: qbr9cf85869-88: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
  221. 40: qvo9cf85869-88: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  222. 41: qvb9cf85869-88: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr9cf85869-88 state UP qlen 1000
  223. 52: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr9cf85869-88 state UNKNOWN qlen 500
  224.  
  225. root@kvm-cs-sn-10i:~# egrep -v "^ *(#|$)" /etc/network/interfaces
  226. auto lo
  227. iface lo inet loopback
  228. auto eth0
  229. iface eth0 inet static
  230. address 192.168.241.110
  231. netmask 255.255.255.0
  232. gateway 192.168.241.1
  233. dns-nameservers 192.168.241.10 10.21.164.97 10.21.161.19
  234. auto br-eth1
  235. iface br-eth1 inet static
  236. address 192.168.239.110
  237. netmask 255.255.255.0
  238. bridge_ports eth1
  239. auto eth1
  240.  iface eth1 inet manual
  241.        up ifconfig $IFACE 0.0.0.0 up
  242.        up ip link set $IFACE promisc on
  243.        down ip link set $IFACE promisc off
  244.        down ifconfig $IFACE down
  245. auto br-int
  246.  iface br-int inet manual
  247.        up ifconfig $IFACE 0.0.0.0 up
  248.        up ip link set $IFACE promisc on
  249.        down ip link set $IFACE promisc off
  250.        down ifconfig $IFACE down
  251.  
  252. root@kvm-cs-sn-10i:~# brctl show
  253. bridge name bridge id       STP enabled interfaces
  254. br-eth1     0000.bc305befedd1   no      eth1
  255.                             phy-br-eth1
  256. br-int      0000.8ae31e5f7941   no      int-br-eth1
  257.                             qvo9cf85869-88
  258. qbr9cf85869-88      8000.aeae57c4b763   no      qvb9cf85869-88
  259.                             vnet0
  260.  
  261. root@kvm-cs-sn-10i:~# ovs-vsctl show
  262. 9d9f7949-2b80-40c8-a9e0-6a116200ed96
  263.     Bridge br-int
  264.         Port "qvo9cf85869-88"
  265.             tag: 1
  266.             Interface "qvo9cf85869-88"
  267.         Port br-int
  268.             Interface br-int
  269.                 type: internal
  270.         Port "int-br-eth1"
  271.             Interface "int-br-eth1"
  272.     Bridge "br-eth1"
  273.         Port "br-eth1"
  274.             Interface "br-eth1"
  275.                 type: internal
  276.         Port "phy-br-eth1"
  277.             Interface "phy-br-eth1"
  278.         Port "eth1"
  279.             Interface "eth1"
  280.     ovs_version: "1.4.3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement