mbuil

Creation of classifier tacker

Jul 26th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.77 KB | None | 0 0
  1. 2016-07-26 11:52:23.081 9283 INFO tacker.wsgi [-] (9283) accepted ('172.16.0.1', 38857)
  2.  
  3. 2016-07-26 11:52:23.083 9283 DEBUG keystonemiddleware.auth_token [-] Authenticating user token process_request /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:480
  4. 2016-07-26 11:52:23.084 9283 DEBUG keystoneclient.session [-] REQ: curl -g -i --cacert "/opt/stack/data/ca-bundle.pem" -X GET http://192.168.0.42:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}52f6133245563ea3738d87ead111d92d9daa0e90" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5e4254b25b028ac8723cad59d10d939ea1f21ee8" _http_log_request /usr/lib/python2.7/dist-packages/keystoneclient/session.py:198
  5. 2016-07-26 11:52:23.203 9283 DEBUG keystoneclient.session [-] RESP: [200] content-length: 8298 x-subject-token: {SHA1}52f6133245563ea3738d87ead111d92d9daa0e90 vary: X-Auth-Token server: Apache connection: close date: Tue, 26 Jul 2016 11:52:23 GMT content-type: application/json x-openstack-request-id: req-d0a912af-476c-4bb7-a77d-ca233c40424c
  6. RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "81eb415321724029a24d34b4231218ef", "name": "admin"}], "expires_at": "2016-07-26T12:52:23.032248Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "88acb5e55f2b4fed91fca1e6d0c92a83", "name": "services"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "9a450d26062e454fb43bbdd3fe2f7262", "name": "tacker"}, "audit_ids": ["_Jf741fjQ8OxMjIFYOeq3A"], "issued_at": "2016-07-26T11:52:23.000000Z"}}
  7. _http_log_response /usr/lib/python2.7/dist-packages/keystoneclient/session.py:215
  8. 2016-07-26 11:52:23.205 9283 DEBUG keystonemiddleware.auth_token [-] Storing token in cache store /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_cache.py:170
  9. 2016-07-26 11:52:23.207 9283 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id 9a450d26062e454fb43bbdd3fe2f7262, project_id 88acb5e55f2b4fed91fca1e6d0c92a83, roles admin process_request /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:759
  10. 2016-07-26 11:52:23.208 9283 DEBUG routes.middleware [-] Matched GET /sfcs.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:105
  11. 2016-07-26 11:52:23.208 9283 DEBUG routes.middleware [-] Route path: '/sfcs.:(format)', defaults: {'action': u'index', 'controller': <wsgify at 139927506199696 wrapping <function resource at 0x7f43695b8a28>>} __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:107
  12. 2016-07-26 11:52:23.209 9283 DEBUG routes.middleware [-] Match dict: {'action': u'index', 'controller': <wsgify at 139927506199696 wrapping <function resource at 0x7f43695b8a28>>, 'format': u'json'} __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:108
  13. 2016-07-26 11:52:23.212 9283 DEBUG tacker.db.sfc.sfc_db [req-e79b850b-d9ad-470c-b334-5e815c6d3d75 None] sfc_db <tacker.db.sfc.sfc_db.SFC[object at 7f4369191b90] {tenant_id=u'88acb5e55f2b4fed91fca1e6d0c92a83', id=u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', name=u'red', description=u'', instance_id=u'Path-red-Path-112', status=u'ACTIVE', infra_driver=u'opendaylight', symmetrical=False, chain=[u'3c4cde60-83f2-40da-9c72-19bf57f1be3d']}> _make_sfc_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc/sfc_db.py:217
  14. 2016-07-26 11:52:23.216 9283 DEBUG tacker.db.sfc.sfc_db [req-e79b850b-d9ad-470c-b334-5e815c6d3d75 None] sfc_db attributes [] _make_sfc_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc/sfc_db.py:218
  15. 2016-07-26 11:52:23.218 9283 INFO tacker.wsgi [req-e79b850b-d9ad-470c-b334-5e815c6d3d75 None] 172.16.0.1 - - [26/Jul/2016 11:52:23] "GET /v1.0/sfcs.json?fields=id&name=red HTTP/1.1" 200 271 0.135666
  16.  
  17. 2016-07-26 11:52:23.221 9283 DEBUG keystonemiddleware.auth_token [-] Authenticating user token process_request /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:480
  18. 2016-07-26 11:52:23.223 9283 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id 9a450d26062e454fb43bbdd3fe2f7262, project_id 88acb5e55f2b4fed91fca1e6d0c92a83, roles admin process_request /usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:759
  19. 2016-07-26 11:52:23.224 9283 DEBUG routes.middleware [-] Matched POST /sfc-classifiers.json __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:105
  20. 2016-07-26 11:52:23.224 9283 DEBUG routes.middleware [-] Route path: '/sfc-classifiers.:(format)', defaults: {'action': u'create', 'controller': <wsgify at 139927506199120 wrapping <function resource at 0x7f43695b82a8>>} __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:107
  21. 2016-07-26 11:52:23.224 9283 DEBUG routes.middleware [-] Match dict: {'action': u'create', 'controller': <wsgify at 139927506199120 wrapping <function resource at 0x7f43695b82a8>>, 'format': u'json'} __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:108
  22. 2016-07-26 11:52:23.225 9283 DEBUG tacker.api.v1.base [req-f816faec-1981-4b46-bcfe-78411b18acaa None] Request body: {u'sfc_classifier': {u'attributes': {}, u'match': {u'source_port': u'0', u'protocol': u'6', u'dest_port': u'80'}, u'name': u'red_http', u'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942'}} prepare_request_body /usr/lib/python2.7/dist-packages/tacker/api/v1/base.py:512
  23. 2016-07-26 11:52:23.229 9283 DEBUG tacker.sfc_classifier.plugin [req-f816faec-1981-4b46-bcfe-78411b18acaa None] classifier_dict {'description': '', u'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'service_contexts': [], 'infra_driver': 'netvirtsfc', u'attributes': {}, 'acl_match_criteria': {}, u'match': {u'source_port': 0, u'protocol': 6, u'dest_port': 80}, u'name': u'red_http'} _create_sfc_classifier /usr/lib/python2.7/dist-packages/tacker/sfc_classifier/plugin.py:79
  24. 2016-07-26 11:52:23.233 9283 DEBUG tacker.db.sfc.sfc_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfc_db <tacker.db.sfc.sfc_db.SFC[object at 7f4369191290] {tenant_id=u'88acb5e55f2b4fed91fca1e6d0c92a83', id=u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', name=u'red', description=u'', instance_id=u'Path-red-Path-112', status=u'ACTIVE', infra_driver=u'opendaylight', symmetrical=False, chain=[u'3c4cde60-83f2-40da-9c72-19bf57f1be3d']}> _make_sfc_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc/sfc_db.py:217
  25. 2016-07-26 11:52:23.237 9283 DEBUG tacker.db.sfc.sfc_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfc_db attributes [] _make_sfc_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc/sfc_db.py:218
  26. 2016-07-26 11:52:23.239 9283 DEBUG tacker.sfc_classifier.plugin [req-f816faec-1981-4b46-bcfe-78411b18acaa None] Matching SFC Instance: Path-red-Path-112 _create_sfc_classifier /usr/lib/python2.7/dist-packages/tacker/sfc_classifier/plugin.py:83
  27. 2016-07-26 11:52:23.240 9283 DEBUG tacker.db.sfc_classifier.sfc_classifier_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfc classifier {'description': '', u'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'service_contexts': [], 'infra_driver': 'netvirtsfc', u'attributes': {}, 'acl_match_criteria': {}, u'match': {u'source_port': 0, u'protocol': 6, u'dest_port': 80}, u'name': u'red_http'} _create_sfc_classifier_pre /usr/lib/python2.7/dist-packages/tacker/db/sfc_classifier/sfc_classifier_db.py:138
  28. 2016-07-26 11:52:23.241 9283 DEBUG tacker.db.sfc_classifier.sfc_classifier_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] acl_match {u'source_port': 0, u'protocol': 6, u'dest_port': 80} _create_sfc_classifier_pre /usr/lib/python2.7/dist-packages/tacker/db/sfc_classifier/sfc_classifier_db.py:165
  29. 2016-07-26 11:52:23.248 9283 DEBUG tacker.db.sfc_classifier.sfc_classifier_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfcc_db <tacker.db.sfc_classifier.sfc_classifier_db.SFCClassifier[object at 7f43691919d0] {tenant_id=u'88acb5e55f2b4fed91fca1e6d0c92a83', id='9017c708-6592-48b1-88f0-4a8f31e8e9e6', name=u'red_http', description='', instance_id=None, status='PENDING_CREATE', infra_driver='netvirtsfc', chain=u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942'}> _make_sfc_classifier_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc_classifier/sfc_classifier_db.py:248
  30. 2016-07-26 11:52:23.253 9283 DEBUG tacker.db.sfc_classifier.sfc_classifier_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfcc_db attributes [] _make_sfc_classifier_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc_classifier/sfc_classifier_db.py:249
  31. 2016-07-26 11:52:23.257 9283 DEBUG tacker.db.sfc_classifier.sfc_classifier_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfcc_db match [<tacker.db.sfc_classifier.sfc_classifier_db.ACLMatchCriteria[object at 7f4369191290] {id='cba2bf8d-ab7a-43ad-8426-4e30e13218ec', sfcc_id='9017c708-6592-48b1-88f0-4a8f31e8e9e6', source_mac=None, dest_mac=None, ethertype=None, source_ip_prefix=None, dest_ip_prefix=None, source_port=0, dest_port=80, protocol=6}>] _make_sfc_classifier_dict /usr/lib/python2.7/dist-packages/tacker/db/sfc_classifier/sfc_classifier_db.py:250
  32. 2016-07-26 11:52:23.259 9283 DEBUG tacker.sfc_classifier.plugin [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfcc_dict after database entry {'status': 'PENDING_CREATE', 'description': '', 'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'instance_id': None, 'acl_match_criteria': {'source_port': 0, 'protocol': 6, 'dest_port': 80}, 'infra_driver': 'netvirtsfc', 'attributes': {}, 'id': '9017c708-6592-48b1-88f0-4a8f31e8e9e6', 'name': u'red_http'} _create_sfc_classifier /usr/lib/python2.7/dist-packages/tacker/sfc_classifier/plugin.py:85
  33. 2016-07-26 11:52:23.259 9283 DEBUG tacker.common.log [req-f816faec-1981-4b46-bcfe-78411b18acaa None] tacker.sfc_classifier.drivers.netvirtsfc.NetVirtSFC method create_sfc_classifier called with arguments () {'chain_instance_id': u'Path-red-Path-112', 'sfcc_dict': {'status': 'PENDING_CREATE', 'description': '', 'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'instance_id': None, 'acl_match_criteria': {'source_port': 0, 'protocol': 6, 'dest_port': 80}, 'infra_driver': 'netvirtsfc', 'attributes': {}, 'id': '9017c708-6592-48b1-88f0-4a8f31e8e9e6', 'name': u'red_http'}} wrapper /usr/lib/python2.7/dist-packages/tacker/common/log.py:33
  34. 2016-07-26 11:52:23.260 9283 DEBUG tacker.common.log [req-f816faec-1981-4b46-bcfe-78411b18acaa None] tacker.sfc_classifier.drivers.netvirtsfc.NetVirtSFC method _build_acl_json called with arguments ({'status': 'PENDING_CREATE', 'description': '', 'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'instance_id': None, 'acl_match_criteria': {'source_port': 0, 'protocol': 6, 'dest_port': 80}, 'infra_driver': 'netvirtsfc', 'attributes': {}, 'id': '9017c708-6592-48b1-88f0-4a8f31e8e9e6', 'name': u'red_http'}, u'Path-red-Path-112') {} wrapper /usr/lib/python2.7/dist-packages/tacker/common/log.py:33
  35. 2016-07-26 11:52:23.261 9283 DEBUG tacker.common.log [req-f816faec-1981-4b46-bcfe-78411b18acaa None] tacker.sfc_classifier.drivers.netvirtsfc.NetVirtSFC method send_rest called with arguments ({'acl': [{'acl-name': u'red_http', 'acl-type': 'ietf-access-control-list:ipv4-acl', 'access-list-entries': {'ace': [{'matches': {'source-port-range': {'lower-port': 0, 'upper-port': 0}, 'destination-port-range': {'lower-port': 80, 'upper-port': 80}, 'protocol': 6}, 'actions': {'netvirt-sfc-acl:rsp-name': u'Path-red-Path-112'}, 'rule-name': u'red_http'}]}}]}, 'put', 'restconf/config/ietf-access-control-list:access-lists/acl/ietf-access-control-list:ipv4-acl/red_http') {} wrapper /usr/lib/python2.7/dist-packages/tacker/common/log.py:33
  36. 2016-07-26 11:52:23.273 9283 DEBUG tacker.sfc_classifier.drivers.netvirtsfc [req-f816faec-1981-4b46-bcfe-78411b18acaa None] rest call response: <Response [200]> send_rest /usr/lib/python2.7/dist-packages/tacker/sfc_classifier/drivers/netvirtsfc.py:114
  37. 2016-07-26 11:52:23.275 9283 DEBUG tacker.common.log [req-f816faec-1981-4b46-bcfe-78411b18acaa None] tacker.sfc_classifier.drivers.netvirtsfc.NetVirtSFC method send_rest called with arguments ({'classifier': [{'name': u'red_http', 'acl': u'red_http'}]}, 'put', 'restconf/config/netvirt-sfc-classifier:classifiers/classifier/red_http') {} wrapper /usr/lib/python2.7/dist-packages/tacker/common/log.py:33
  38. 2016-07-26 11:52:23.285 9283 DEBUG tacker.sfc_classifier.drivers.netvirtsfc [req-f816faec-1981-4b46-bcfe-78411b18acaa None] rest call response: <Response [200]> send_rest /usr/lib/python2.7/dist-packages/tacker/sfc_classifier/drivers/netvirtsfc.py:114
  39. 2016-07-26 11:52:23.287 9283 DEBUG tacker.sfc_classifier.plugin [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfcc_dict after sfc SFC Classifier Create complete: {'status': 'PENDING_CREATE', 'description': '', 'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'instance_id': u'red_http', 'acl_match_criteria': {'source_port': 0, 'protocol': 6, 'dest_port': 80}, 'infra_driver': 'netvirtsfc', 'attributes': {}, 'id': '9017c708-6592-48b1-88f0-4a8f31e8e9e6', 'name': u'red_http'} _create_sfc_classifier /usr/lib/python2.7/dist-packages/tacker/sfc_classifier/plugin.py:104
  40. 2016-07-26 11:52:23.287 9283 DEBUG tacker.db.sfc_classifier.sfc_classifier_db [req-f816faec-1981-4b46-bcfe-78411b18acaa None] sfc_classifier_dict {'status': 'PENDING_CREATE', 'description': '', 'chain': u'2b95b896-e4eb-4c0a-8b5e-b0a1f7c43942', 'tenant_id': u'88acb5e55f2b4fed91fca1e6d0c92a83', 'instance_id': u'red_http', 'acl_match_criteria': {'source_port': 0, 'protocol': 6, 'dest_port': 80}, 'infra_driver': 'netvirtsfc', 'attributes': {}, 'id': '9017c708-6592-48b1-88f0-4a8f31e8e9e6', 'name': u'red_http'} _create_sfc_classifier_post /usr/lib/python2.7/dist-packages/tacker/db/sfc_classifier/sfc_classifier_db.py:203
  41. 2016-07-26 11:52:23.296 9283 INFO tacker.wsgi [req-f816faec-1981-4b46-bcfe-78411b18acaa None] 172.16.0.1 - - [26/Jul/2016 11:52:23] "POST /v1.0/sfc-classifiers.json HTTP/1.1" 201 599 0.074326
Add Comment
Please, Sign In to add comment