Advertisement
Guest User

rc3.log

a guest
Sep 9th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.33 KB | None | 0 0
  1. 2016-09-09 12:24:53,638 - ODL_SFC - INFO - Executing script to get ip_server: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 'fuel node'|grep controller|awk '{print $10}''
  2. 2016-09-09 12:24:54,770 - ODL_SFC - INFO - Executing script to get ip_compute: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 'fuel node'|grep compute|awk '{print $10}''
  3. 2016-09-09 12:24:56,290 - ODL_SFC - INFO - Changing firewall policy in controller: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 10.20.0.5 iptables -P INPUT ACCEPT '
  4. 2016-09-09 12:24:56,732 - ODL_SFC - INFO - Changing firewall policy in controller: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 10.20.0.5 iptables -t nat -P INPUT ACCEPT '
  5. 2016-09-09 12:24:57,143 - ODL_SFC - INFO - Changing firewall policy in controller: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 10.20.0.5 iptables -A INPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT'
  6. 2016-09-09 12:24:58,079 - ODL_SFC - INFO - Using old image
  7. 2016-09-09 12:24:58,202 - openstack_utils - INFO - Image sf_nsh_colorado already exists.
  8. 2016-09-09 12:24:58,504 - openstack_utils - INFO - A network with name 'example-net' already exists...
  9. 2016-09-09 12:24:58,542 - openstack_utils - INFO - Using existing security group 'example-sg'...
  10. 2016-09-09 12:24:58,542 - ODL_SFC - INFO - Creating instance 'client'...
  11. 2016-09-09 12:24:58,543 - ODL_SFC - DEBUG - Configuration:
  12. name=client
  13. flavor=m1.small
  14. image=39c7fb8c-a6e4-4b6a-97bf-41217e640d72
  15. network=10214296-8098-4402-b19b-1455510b3e16
  16.  
  17. 2016-09-09 12:25:06,131 - ODL_SFC - DEBUG - Instance 'client' got private ip '11.0.0.7'.
  18. 2016-09-09 12:25:06,131 - ODL_SFC - INFO - Adding 'client' to security group 'example-sg'...
  19. 2016-09-09 12:25:06,735 - ODL_SFC - INFO - Creating floating IP for VM 'client'...
  20. 2016-09-09 12:25:07,056 - ODL_SFC - INFO - Floating IP created: '172.16.0.134'
  21. 2016-09-09 12:25:07,057 - ODL_SFC - INFO - Associating floating ip: '172.16.0.134' to VM 'client'
  22. 2016-09-09 12:25:07,929 - ODL_SFC - INFO - Creating instance 'client'...
  23. 2016-09-09 12:25:07,930 - ODL_SFC - DEBUG - Configuration:
  24. name=client
  25. flavor=m1.small
  26. image=39c7fb8c-a6e4-4b6a-97bf-41217e640d72
  27. network=10214296-8098-4402-b19b-1455510b3e16
  28.  
  29. 2016-09-09 12:25:15,857 - ODL_SFC - DEBUG - Instance 'server' got private ip '11.0.0.8'.
  30. 2016-09-09 12:25:15,857 - ODL_SFC - INFO - Adding 'server' to security group 'example-sg'...
  31. 2016-09-09 12:25:16,371 - ODL_SFC - INFO - Creating floating IP for VM 'server'...
  32. 2016-09-09 12:25:16,756 - ODL_SFC - INFO - Floating IP created: '172.16.0.135'
  33. 2016-09-09 12:25:16,756 - ODL_SFC - INFO - Associating floating ip: '172.16.0.135' to VM 'server'
  34. 2016-09-09 12:25:17,494 - ODL_SFC - INFO - Executing tacker script: '/home/opnfv/repos/functest//testcases/features/sfc/sfc_tacker.bash'
  35. Created a new vnfd:
  36. +---------------+-----------------------------------------------------------------------------+
  37. | Field | Value |
  38. +---------------+-----------------------------------------------------------------------------+
  39. | description | firewall1-example |
  40. | id | 846492e8-0af5-4a94-98e7-d4423a4f36be |
  41. | infra_driver | heat |
  42. | mgmt_driver | noop |
  43. | name | test-vnfd1 |
  44. | service_types | {"service_type": "vnfd", "id": "3040b141-5a49-45d0-8d6a-2ef3108dbcb5"} |
  45. | | {"service_type": "firewall1", "id": "776a03ff-4e1b-4d42-9e0b-a5b4f6b34982"} |
  46. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  47. +---------------+-----------------------------------------------------------------------------+
  48. Created a new vnfd:
  49. +---------------+-----------------------------------------------------------------------------+
  50. | Field | Value |
  51. +---------------+-----------------------------------------------------------------------------+
  52. | description | firewall2-example |
  53. | id | 4a3ff489-1308-45d5-837e-e0d88d70cde0 |
  54. | infra_driver | heat |
  55. | mgmt_driver | noop |
  56. | name | test-vnfd2 |
  57. | service_types | {"service_type": "firewall2", "id": "34b85eb2-33bb-4451-a382-f776138913a2"} |
  58. | | {"service_type": "vnfd", "id": "bd10449b-6ef4-4ef7-8cb7-d35a8af1ed7e"} |
  59. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  60. +---------------+-----------------------------------------------------------------------------+
  61. Created a new vnf:
  62. +-------------+--------------------------------------+
  63. | Field | Value |
  64. +-------------+--------------------------------------+
  65. | description | firewall1-example |
  66. | id | 69bc33ac-6504-4d1b-a9b9-054607104ec0 |
  67. | instance_id | 415d1564-4afc-472e-88a2-1608b9865858 |
  68. | mgmt_url | |
  69. | name | testVNF1 |
  70. | status | PENDING_CREATE |
  71. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  72. | vnfd_id | 846492e8-0af5-4a94-98e7-d4423a4f36be |
  73. +-------------+--------------------------------------+
  74. Created a new vnf:
  75. +-------------+--------------------------------------+
  76. | Field | Value |
  77. +-------------+--------------------------------------+
  78. | description | firewall2-example |
  79. | id | 2258e063-3d24-4f24-8058-464d3b10e0a3 |
  80. | instance_id | 2d4e9e17-c67d-4923-8250-8746e5225adb |
  81. | mgmt_url | |
  82. | name | testVNF2 |
  83. | status | PENDING_CREATE |
  84. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  85. | vnfd_id | 4a3ff489-1308-45d5-837e-e0d88d70cde0 |
  86. +-------------+--------------------------------------+
  87. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  88. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  89. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  90. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  91. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  92. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  93. checking if SFs are up: +--------------------------------------+----------+-------------------+----------+----------------+ | id | name | description | mgmt_url | status | +--------------------------------------+----------+-------------------+----------+----------------+ | 2258e063-3d24-4f24-8058-464d3b10e0a3 | testVNF2 | firewall2-example | | PENDING_CREATE | | 69bc33ac-6504-4d1b-a9b9-054607104ec0 | testVNF1 | firewall1-example | | PENDING_CREATE | +--------------------------------------+----------+-------------------+----------+----------------+
  94. checking if SFs are up:
  95. CREATED
  96. Sleeping for 30 seconds
  97. Created a new sfc:
  98. +--------------+--------------------------------------+
  99. | Field | Value |
  100. +--------------+--------------------------------------+
  101. | attributes | {} |
  102. | chain | 69bc33ac-6504-4d1b-a9b9-054607104ec0 |
  103. | description | |
  104. | id | f3b5074a-2be7-4e4c-a298-cd672eeaaab0 |
  105. | infra_driver | opendaylight |
  106. | instance_id | Path-red-Path-21 |
  107. | name | red |
  108. | status | PENDING_CREATE |
  109. | symmetrical | False |
  110. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  111. +--------------+--------------------------------------+
  112. Created a new sfc:
  113. +--------------+--------------------------------------+
  114. | Field | Value |
  115. +--------------+--------------------------------------+
  116. | attributes | {} |
  117. | chain | 2258e063-3d24-4f24-8058-464d3b10e0a3 |
  118. | description | |
  119. | id | 3fc7e282-4bcb-467d-8c50-b39c352a409d |
  120. | infra_driver | opendaylight |
  121. | instance_id | Path-blue-Path-65 |
  122. | name | blue |
  123. | status | PENDING_CREATE |
  124. | symmetrical | False |
  125. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  126. +--------------+--------------------------------------+
  127. Created a new sfc_classifier:
  128. +--------------------+----------------------------------------------------+
  129. | Field | Value |
  130. +--------------------+----------------------------------------------------+
  131. | acl_match_criteria | {"source_port": 0, "protocol": 6, "dest_port": 80} |
  132. | attributes | {} |
  133. | chain | f3b5074a-2be7-4e4c-a298-cd672eeaaab0 |
  134. | description | |
  135. | id | f9a93d39-744c-4743-9d75-cdb4b2040aec |
  136. | infra_driver | netvirtsfc |
  137. | instance_id | red_http |
  138. | name | red_http |
  139. | status | PENDING_CREATE |
  140. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  141. +--------------------+----------------------------------------------------+
  142. Created a new sfc_classifier:
  143. +--------------------+----------------------------------------------------+
  144. | Field | Value |
  145. +--------------------+----------------------------------------------------+
  146. | acl_match_criteria | {"source_port": 0, "protocol": 6, "dest_port": 22} |
  147. | attributes | {} |
  148. | chain | f3b5074a-2be7-4e4c-a298-cd672eeaaab0 |
  149. | description | |
  150. | id | 5dcc0eb6-af51-4ea5-8d85-51081ef2300c |
  151. | infra_driver | netvirtsfc |
  152. | instance_id | red_ssh |
  153. | name | red_ssh |
  154. | status | PENDING_CREATE |
  155. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  156. +--------------------+----------------------------------------------------+
  157. +--------------------------------------+------+-------------+--------------+-------------+--------+
  158. | id | name | description | infra_driver | symmetrical | status |
  159. +--------------------------------------+------+-------------+--------------+-------------+--------+
  160. | 3fc7e282-4bcb-467d-8c50-b39c352a409d | blue | | opendaylight | False | ACTIVE |
  161. | f3b5074a-2be7-4e4c-a298-cd672eeaaab0 | red | | opendaylight | False | ACTIVE |
  162. +--------------------------------------+------+-------------+--------------+-------------+--------+
  163. +--------------------------------------+----------+-------------+-------------------------------------------------------+--------+
  164. | id | name | description | acl_match_criteria | status |
  165. +--------------------------------------+----------+-------------+-------------------------------------------------------+--------+
  166. | 5dcc0eb6-af51-4ea5-8d85-51081ef2300c | red_ssh | | {u'source_port': 0, u'protocol': 6, u'dest_port': 22} | ACTIVE |
  167. | f9a93d39-744c-4743-9d75-cdb4b2040aec | red_http | | {u'source_port': 0, u'protocol': 6, u'dest_port': 80} | ACTIVE |
  168. +--------------------------------------+----------+-------------+-------------------------------------------------------+--------+
  169. Sleeping for 60 seconds
  170. 2016-09-09 12:27:34,332 - ODL_SFC - INFO - Starting HTTP server
  171. 2016-09-09 12:27:34,856 - ODL_SFC - DEBUG - This is the instance name: ta-e063-3d24-4f24-8058-464d3b10e0a3-vdu1-jwc6rkmfqtes
  172. 2016-09-09 12:27:36,240 - ODL_SFC - DEBUG - This is the instance name: ta-33ac-6504-4d1b-a9b9-054607104ec0-vdu1-qmaqgxn5fjul
  173. 2016-09-09 12:27:37,847 - ODL_SFC - DEBUG - Floating IPs for SFs: [u'172.16.0.136', u'172.16.0.137']...
  174. 2016-09-09 12:27:37,847 - ODL_SFC - INFO - Configuring the SFs
  175. 2016-09-09 12:27:37,847 - ODL_SFC - DEBUG - sshpass -p opnfv ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 172.16.0.136 nohup python vxlan_tool.py -i eth0 -d forward -v off -b 80 > /dev/null 2>&1 &
  176. 2016-09-09 12:27:47,854 - ODL_SFC - ERROR - vxlan_tool not started in SF1
  177. Traceback (most recent call last):
  178. File "sfc.py", line 280, in main
  179. ssh.connect(ips[0], username="root", password="opnfv", timeout=10)
  180. File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 305, in connect
  181. retry_on_signal(lambda: sock.connect(addr))
  182. File "/usr/local/lib/python2.7/dist-packages/paramiko/util.py", line 269, in retry_on_signal
  183. return function()
  184. File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 305, in <lambda>
  185. retry_on_signal(lambda: sock.connect(addr))
  186. File "/usr/lib/python2.7/socket.py", line 224, in meth
  187. return getattr(self._sock,name)(*args)
  188. timeout: timed out
  189. 2016-09-09 12:27:47,868 - ODL_SFC - DEBUG - sshpass -p opnfv ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no 172.16.0.137 nohup python vxlan_tool.py -i eth0 -d forward -v off -b 22 > /dev/null 2>&1 &
  190. 2016-09-09 12:27:58,130 - ODL_SFC - DEBUG - SSH firewall started
  191. 2016-09-09 12:27:58,131 - ODL_SFC - INFO - Executing script to modify the classi: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 'ssh 10.20.0.4 'bash correct_classifier.bash'''
  192. 2016-09-09 12:27:58,136 - ODL_SFC - INFO - Waiting for 60 seconds before TEST
  193. 2016-09-09 12:27:58,137 - ODL_SFC - INFO - Test starting in 60 seconds
  194. Warning: Permanently added '10.20.0.2' (ECDSA) to the list of known hosts.
  195. Warning: Permanently added '10.20.0.4' (ECDSA) to the list of known hosts.
  196. 2016-09-09 12:28:08,143 - ODL_SFC - INFO - Test starting in 50 seconds
  197. 2016-09-09 12:28:18,147 - ODL_SFC - INFO - Test starting in 40 seconds
  198. 2016-09-09 12:28:28,149 - ODL_SFC - INFO - Test starting in 30 seconds
  199. 2016-09-09 12:28:38,160 - ODL_SFC - INFO - Test starting in 20 seconds
  200. 2016-09-09 12:28:48,161 - ODL_SFC - INFO - Test starting in 10 seconds
  201. 2016-09-09 12:28:58,171 - ODL_SFC - INFO - TEST STARTED
  202. 2016-09-09 12:29:03,711 - ODL_SFC - INFO - TEST 1 [PASSED] ==> SSH BLOCKED
  203. 2016-09-09 12:29:09,076 - ODL_SFC - ERROR - TEST 2 [FAILED] ==> HTTP BLOCKED
  204. 2016-09-09 12:29:09,076 - ODL_SFC - INFO - Changing the classification
  205. Deleted sfc_classifier: red_http
  206. Deleted sfc_classifier: red_ssh
  207. Created a new sfc_classifier:
  208. +--------------------+----------------------------------------------------+
  209. | Field | Value |
  210. +--------------------+----------------------------------------------------+
  211. | acl_match_criteria | {"source_port": 0, "protocol": 6, "dest_port": 80} |
  212. | attributes | {} |
  213. | chain | 3fc7e282-4bcb-467d-8c50-b39c352a409d |
  214. | description | |
  215. | id | 733553c7-5535-4e80-a891-654196ad9246 |
  216. | infra_driver | netvirtsfc |
  217. | instance_id | blue_http |
  218. | name | blue_http |
  219. | status | PENDING_CREATE |
  220. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  221. +--------------------+----------------------------------------------------+
  222. Created a new sfc_classifier:
  223. +--------------------+----------------------------------------------------+
  224. | Field | Value |
  225. +--------------------+----------------------------------------------------+
  226. | acl_match_criteria | {"source_port": 0, "protocol": 6, "dest_port": 22} |
  227. | attributes | {} |
  228. | chain | 3fc7e282-4bcb-467d-8c50-b39c352a409d |
  229. | description | |
  230. | id | 79449cc6-8e69-432e-8878-334e96ea00a4 |
  231. | infra_driver | netvirtsfc |
  232. | instance_id | blue_ssh |
  233. | name | blue_ssh |
  234. | status | PENDING_CREATE |
  235. | tenant_id | 45e0641a13a24ba29c1975899912d84d |
  236. +--------------------+----------------------------------------------------+
  237. +--------------------------------------+-----------+-------------+-------------------------------------------------------+--------+
  238. | id | name | description | acl_match_criteria | status |
  239. +--------------------------------------+-----------+-------------+-------------------------------------------------------+--------+
  240. | 733553c7-5535-4e80-a891-654196ad9246 | blue_http | | {u'source_port': 0, u'protocol': 6, u'dest_port': 80} | ACTIVE |
  241. | 79449cc6-8e69-432e-8878-334e96ea00a4 | blue_ssh | | {u'source_port': 0, u'protocol': 6, u'dest_port': 22} | ACTIVE |
  242. +--------------------------------------+-----------+-------------+-------------------------------------------------------+--------+
  243. 2016-09-09 12:29:14,427 - ODL_SFC - INFO - Wait for ODL to update the classification rules in OVS
  244. 2016-09-09 12:29:24,437 - ODL_SFC - INFO - Executing script to modify the classi: 'sshpass -p r00tme ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@10.20.0.2 'ssh 10.20.0.4 'bash correct_classifier.bash'''
  245. Warning: Permanently added '10.20.0.2' (ECDSA) to the list of known hosts.
  246. Warning: Permanently added '10.20.0.4' (ECDSA) to the list of known hosts.
  247. 2016-09-09 12:29:29,773 - ODL_SFC - INFO - TEST 3 [WORKS] ==> HTTP BLOCKED
  248. 2016-09-09 12:29:35,147 - ODL_SFC - ERROR - TEST 4 [FAILED] ==> SSH BLOCKED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement