Create VNFFG problem

Asked by Sebastien Larouche on 2018-12-17

Hi,

When I try to create my VNF forwarding graph I'm getting this error message that says I have no attribute 'create_sfc_flow_classifier'? Thank you for your help.

This is the full log :

{"vnffg": {"attributes": {}, "vnffgd_id": "b44776ba-3e84-4c76-aed5-00eb6888d03f", "name": "Block-ICMP", "symmetrical": false}}^[[00m ^[[00;33mfrom (pid=3554) process_request /opt/stack/tacker/tacker/alarm_receiver.py:43^[[00m
2018-12-14 16:17:13.167 DEBUG tacker.api.v1.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mRequest body: {u'vnffg': {u'attributes': {}, u'vnffgd_id': u'b44776ba-3e84-4c76-aed5-00eb6888d03f', u'name$
2018-12-14 16:17:13.168 DEBUG tacker.common.log [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mtacker.nfvo.nfvo_plugin.NfvoPlugin method create_vnffg called with arguments (<tacker.context.Context objec$
2018-12-14 16:17:13.169 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg {'vnffgd_template': None, 'tenant_id': u'ddcb6098dd8c40d3bed28a760be41dc5', u'vnffgd_id': u'b44$
2018-12-14 16:17:13.178 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg template <tacker.db.nfvo.vnffg_db.VnffgTemplate[object at 7f704c0f21d0] {tenant_id=u'ddcb6098dd$
2018-12-14 16:17:13.179 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mConstituent VNFs: [u'VNFD-Xenial', u'VNFD-VyOS']^[[00m ^[[00;33mfrom (pid=3554) _create_vnffg_pre /op$
2018-12-14 16:17:13.190 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mSearching VNFS with id 481ed6e8-ac6b-417c-8d2a-94fe631d667b^[[00m ^[[00;33mfrom (pid=3554) _get_vnf_m$
2018-12-14 16:17:13.195 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c110c10] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:13.202 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c0f2050] {id=u'c716d915-9d82-44$
2018-12-14 16:17:13.210 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c110c90] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:13.213 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c09d390] {id=u'15fd304d-4e2f-46$
$7-bcc2-c7623cdd014f'}]^[[00m ^[[00;33mfrom (pid=3554) _get_vnf_mapping /opt/stack/tacker/tacker/db/nfvo/vnffg_db.py:618^[[00m
2018-12-14 16:17:13.221 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mSearching VNFS with id 137c0fa6-49df-4535-b13c-e9b20d2d7999^[[00m ^[[00;33mfrom (pid=3554) _get_vnf_m$
2018-12-14 16:17:13.224 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c09d890] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:13.227 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c09dc50] {id=u'15ba2505-3272-45$
2018-12-14 16:17:13.233 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mMatching VNFs found [{'id': u'14c64298-bd1b-450e-85cc-bee52dad03c4'}]^[[00m ^[[00;33mfrom (pid=3554) $
2018-12-14 16:17:13.234 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvalidating vim for vnfs [u'14c64298-bd1b-450e-85cc-bee52dad03c4', u'8f86eea2-735e-4181-8a3f-0a87e71f7$
2018-12-14 16:17:13.237 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c09dfd0] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:13.239 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c09dd90] {id=u'15ba2505-3272-45$
2018-12-14 16:17:13.250 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c10afd0] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:13.252 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c110b90] {id=u'c716d915-9d82-44$
2018-12-14 16:17:13.260 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mVNF Mapping: {u'VNFD-VyOS': u'14c64298-bd1b-450e-85cc-bee52dad03c4', u'VNFD-Xenial': u'8f86eea2-735e-$
2018-12-14 16:17:13.261 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mNFP: {'path_id': None, 'name': u'Forwarding_path1'}^[[00m ^[[00;33mfrom (pid=3554) _create_vnffg_pre $
2018-12-14 16:17:13.262 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifiers [{'name': u'block_icmp', 'match': {u'network_src_port_id': u'74c53118-a651-41e0-ab74-507a$
2018-12-14 16:17:13.273 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c25a150] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:13.276 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c110a50] {id=u'c716d915-9d82-44$
2018-12-14 16:17:13.291 DEBUG tacker.vnfm.vim_client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mVIM info found for vim id b19ff6b4-cb33-43c5-b127-a28b1e4f6751^[[00m ^[[00;33mfrom (pid=3554) get_vim $
2018-12-14 16:17:13.292 DEBUG tacker.vnfm.vim_client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mVIM id is b19ff6b4-cb33-43c5-b127-a28b1e4f6751^[[00m ^[[00;33mfrom (pid=3554) _build_vim_auth /opt/sta$
2018-12-14 16:17:13.362 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCreating Client object^[[00m ^[[00;33mfrom (pid=3554) Client /opt/stack/python-barbicanclient/barbicanc$
2018-12-14 16:17:13.368 DEBUG barbicanclient.v1.secrets [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mGetting secret - Secret href: http://10.6.20.6/key-manager/v1/secrets/cd30be0a-ba81-450e-8996-610b6$
2018-12-14 16:17:13.368 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:13.559 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:13.560 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:13.638 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:13.712 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:13.715 DEBUG tacker.common.log [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mtacker.vnfm.infra_drivers.openstack.openstack.OpenStack method get_resource_info called with arguments () {$
2018-12-14 16:17:14.149 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c096290] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:14.151 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c02f1d0] {id=u'c716d915-9d82-44$
2018-12-14 16:17:14.160 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c096dd0] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:14.162 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c096e10] {id=u'15ba2505-3272-45$
2018-12-14 16:17:14.174 DEBUG tacker.vnfm.vim_client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mVIM info found for vim id b19ff6b4-cb33-43c5-b127-a28b1e4f6751^[[00m ^[[00;33mfrom (pid=3554) get_vim $
$pt/stack/tacker/tacker/vnfm/vim_client.py:73^[[00m
2018-12-14 16:17:14.240 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCreating Client object^[[00m ^[[00;33mfrom (pid=3554) Client /opt/stack/python-barbicanclient/barbicanc$
2018-12-14 16:17:14.245 DEBUG barbicanclient.v1.secrets [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mGetting secret - Secret href: http://10.6.20.6/key-manager/v1/secrets/cd30be0a-ba81-450e-8996-610b6$
2018-12-14 16:17:14.246 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:14.315 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:14.316 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:14.388 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:14.457 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:14.458 DEBUG tacker.common.log [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mtacker.vnfm.infra_drivers.openstack.openstack.OpenStack method get_resource_info called with arguments () {$
2018-12-14 16:17:14.733 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704c0965d0] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:14.737 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704c02f090] {id=u'15ba2505-3272-45$
2018-12-14 16:17:14.743 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mchain: [{'connection_points': [u'74c53118-a651-41e0-ab74-507a2fad54c8'], 'name': u'Xenial-1'}, {'conn$
2018-12-14 16:17:14.757 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db <tacker.db.nfvo.vnffg_db.Vnffg[object at 7f704c795750] {tenant_id=u'ddcb6098dd8c40d3bed28a76$
2018-12-14 16:17:14.764 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db nfp [<tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704c288050] {tenant_id=u'ddcb6098dd8c40d3$
2018-12-14 16:17:14.768 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mnfp_db <tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bfff550] {tenant_id=u'ddcb6098dd8c40d3bed28a7$
2018-12-14 16:17:14.783 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mchain_db <tacker.db.nfvo.vnffg_db.VnffgChain[object at 7f704c008910] {tenant_id=u'ddcb6098dd8c40d3bed$
2018-12-14 16:17:14.789 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db <tacker.db.nfvo.vnffg_db.VnffgClassifier[object at 7f704c0101d0] {tenant_id=u'ddcb6098d$
2018-12-14 16:17:14.800 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db match [<tacker.db.nfvo.vnffg_db.ACLMatchCriteria[object at 7f704bf98bd0] {id=u'ec1b9fe0$
2018-12-14 16:17:14.810 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704bf98a50] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:14.814 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704bf987d0] {id=u'15ba2505-3272-45$
2018-12-14 16:17:14.835 DEBUG tacker.nfvo.nfvo_plugin [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mVIM id is b19ff6b4-cb33-43c5-b127-a28b1e4f6751^[[00m ^[[00;33mfrom (pid=3554) _build_vim_auth /opt/st$
2018-12-14 16:17:14.899 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCreating Client object^[[00m ^[[00;33mfrom (pid=3554) Client /opt/stack/python-barbicanclient/barbicanc$
2018-12-14 16:17:14.907 DEBUG barbicanclient.v1.secrets [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mGetting secret - Secret href: http://10.6.20.6/key-manager/v1/secrets/cd30be0a-ba81-450e-8996-610b6$
2018-12-14 16:17:14.907 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:14.984 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:14.985 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:15.058 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:15.135 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:15.136 DEBUG tacker.nfvo.drivers.vim.openstack_driver [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mfc passed is {'network_src_port_id': u'74c53118-a651-41e0-ab74-507a2fad54c8', 'ip_ds$
2018-12-14 16:17:15.137 WARNING tacker.nfvo.drivers.vim.openstack_driver [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mflow classifier tenant_id not supported by networking-sfc driver^[[00m
$/stack/tacker/tacker/nfvo/drivers/vim/openstack_driver.py:382^[[00m
2018-12-14 16:17:15.147 DEBUG tacker.nfvo.drivers.vim.openstack_driver [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mfc_dict passed is {'protocol': 'icmp', 'destination_ip_prefix': u'192.168.90.102/24'$
2018-12-14 16:17:15.147 DEBUG tacker.common.log [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mtacker.nfvo.nfvo_plugin.NfvoPlugin method delete_vnffg called with arguments (<tacker.context.Context objec$
2018-12-14 16:17:15.153 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db <tacker.db.nfvo.vnffg_db.Vnffg[object at 7f704bfc8090] {tenant_id=u'ddcb6098dd8c40d3bed28a76$
2018-12-14 16:17:15.156 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db nfp [<tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bfc8610] {tenant_id=u'ddcb6098dd8c40d3$
2018-12-14 16:17:15.160 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mnfp_db <tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bfc8550] {tenant_id=u'ddcb6098dd8c40d3bed28a7$
2018-12-14 16:17:15.169 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mchain_db <tacker.db.nfvo.vnffg_db.VnffgChain[object at 7f704bfc8e10] {tenant_id=u'ddcb6098dd8c40d3bed$
2018-12-14 16:17:15.172 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db <tacker.db.nfvo.vnffg_db.VnffgClassifier[object at 7f704bf5a190] {tenant_id=u'ddcb6098d$
2018-12-14 16:17:15.178 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db match [<tacker.db.nfvo.vnffg_db.ACLMatchCriteria[object at 7f704bf5a710] {id=u'ec1b9fe0$
2018-12-14 16:17:15.196 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db <tacker.db.nfvo.vnffg_db.Vnffg[object at 7f704bf5a3d0] {tenant_id=u'ddcb6098dd8c40d3bed28a76$
2018-12-14 16:17:15.200 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db nfp [<tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bf6a610] {tenant_id=u'ddcb6098dd8c40d3$
2018-12-14 16:17:15.203 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mnfp_db <tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bf5ad50] {tenant_id=u'ddcb6098dd8c40d3bed28a7$
2018-12-14 16:17:15.215 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mchain_db <tacker.db.nfvo.vnffg_db.VnffgChain[object at 7f704bf5aad0] {tenant_id=u'ddcb6098dd8c40d3bed$
2018-12-14 16:17:15.220 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db <tacker.db.nfvo.vnffg_db.VnffgClassifier[object at 7f704bfbfd90] {tenant_id=u'ddcb6098d$
2018-12-14 16:17:15.227 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db match [<tacker.db.nfvo.vnffg_db.ACLMatchCriteria[object at 7f704bf6a590] {id=u'ec1b9fe0$
2018-12-14 16:17:15.233 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db <tacker.db.vnfm.vnfm_db.VNF[object at 7f704bf5a190] {tenant_id=u'ddcb6098dd8c40d3bed28a760be41d$
2018-12-14 16:17:15.236 DEBUG tacker.db.vnfm.vnfm_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnf_db attributes [<tacker.db.vnfm.vnfm_db.VNFAttribute[object at 7f704bf5a090] {id=u'15ba2505-3272-45$
2018-12-14 16:17:15.251 DEBUG tacker.nfvo.nfvo_plugin [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mVIM id is b19ff6b4-cb33-43c5-b127-a28b1e4f6751^[[00m ^[[00;33mfrom (pid=3554) _build_vim_auth /opt/st$
2018-12-14 16:17:15.325 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCreating Client object^[[00m ^[[00;33mfrom (pid=3554) Client /opt/stack/python-barbicanclient/barbicanc$
2018-12-14 16:17:15.331 DEBUG barbicanclient.v1.secrets [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mGetting secret - Secret href: http://10.6.20.6/key-manager/v1/secrets/cd30be0a-ba81-450e-8996-610b6$
2018-12-14 16:17:15.332 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:15.413 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:15.414 INFO barbicanclient.base [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mCalculated Secrets uuid ref: secrets/cd30be0a-ba81-450e-8996-610b684952fe^[[00m
2018-12-14 16:17:15.485 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:15.567 DEBUG barbicanclient.client [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mResponse status 200^[[00m ^[[00;33mfrom (pid=3554) _check_status_code /opt/stack/python-barbicanclient/$
2018-12-14 16:17:15.575 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db <tacker.db.nfvo.vnffg_db.Vnffg[object at 7f704bf5a990] {tenant_id=u'ddcb6098dd8c40d3bed28a76$
2018-12-14 16:17:15.579 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mvnffg_db nfp [<tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bfbfed0] {tenant_id=u'ddcb6098dd8c40d3$
2018-12-14 16:17:15.582 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mnfp_db <tacker.db.nfvo.vnffg_db.VnffgNfp[object at 7f704bfc8ed0] {tenant_id=u'ddcb6098dd8c40d3bed28a7$
2018-12-14 16:17:15.593 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mchain_db <tacker.db.nfvo.vnffg_db.VnffgChain[object at 7f704bf6a110] {tenant_id=u'ddcb6098dd8c40d3bed$
2018-12-14 16:17:15.597 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db <tacker.db.nfvo.vnffg_db.VnffgClassifier[object at 7f704bf6ac50] {tenant_id=u'ddcb6098d$
2018-12-14 16:17:15.604 DEBUG tacker.db.nfvo.vnffg_db [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mclassifier_db match [<tacker.db.nfvo.vnffg_db.ACLMatchCriteria[object at 7f704bf5ab90] {id=u'ec1b9fe0$
2018-12-14 16:17:15.621 ERROR tacker.api.v1.resource [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35mcreate failed: No details.^[[00m: AttributeError: 'Client' object has no attribute 'create_sfc_flow_cl$
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00mTraceback (most recent call last):
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/api/v1/resource.py", line 77, in resource
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m result = method(request=request, **args)
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/api/v1/base.py", line 393, in create
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m obj = obj_creator(request.context, **kwargs)
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/common/log.py", line 35, in wrapper
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m return method(*args, **kwargs)
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/nfvo/nfvo_plugin.py", line 359, in create_vnffg
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m self.delete_vnffg(context, vnffg_id=vnffg_dict['id'])
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m self.force_reraise()
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/nfvo/nfvo_plugin.py", line 348, in create_vnffg
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m auth_attr=vim_obj['auth_cred']))
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/common/driver_manager.py", line 70, in invoke
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m return getattr(driver, method_name)(**kwargs)
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/nfvo/drivers/vim/openstack_driver.py", line 388, in create_flow_classifier
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m sfc_classifier_params)
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m File "/opt/stack/tacker/tacker/nfvo/drivers/vim/openstack_driver.py", line 848, in flow_classifier_create
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m fc = self.client.create_sfc_flow_classifier(
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00mAttributeError: 'Client' object has no attribute 'create_sfc_flow_classifier'
2018-12-14 16:17:15.621 TRACE tacker.api.v1.resource ^[[01;35m^[[00m
2018-12-14 16:17:15.623 INFO tacker.wsgi [^[[01;36mreq-3d9d0bf5-ca47-4145-93b7-f3681a99ea20 ^[[00;36mdemo admin] ^[[01;35m10.6.20.6 - - [14/Dec/2018 16:17:15] "POST /v1.0/vnffgs.json HTTP/1.1" 500 367 2.494393^[[00m

Question information

Language:
English Edit question
Status:
Open
For:
tacker Edit question
Assignee:
No assignee Edit question
Last query:
2019-01-18
Last reply:
2019-01-06
Cong Phuoc Hoang (hoangphuoc) said : #1

I think you installed old version of networking-sfc. You can update newer version of networking--sfc to fix that issue.

Sebastien Larouche (infosebas) said : #2

Thank you for your fast answer. I updated the networking-sfc package and now it pass the flow-classifier creation but I have a problem after that it says that value host_id cannot be NULL in neutron database.

This is my neutron log result :

ERROR networking_sfc.services.sfc.driver_manager ^[[01;35m^[[00mDBError: (pymysql.err.IntegrityError) (1048, u"Column 'host_id' cannot be null") [SQL: u'INSERT INTO sfc_portpair_details (project_id, id, ingress, egress, host_id, in_mac_$
ERROR networking_sfc.services.sfc.driver_manager ^[[01;35m^[[00m
ERROR networking_sfc.services.sfc.driver_manager [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mSFC driver 'ovs' failed in create_port_pair_postcommit^[[00m: DBError: (pymysql.err.IntegrityError) $
ERROR networking_sfc.services.sfc.plugin [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mcreate_port_pair_postcommit failed.^[[00m: SfcDriverError: create_port_pair_postcommit failed.
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00mTraceback (most recent call last):
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/plugin.py", line 124, in create_port_pair
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m self.driver_manager.create_port_pair_postcommit(portpair_context)
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/driver_manager.py", line 142, in create_port_pair_postcommit
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m self._call_drivers("create_port_pair_postcommit", context)
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/driver_manager.py", line 113, in _call_drivers
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m method=method_name
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00mSfcDriverError: create_port_pair_postcommit failed.
ERROR networking_sfc.services.sfc.plugin ^[[01;35m^[[00m
ERROR networking_sfc.services.sfc.plugin [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mCreate port pair failed, deleting port_pair '7d2853fb-2608-42d3-a747-ae21628a05ec'^[[00m: SfcDriverError: cr$
DEBUG networking_sfc.services.sfc.plugin [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mnetworking_sfc.services.sfc.plugin.SfcPlugin method delete_port_pair called with arguments (<neutron_lib.con$
DEBUG networking_sfc.db.sfc_db [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mnetworking_sfc.services.sfc.plugin.SfcPlugin method get_port_pair called with arguments (<neutron_lib.context.Context $
DEBUG networking_sfc.services.sfc.drivers.ovs.driver [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mnetworking_sfc.services.sfc.drivers.ovs.driver.OVSSfcDriver method delete_port_pair called with $
DEBUG networking_sfc.db.sfc_db [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mnetworking_sfc.services.sfc.plugin.SfcPlugin method get_port_pair called with arguments (<neutron_lib.context.Context $
DEBUG networking_sfc.db.sfc_db [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mnetworking_sfc.services.sfc.plugin.SfcPlugin method delete_port_pair called with arguments (<neutron_lib.context.Conte$
ERROR neutron.api.v2.resource [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35mcreate failed: No details.^[[00m: SfcDriverError: create_port_pair_postcommit failed.
ERROR neutron.api.v2.resource ^[[01;35m^[[00mTraceback (most recent call last):
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/api/v2/resource.py", line 98, in resource
ERROR neutron.api.v2.resource ^[[01;35m^[[00m result = method(request=request, **args)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/api/v2/base.py", line 438, in create
ERROR neutron.api.v2.resource ^[[01;35m^[[00m return self._create(request, body, **kwargs)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 140, in wrapped
ERROR neutron.api.v2.resource ^[[01;35m^[[00m setattr(e, '_RETRY_EXCEEDED', True)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.force_reraise()
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR neutron.api.v2.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 136, in wrapped
ERROR neutron.api.v2.resource ^[[01;35m^[[00m return f(*args, **kwargs)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 154, in wrapper
ERROR neutron.api.v2.resource ^[[01;35m^[[00m ectxt.value = e.inner_exc
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.force_reraise()
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR neutron.api.v2.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 142, in wrapper
ERROR neutron.api.v2.resource ^[[01;35m^[[00m return f(*args, **kwargs)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 183, in wrapped
ERROR neutron.api.v2.resource ^[[01;35m^[[00m LOG.debug("Retry wrapper got retriable exception: %s", e)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.force_reraise()
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR neutron.api.v2.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 179, in wrapped
ERROR neutron.api.v2.resource ^[[01;35m^[[00m return f(*dup_args, **dup_kwargs)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/api/v2/base.py", line 557, in _create
ERROR neutron.api.v2.resource ^[[01;35m^[[00m obj = do_create(body)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/api/v2/base.py", line 539, in do_create
ERROR neutron.api.v2.resource ^[[01;35m^[[00m request.context, reservation.reservation_id)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.force_reraise()
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR neutron.api.v2.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/api/v2/base.py", line 532, in do_create
ERROR neutron.api.v2.resource ^[[01;35m^[[00m return obj_creator(request.context, **kwargs)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py", line 67, in wrapper
ERROR neutron.api.v2.resource ^[[01;35m^[[00m return method(*args, **kwargs)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/plugin.py", line 131, in create_port_pair
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.delete_port_pair(context, portpair_db['id'])
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.force_reraise()
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
ERROR neutron.api.v2.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/plugin.py", line 124, in create_port_pair
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self.driver_manager.create_port_pair_postcommit(portpair_context)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/driver_manager.py", line 142, in create_port_pair_postcommit
ERROR neutron.api.v2.resource ^[[01;35m^[[00m self._call_drivers("create_port_pair_postcommit", context)
ERROR neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/networking-sfc/networking_sfc/services/sfc/driver_manager.py", line 113, in _call_drivers
ERROR neutron.api.v2.resource ^[[01;35m^[[00m method=method_name
ERROR neutron.api.v2.resource ^[[01;35m^[[00mSfcDriverError: create_port_pair_postcommit failed.
ERROR neutron.api.v2.resource ^[[01;35m^[[00m
INFO neutron.wsgi [^[[01;36mNone req-e1f1e68f-a75f-4968-b584-4fc4b7d42e83 ^[[00;36madmin admin] ^[[01;35m10.6.20.7 "POST /v2.0/sfc/port_pairs HTTP/1.1" status: 500 len: 326 time: 0.7662261^[[00m
DEBUG neutron_lib.callbacks.manager [^[[01;36mNone req-147c89d3-90ca-4806-820b-2ecf81235abb ^[[00;36mNone None] ^[[01;35mNotify callbacks ['neutron.services.segments.db._update_segment_host_mapping_for_agent-8765136371762', 'neutron.plugins.ml2.plugin.Ml2Plugin._retry_binding_revived_agents-3484838'] for agent, after_update^[[00m ^[[00;33m{{(pid=27067) _notify_loop /usr/local/lib/python2.7/dist-packages/neutron_lib/callbacks/manager.py:193}}^[[00m

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Sebastien Larouche (infosebas) said : #4

I'm still waiting for an answer. Thank you

Cong Phuoc Hoang (hoangphuoc) said : #5

Hi Sebastien,

You should check neutron and networking-sfc version if they are matched or not. I think they should be queens version or later.

Sebastien Larouche (infosebas) said : #6

Hi Cong,

I checked my neutron-server and networking-sfc version. Both are rocky version, neutron-server has 13.0.3 and networking-sfc has 7.0.1.

Cong Phuoc Hoang (hoangphuoc) said : #7

The version of neutron and networking-sfc look fine to me. Another problem can be neutron client. IMO, you can try to update latest neutron client.

Sebastien Larouche (infosebas) said : #8

The neutron client version is 6.9.1.

Can you help with this problem?

Provide an answer of your own, or ask Sebastien Larouche for more information if necessary.

To post a message you must log in.