Today I tried to build devstack queen with ODL Oxygen but could not make it working . It is failing at the build. Same local.conf file I have used with Ocata and ODL carbon.
I am not sure why it is failing for this issue .Why it is not able to find . Local.conf file is here http://paste.openstack.org/show/721520/ 2018-05-21 22:03:34.546 | ++ ./stack.sh:echo_summary:433 : [[ True != \T\r\u\e ]] 2018-05-21 22:03:34.565 | ++ ./stack.sh:echo_summary:439 : echo -e Configuring networking-sfc 2018-05-21 22:03:34.582 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:source:39 : networking_sfc_configure_common 2018-05-21 22:03:34.602 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:networking_sfc_configure_common:23 : is_service_enabled q-svc 2018-05-21 22:03:34.699 | ++ functions-common:is_service_enabled:1908 : return 0 2018-05-21 22:03:34.731 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:networking_sfc_configure_common:24 : _networking_sfc_install_server 2018-05-21 22:03:34.746 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:_networking_sfc_install_server:8 : _neutron_service_plugin_class_add networking_sfc.services.flowclassifier.plugin.FlowClassifierPlugin 2018-05-21 22:03:34.751 | /opt/stack/networking-sfc/devstack/plugin.sh: line 8: _neutron_service_plugin_class_add: command not found 2018-05-21 22:03:34.788 | + /opt/stack/networking-sfc/devstack/plugin.sh:_networking_sfc_install_server:1 : exit_trap 2018-05-21 22:03:34.803 | + ./stack.sh:exit_trap:510 : local r=127 2018-05-21 22:03:34.845 | ++ ./stack.sh:exit_trap:511 : jobs -p 2018-05-21 22:03:34.869 | + ./stack.sh:exit_trap:511 : jobs= 2018-05-21 22:03:34.897 | + ./stack.sh:exit_trap:514 : [[ -n '' ]] 2018-05-21 22:03:34.931 | + ./stack.sh:exit_trap:520 : '[' -f /tmp/tmp.quaCruhjzJ ']' 2018-05-21 22:03:34.963 | + ./stack.sh:exit_trap:521 : rm /tmp/tmp.quaCruhjzJ 2018-05-21 22:03:35.012 | + ./stack.sh:exit_trap:525 : kill_spinner 2018-05-21 22:03:35.043 | + ./stack.sh:kill_spinner:424 : '[' '!' -z '' ']' 2018-05-21 22:03:35.096 | + ./stack.sh:exit_trap:527 : [[ 127 -ne 0 ]] 2018-05-21 22:03:35.111 | + ./stack.sh:exit_trap:528 : echo 'Error on exit' 2018-05-21 22:03:35.111 | Error on exit 2018-05-21 22:03:35.134 | + ./stack.sh:exit_trap:530 : type -p generate-subunit 2018-05-21 22:03:35.155 | + ./stack.sh:exit_trap:531 : generate-subunit 1526937942 2273 fail 2018-05-21 22:03:36.303 | + ./stack.sh:exit_trap:533 : [[ -z /opt/stack/logs ]] 2018-05-21 22:03:36.311 | + ./stack.sh:exit_trap:536 : /opt/devstack/tools/worlddump.py -d /opt/stack/logs 2018-05-21 22:03:37.863 | + ./stack.sh:exit_trap:545 : exit 127 ~ Thanks Om Prakash -----Original Message----- From: Jaime Caamaño Ruiz [mailto:[email protected]] Sent: Monday, May 21, 2018 6:11 AM To: PRAKASH, OM <[email protected]>; Sam Hague <[email protected]> Cc: SINGH, ABHIJEET K <[email protected]>; FREEMAN, BRIAN D <[email protected]>; om prakash <[email protected]>; [email protected]; [email protected] Subject: Re: [sfc-dev] Opendaylight support for networking-sfc Hello I think that you might be using an old version of networking-odl. For networking-sfc support, ocata + carbon is just too old. You will have better luck with queens + oxygen. You might also be interested in the OPNFV SFC project, which is the main driver for networking-sfc ODL integration: https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.opnfv.org_display_sfc_Service-2BFunction-2BChaining-2BHome&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=lNVXx4K1UjH9fxzIdg9bncsbf_psOVd8J90DN5rKXgo&e= BR Jaime. -----Original Message----- From: " PRAKASH, OM " <[email protected]<mailto:[email protected]>> To: Sam Hague <[email protected]<mailto:[email protected]>>, [email protected]<mailto:[email protected]> Cc: ABHIJEET K SINGH <[email protected]<mailto:[email protected]>>, BRIAN D FREEMAN <[email protected]<mailto:[email protected]>> , om prakash <[email protected]<mailto:[email protected]>>, [email protected]<mailto:[email protected]> <n [email protected]<mailto:[email protected]>>, [email protected]<mailto:[email protected]> <sfc [email protected]<mailto:[email protected]>> Subject: Re: [sfc-dev] Opendaylight support for networking-sfc Date: Sun, 20 May 2018 04:38:52 +0000 I have crated the bug for networking-odl plugin. https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.launchpad.net_networking-2Dodl_-2Bbug_1772227&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=0zXVAErZkS6OQfmOquD9OZKRpg3mAKYAY_0ATz0qLYs&e= Thanks Om Prakash From: [email protected]<mailto:[email protected]> [mailto:netvirt-dev-bo [email protected]<mailto:[email protected]>] On Behalf Of PRAKASH, OM Sent: Sunday, May 20, 2018 12:15 AM To: Sam Hague <[email protected]<mailto:[email protected]>> Cc: SINGH, ABHIJEET K <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>. org; om prakash <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Subject: Re: [netvirt-dev] [sfc-dev] Opendaylight support for networking-sfc ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. Hi , I figured out what is the issue . I looked into the code of odl- neutron plugin. As per the below code , the Neutron from openstack should be calling url the https://urldefense.proofpoint.com/v2/url?u=http-3A__10.11.90.43-3A8087_controller_nb_v2_neut&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=dLMyT484akq2X2DZkIAYI38lz6PEsE0XecyjDBoVrIk&e= ron/sfc/portpairs for port pair creation . And I tested this url and created the port pair using rest api and it worked. There is SFC in the url . But Openstack is calling this http:// 10.10.90.43:8087/controller/nb/v2/neutron/portpairs. So there is bug in networking-odl plugin of openstack . they are calling wrong url for port pair creation. I will raise bug to them . https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_opendaylight_neutron_blob_master_northbound-2Dapi_src_&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=SMxpTak7woRioqYemth-Jl2S4X8TKY0Ud_Sc0Iiknws&e= main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortPairsNo rthbound.java#L36 curl -X POST \ https://urldefense.proofpoint.com/v2/url?u=http-3A__10.11.90.43-3A8181_controller_nb_v2_neutron_sfc_portpairs&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=apslT9HC6Rv5tTTS6Mauf4yh-A_skntEC_3hcgF5kDg&e= \ -H 'authorization: Basic YWRtaW46YWRtaW4=' \ -H 'cache-control: no-cache' \ -H 'content-type: application/json' \ -H 'postman-token: 8f97dc64-8d49-28af-5702-e4f176ea3d8e' \ -d '{ "portpair": { "ingress": "0c1086f0-0b12-48ff-b335-c1758051abc7", "description": "", "tenant_id": "6703821670ee4ff498ec6e9ab319b0c3", "egress": "11407108-28da-4a47-812b-beacd02d3483", "service_function_parameters": { "weight": 1, "correlation": null }, "project_id": "6703821670ee4ff498ec6e9ab319b0c3", "id": "8087a53b-0b9e-4b73-9a86-4c4149ff3301", "name": "PP1" } }' Output :- { "portpair": { "id": "8087a53b-0b9e-4b73-9a86-4c4149ff3301", "tenant_id": "6703821670ee4ff498ec6e9ab319b0c3", "project_id": "6703821670ee4ff498ec6e9ab319b0c3", "name": "PP1", "ingress": "0c1086f0-0b12-48ff-b335-c1758051abc7", "egress": "11407108-28da-4a47-812b-beacd02d3483", "Map": {} } } Thanks Om Prakash Thanks Om Prakash From: [email protected]<mailto:[email protected]> [mailto:netvirt-dev-bo [email protected]<mailto:[email protected]>] On Behalf Of PRAKASH, OM Sent: Saturday, May 19, 2018 9:09 PM To: Sam Hague <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Subject: Re: [netvirt-dev] [sfc-dev] Opendaylight support for networking-sfc ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. Hi Sam, This is not VPP . This is POC with Openstack (Ocata) + ODL ( Carbob )+ OVS Switch . Thanks Om Prakash From: Sam Hague [mailto:[email protected]] Sent: Saturday, May 19, 2018 3:26 PM To: PRAKASH, OM <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>> Subject: Re: [sfc-dev] Opendaylight support for networking-sfc networking-sfc is supported in ODL through NetVirt. I see you have been working with vpp which likely is using the gbp from odl and I don't think support was every added there. Either way, Manuel and Jaime are your experts and will know the right answers. On Sat, May 19, 2018 at 10:44 AM, PRAKASH, OM <[email protected]<mailto:[email protected]>> wrote: > Hi , > > Does Opendaylight support networking-sfc ? From Article > https://urldefense.proofpoint.com/v2/url?u=https-3A__doc&d=DwICaQ&c=LF > YZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPz > gfHwmXJh2xCAsiXCtm-zE&s=yGedH64BPcaIftXyjlm18H2h1kLsBCIwwfUdEDu2vn0&e= > s.openstack.org/networking-odl/ocata/specs/sfc-driver.html , it seems > Opendaylight does not support it. It has plan to do that. > > But when I look at this doc > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openst > ack_networking-2Do&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoW > MNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=MTVcV28jTvZcBB > G9i1ommThGzgfx7C83GXnipjc2pwU&e= dl/tree/master/devstack , there is > configuration for SFC , So I tried with Devstack /Opendaylight . > > And when I create Port pair in neutron side , it is successful . But > when I check the openstack log , it error out . it says portpair rest > api > (https://urldefense.proofpoint.com/v2/url?u=http-3A__10.10.90.43-3A808 > 7_controller_nb_v2_neutron_portpairs-29is&d=DwICaQ&c=LFYZ-o9_HUMeMTSQi > cvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiX > Ctm-zE&s=ioBvXYPaIhvZ2xcqsEZcJo4YCmyvoXX35eiBPoI1mz8&e= > not available . > > But I see for ports > (https://urldefense.proofpoint.com/v2/url?u=http-3A__10.10.90.43-3A808 > 7_controller_nb_v2_neutron&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS9 > 5qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=0ZPOfy > aZAfOGrDdzsOL-vl3PIT91wanuShUhTOkU0XQ&e= > /ports) rest api is available . > > Can you please help me what is current status of the support ? > > ubuntu@master:~/sfc_Demo$ neutron port-pair-create PP1 --ingress p2 > --egress p3 neutron CLI is deprecated and will be removed in the > future. Use openstack CLI instead. > Created a new port_pair: > +-----------------------------+------------------------------------ > --+ > | Field | Value > | > +-----------------------------+------------------------------------ > --+ > | description | > | > | egress | 11407108-28da-4a47-812b-beacd02d3483 > | > | id | 8087a53b-0b9e-4b73-9a86-4c4149ff3301 > | > | ingress | 0c1086f0-0b12-48ff-b335-c1758051abc7 > | > | name | PP1 > | > | project_id | 6703821670ee4ff498ec6e9ab319b0c3 > | > | service_function_parameters | {"weight": 1, "correlation": null} > | > | tenant_id | 6703821670ee4ff498ec6e9ab319b0c3 > | > +-----------------------------+------------------------------------ > --+ > > Logs from Neutron :- > > ubuntu@master:~/sfc_Demo$ > > adroom:100 make_reservation > /opt/stack/neutron/neutron/db/quota/driver.py:222 > 2018-05-19 10:11:23.331 3121 DEBUG networking_sfc.services.sfc.plugin > [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] > networking_sfc.services.sfc.plugin.SfcPlugin method create_port_pair > called wit h arguments (<neutron.context.Context object at > 0x7faba8c00d10>,) > {'port_pair': {u'port_pair': {u'ingress': u'0c1086f0-0b12-48ff-b335- > c1758051abc7', 'description': '', 'tenant_id': > u'6703821670ee4ff498ec6 > e9ab319b0c3', u'egress': u'11407108-28da-4a47-812b-beacd02d3483', > 'service_function_parameters': {'weight': 1, 'correlation': None}, > 'project_id': u'6703821670ee4ff498ec6e9ab319b0c3', u'name': u'PP1'}}} > w rapper /usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py:47 > 2018-05-19 10:11:23.331 3121 DEBUG networking_sfc.db.sfc_db [req- > 030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] > networking_sfc.services.sfc.plugin.SfcPlugin method create_port_pair > called with argument s (<neutron.context.Context object at > 0x7faba8c00d10>, {u'port_pair': > {u'ingress': u'0c1086f0-0b12-48ff-b335-c1758051abc7', 'description': > '', 'tenant_id': u'6703821670ee4ff498ec6e9ab319b0c3', u'egress': > u'11407108-28da-4a47-812b-beacd02d3483', > 'service_function_parameters': {'weight': 1, 'correlation': None}, > 'project_id': u'6703821670ee4ff498ec6e9ab319b0c3', u'name': u'PP1'}}) > {} wrapper /usr/local/lib/ > python2.7/dist-packages/oslo_log/helpers.py:47 > 2018-05-19 10:11:23.456 3121 DEBUG networking_odl.journal.journal > [req-030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] Resetting > thread timer set_sync_event /opt/stack/networking- > odl/networking_odl/jour > nal/journal.py:115 > 2018-05-19 10:11:23.461 3121 DEBUG networking_odl.journal.journal [-] > Thread walking database _sync_pending_rows /opt/stack/networking- > odl/networking_odl/journal/journal.py:165 > 2018-05-19 10:11:23.472 3121 DEBUG neutron.callbacks.manager [req- > 030694f3-3c63-44bb-ac64-f1adbfbdc790 admin admin] Notify callbacks [] > for port_pair, before_response _notify_loop /opt/stack/neutron/neutr > on/callbacks/manager.py:142 > 2018-05-19 10:11:23.474 3121 INFO neutron.wsgi [req-030694f3-3c63- > 44bb-ac64-f1adbfbdc790 admin admin] 10.10.90.43 "POST > /v2.0/sfc/port_pairs.json HTTP/1.1" status: 201 len: 566 time: > 0.2255571 > 2018-05-19 10:11:23.484 3121 INFO networking_odl.journal.journal [-] > Syncing create portpair 8087a53b-0b9e-4b73-9a86-4c4149ff3301 > 2018-05-19 10:11:23.485 3121 DEBUG networking_odl.common.client [-] > Sending METHOD (post) URL > (https://urldefense.proofpoint.com/v2/url?u=http-3A__10.10.90.43-3A808 > 7_controller_nb_v2_n&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WL > oWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=gvmemLn5wTar > NVy5OKOBEC8eLDOlg-7zgAYg5R4BTtQ&e= > eutron/portpairs) JSON ({ > "portpair": { > "ingress": "0c1086f0-0b12-48ff-b335-c1758051abc7", > "description": "", > "tenant_id": "6703821670ee4ff498ec6e9ab319b0c3", > "egress": "11407108-28da-4a47-812b-beacd02d3483", > "service_function_parameters": { > "weight": 1, > "correlation": null > }, > "project_id": "6703821670ee4ff498ec6e9ab319b0c3", > "id": "8087a53b-0b9e-4b73-9a86-4c4149ff3301", > "name": "PP1" > } > }) request /opt/stack/networking- > odl/networking_odl/common/client.py:86 > 2018-05-19 10:11:23.506 3121 DEBUG networking_odl.common.client [-] > Exception from ODL: 404 Client Error: Not Found for url: > https://urldefense.proofpoint.com/v2/url?u=http-3A__10.10&d=DwICaQ&c=L > FYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnP > zgfHwmXJh2xCAsiXCtm-zE&s=Ko46MfByMCUlAY82HJTsBM7yllAe5RQZwrZd_sPHHnA&e > = .90.43:8087/controller/nb/v2/neutron/portpairs <html> <head> <meta > http-equiv="Content-Type" content="text/html; charset=ISO-8859- 1"/> > <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR > 404</h2> <p>Problem accessing /controller/nb/v2/neutron/portpairs. > Reason: > <pre> Not Found</pre></p><hr /><i><small>Powered by > Jetty://</small></i><br/> > > <br/> > > > Thanks > Om Prakash > > > > _______________________________________________ > sfc-dev mailing list > [email protected]<mailto:[email protected]> > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.opendayligh > t.org_mailman_listinfo_sfc-2Ddev&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=n > GABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s= > 94dwXfpZq6c5ZQAeM6ate0T74hzbApXTLKb7sDlqG1s&e= > _______________________________________________ sfc-dev mailing list [email protected]<mailto:[email protected]> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.opendaylight.org_mailman_listinfo_sfc-2Ddev&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=5nQAN7pPWfWj3U_JdewnPzgfHwmXJh2xCAsiXCtm-zE&s=94dwXfpZq6c5ZQAeM6ate0T74hzbApXTLKb7sDlqG1s&e=
_______________________________________________ sfc-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/sfc-dev
