Advertisement
Guest User

Untitled

a guest
May 16th, 2017
627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.01 KB | None | 0 0
  1. OVS on compute host:
  2.  
  3. root@server6618:~# kubectl exec openvswitch-ovsdb-compute-2vp9x -n kolla ovs-vsctl show
  4. 6cdb76a0-999d-4571-a547-8ec010233c47
  5. Bridge br-int
  6. Controller "tcp:127.0.0.1:6633"
  7. is_connected: true
  8. fail_mode: secure
  9. Port patch-tun
  10. Interface patch-tun
  11. type: patch
  12. options: {peer=patch-int}
  13. Port br-int
  14. Interface br-int
  15. type: internal
  16. Port "qvo4b35195d-2a"
  17. tag: 1
  18. Interface "qvo4b35195d-2a"
  19. Port int-br-ex
  20. Interface int-br-ex
  21. type: patch
  22. options: {peer=phy-br-ex}
  23. Bridge br-ex
  24. Controller "tcp:127.0.0.1:6633"
  25. is_connected: true
  26. fail_mode: secure
  27. Port br-ex
  28. Interface br-ex
  29. type: internal
  30. Port "p3p1.2731"
  31. Interface "p3p1.2731"
  32. Port phy-br-ex
  33. Interface phy-br-ex
  34. type: patch
  35. options: {peer=int-br-ex}
  36. Bridge br-tun
  37. Controller "tcp:127.0.0.1:6633"
  38. is_connected: true
  39. fail_mode: secure
  40. Port br-tun
  41. Interface br-tun
  42. type: internal
  43. Port patch-int
  44. Interface patch-int
  45. type: patch
  46. options: {peer=patch-tun}
  47. Port "vxlan-0a7c0b1d"
  48. Interface "vxlan-0a7c0b1d"
  49. type: vxlan
  50. options: {df_default="true", in_key=flow, local_ip="172.17.0.1", out_key=flow, remote_ip="10.124.11.29"}
  51.  
  52.  
  53. OVS on Controller:
  54.  
  55.  
  56. root@server6618:~# kubectl exec openvswitch-ovsdb-network-dd20z -n kolla ovs-vsctl show
  57. d7daa61c-ab4f-48bc-86e4-6fd8cec907d2
  58. Bridge br-ex
  59. Controller "tcp:127.0.0.1:6633"
  60. is_connected: true
  61. fail_mode: secure
  62. Port br-ex
  63. Interface br-ex
  64. type: internal
  65. Port phy-br-ex
  66. Interface phy-br-ex
  67. type: patch
  68. options: {peer=int-br-ex}
  69. Port "p3p1.2731"
  70. Interface "p3p1.2731"
  71. Bridge br-int
  72. Controller "tcp:127.0.0.1:6633"
  73. is_connected: true
  74. fail_mode: secure
  75. Port "qr-973e1201-04"
  76. tag: 1
  77. Interface "qr-973e1201-04"
  78. type: internal
  79. Port "tapb48cb542-83"
  80. tag: 1
  81. Interface "tapb48cb542-83"
  82. type: internal
  83. Port patch-tun
  84. Interface patch-tun
  85. type: patch
  86. options: {peer=patch-int}
  87. Port int-br-ex
  88. Interface int-br-ex
  89. type: patch
  90. options: {peer=phy-br-ex}
  91. Port br-int
  92. Interface br-int
  93. type: internal
  94. Port "qg-78e6a1ae-eb"
  95. tag: 2
  96. Interface "qg-78e6a1ae-eb"
  97. type: internal
  98. Bridge br-tun
  99. Controller "tcp:127.0.0.1:6633"
  100. is_connected: true
  101. fail_mode: secure
  102. Port patch-int
  103. Interface patch-int
  104. type: patch
  105. options: {peer=patch-tun}
  106. Port "vxlan-ac110001"
  107. Interface "vxlan-ac110001"
  108. type: vxlan
  109. options: {df_default="true", in_key=flow, local_ip="10.124.11.29", out_key=flow, remote_ip="172.17.0.1"}
  110. Port br-tun
  111. Interface br-tun
  112. type: internal
  113.  
  114.  
  115.  
  116.  
  117. VM log:
  118.  
  119. info: initramfs: up at 0.52
  120. GROWROOT: CHANGED: partition=1 start=16065 old: size=64260 end=80325 new: size=2072385,end=2088450
  121. info: initramfs loading root from /dev/vda1
  122. info: /etc/init.d/rc.sysinit: up at 0.80
  123. info: container: none
  124. Starting logging: OK
  125. modprobe: module virtio_blk not found in modules.dep
  126. modprobe: module virtio_net not found in modules.dep
  127. WARN: /etc/rc3.d/S10-load-modules failed
  128. Initializing random number generator... done.
  129. Starting acpid: OK
  130. cirros-ds 'local' up at 0.92
  131. no results found for mode=local. up 0.98. searched: nocloud configdrive ec2
  132. Starting network...
  133. udhcpc (v1.20.1) started
  134. Sending discover...
  135. Sending discover...
  136. Sending discover...
  137. Usage: /sbin/cirros-dhcpc <up|down>
  138. No lease, failing
  139. WARN: /etc/rc3.d/S40-network failed
  140. cirros-ds 'net' up at 181.20
  141. checking http://169.254.169.254/2009-04-04/instance-id
  142. failed 1/20: up 181.21. request failed
  143. failed 2/20: up 183.34. request failed
  144. failed 3/20: up 185.35. request failed
  145. failed 4/20: up 187.35. request failed
  146. failed 5/20: up 189.36. request failed
  147. failed 6/20: up 191.37. request failed
  148. failed 7/20: up 193.38. request failed
  149. failed 8/20: up 195.39. request failed
  150. failed 9/20: up 197.40. request failed
  151. failed 10/20: up 199.41. request failed
  152. failed 11/20: up 201.42. request failed
  153. failed 12/20: up 203.42. request failed
  154. failed 13/20: up 205.43. request failed
  155. failed 14/20: up 207.44. request failed
  156. failed 15/20: up 209.45. request failed
  157. failed 16/20: up 211.46. request failed
  158. failed 17/20: up 213.47. request failed
  159. failed 18/20: up 215.48. request failed
  160. failed 19/20: up 217.49. request failed
  161. failed 20/20: up 219.50. request failed
  162. failed to read iid from metadata. tried 20
  163. no results found for mode=net. up 221.51. searched: nocloud configdrive ec2
  164. failed to get instance-id of datasource
  165. Starting dropbear sshd: generating rsa key... generating dsa key... OK
  166. === system information ===
  167. Platform: OpenStack Foundation OpenStack Nova
  168. Container: none
  169. Arch: x86_64
  170. CPU(s): 1 @ 2599.996 MHz
  171. Cores/Sockets/Threads: 1/1/1
  172. Virt-type:
  173. RAM Size: 491MB
  174. Disks:
  175. NAME MAJ:MIN SIZE LABEL MOUNTPOINT
  176. vda 253:0 1073741824
  177. vda1 253:1 1061061120 cirros-rootfs /
  178. === sshd host keys ===
  179. -----BEGIN SSH HOST KEY KEYS-----
  180. ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCFGUJ0gbGlVoVPcx+RbShdxA+GKbE7WmYdhej/+wOLXJ7uld6Nlmi8awf7q4ibMrASM/EtVqRpwdeuUlg+Fun0hPYuE+RAeOR1ghnmHxPoThCJ484uIIomCV8qycEcbkF91ry6fS6i6zgdEkuDukyGnXLuxGB8Jgr69pboaPC1il13 root@cirros
  181. ssh-dss AAAAB3NzaC1kc3MAAACBAJ2SkyccvEr74YKDdgyrInhr5QUJzE6LGW/fAXwBQeW39LSK5ct1ywA1r3s++3vBBBMem/eDovkw58QmBHko/eDHO+ymeAMTAYrD6mhBFiyZSBsowv3JHAkMRJuN7fUeY+SxrOqlAJH+U/cAPLfI/wRLxUfTn5nnVs8lvrX2IBpjAAAAFQC2siczmILFEV42ymns9OVzwy+mvwAAAIAMBnw074xRE4Sy472gI2OrrAJEb0IEuxaN7SBdOBEWQAXbeXDjhhguDBb/3YIUB6EG+kpFUAyGSFaWMgKIxVrX/wzztgwnfyrNbggMs8GsWQApi77+ooknvjcSnYg4ZSbxDCHnCp26Lo22TX4TRfxKI9sn2/w1WhsmwPDCzMX3FwAAAIB+CMVbT4lC8gKp0FtzVjKXOYX5nfvOAP1rM6NZMRMIUfTdPNjqD0sDJw0jzAinyfeDwcpz9tNZyrlKYy6trh319ujdFG7RkBPqQRu8dKqM4tgh1Tp8NxT0v+m503ZCCs1nAsdIe4pZ8NLpa4XeS3sMu/gXzaxKd78b2hxfHdY4wA== root@cirros
  182. -----END SSH HOST KEY KEYS-----
  183. === network info ===
  184. if-info: lo,up,127.0.0.1,8,::1
  185. if-info: eth0,up,,8,fe80::f816:3eff:fe0f:75ca
  186. === datasource: None None ===
  187. === cirros: current=0.3.4 uptime=221.76 ===
  188. route: fscanf
  189. === pinging gateway failed, debugging connection ===
  190. ############ debug start ##############
  191. ### /etc/init.d/sshd start
  192. Starting dropbear sshd: OK
  193. route: fscanf
  194. ### ifconfig -a
  195. eth0 Link encap:Ethernet HWaddr FA:16:3E:0F:75:CA
  196. inet6 addr: fe80::f816:3eff:fe0f:75ca/64 Scope:Link
  197. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  198. RX packets:8 errors:0 dropped:0 overruns:0 frame:0
  199. TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  200. collisions:0 txqueuelen:1000
  201. RX bytes:620 (620.0 B) TX bytes:1132 (1.1 KiB)
  202.  
  203. lo Link encap:Local Loopback
  204. inet addr:127.0.0.1 Mask:255.0.0.0
  205. inet6 addr: ::1/128 Scope:Host
  206. UP LOOPBACK RUNNING MTU:16436 Metric:1
  207. RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  208. TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
  209. collisions:0 txqueuelen:0
  210. RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B)
  211.  
  212. ### route -n
  213. Kernel IP routing table
  214. Destination Gateway Genmask Flags Metric Ref Use Iface
  215. route: fscanf
  216. ### cat /etc/resolv.conf
  217. cat: can't open '/etc/resolv.conf': No such file or directory
  218. ### gateway not found
  219. /sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file
  220. ### pinging nameservers
  221. ### uname -a
  222. Linux cirros 3.2.0-80-virtual #116-Ubuntu SMP Mon Mar 23 17:28:52 UTC 2015 x86_64 GNU/Linux
  223. ### lsmod
  224. Module Size Used by Not tainted
  225. nls_iso8859_1 12713 0
  226. nls_cp437 16991 0
  227. vfat 17585 0
  228. fat 61512 1 vfat
  229. isofs 40259 0
  230. ip_tables 27473 0
  231. x_tables 29891 1 ip_tables
  232. pcnet32 42119 0
  233. 8139cp 27360 0
  234. ne2k_pci 13691 0
  235. 8390 18856 1 ne2k_pci
  236. e1000 108589 0
  237. acpiphp 24231 0
  238. ### dmesg | tail
  239. [ 0.878939] acpiphp: Slot [30] registered
  240. [ 0.878957] acpiphp: Slot [31] registered
  241. [ 0.883675] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
  242. [ 0.883679] e1000: Copyright (c) 1999-2006 Intel Corporation.
  243. [ 0.886951] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
  244. [ 0.888942] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
  245. [ 0.892085] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
  246. [ 0.897375] ip_tables: (C) 2000-2006 Netfilter Core Team
  247. [ 1.188143] Refined TSC clocksource calibration: 2600.005 MHz.
  248. [ 11.536066] eth0: no IPv6 routers present
  249. ### tail -n 25 /var/log/messages
  250. May 16 21:43:29 cirros kern.info kernel: [ 0.000000] Intel GenuineIntel
  251. May 16 21:43:29 cirros kern.info kernel: [ 0.000000] AMD AuthenticAMD
  252. May 16 21:43:29 cirros kern.info kernel: [ 0.000000] Centaur CentaurHauls
  253. May 16 21:43:29 cirros kern.info kernel: [ 0.000000] BIOS-provided physical RAM map:
  254. May 16 21:43:29 cirros kern.info kernel: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
  255. May 16 21:43:30 cirros kern.info kernel: [ 0.878331] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
  256. May 16 21:43:30 cirros kern.info kernel: [ 0.878429] acpiphp: Slot [3] registered
  257. May 16 21:43:30 cirros kern.info kernel: [ 0.878451] acpiphp: Slot [4] registered
  258. May 16 21:43:30 cirros kern.info kernel: [ 0.878470] acpiphp: Slot [5] registered
  259. May 16 21:43:30 cirros kern.info kernel: [ 0.878487] acpiphp: Slot [6] registered
  260. May 16 21:43:30 cirros kern.info kernel: [ 0.878507] acpiphp: Slot [7] registered
  261. May 16 21:43:30 cirros kern.info kernel: [ 0.878525] acpiphp: Slot [8] registered
  262. May 16 21:43:30 cirros kern.info kernel: [ 0.878543] acpiphp: Slot [9] registered
  263. May 16 21:43:30 cirros kern.info kernel: [ 0.878563] acpiphp: Slot [10] registered
  264. May 16 21:43:30 cirros kern.info kernel: [ 0.878582] acpiphp: Slot [11] registered
  265. May 16 21:43:30 cirros kern.info kernel: [ 0.878601] acpiphp: Slot [12] registered
  266. May 16 21:43:30 cirros kern.info kernel: [ 0.883675] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
  267. May 16 21:43:30 cirros kern.info kernel: [ 0.883679] e1000: Copyright (c) 1999-2006 Intel Corporation.
  268. May 16 21:43:30 cirros kern.info kernel: [ 0.886951] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
  269. May 16 21:43:30 cirros kern.info kernel: [ 0.888942] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
  270. May 16 21:43:30 cirros kern.info kernel: [ 0.892085] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
  271. May 16 21:43:30 cirros kern.info kernel: [ 0.897375] ip_tables: (C) 2000-2006 Netfilter Core Team
  272. May 16 21:43:30 cirros kern.info kernel: [ 1.188143] Refined TSC clocksource calibration: 2600.005 MHz.
  273. May 16 21:43:40 cirros kern.debug kernel: [ 11.536066] eth0: no IPv6 routers present
  274. May 16 21:47:10 cirros authpriv.info dropbear[302]: Running in background
  275. ############ debug end ##############
  276. ____ ____ ____
  277. / __/ __ ____ ____ / __ \/ __/
  278. / /__ / // __// __// /_/ /\ \
  279. \___//_//_/ /_/ \____/___/
  280. http://cirros-cloud.net
  281.  
  282.  
  283. login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
  284. cirros login:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement