On Tue, May 29, 2018 at 2:21 PM, PRAKASH, OM <op3...@att.com> wrote: > Hi Sam/Jaime, > > > > I looked in to the config file and I see control local.conf file . I see > that q-svc service is not enabled and if you don’t enable , then ODL > networking will not work. > In pike or queens the neutron legacy values were changed to the new neutron values, q-svc is now neutron, q-dhcp is neutron-dhcp. Here is the link to the upstream netvirt-sfc job, which should have the driver working: https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-sfc-fluorine/39/control_1/local.conf.gz
> > > I tested it and find the issue that neutron network was not enable with > ODL > > > > https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/ > netvirt-csit-1node-openstack-queens-sfc-oxygen/12/control_1/local.conf.gz > > > > After I enabled the q-svc service , then I got the same issue as previous > one. > Shouldn't mix legacy and new neutron together. The below stack.log is similar to your log, but finds the "_neutron_service_plugin_class_add" function. What version of devstack do you have? I would look into your devstack source and make sure the function is defined. I recall you started with an older version, so if you simply did a git pull or changed your git branch for devstack then you might have issues. devstack is very fragile when switching versions. It is almost always best to build from scratch unless you have the time to debug a busted setup. The other difference is this is running master and not queens. notice we are using "neutron_service_plugin_class_add" while you have "_ neutron_service_plugin_class_add". Notice the extra _ in your log, which means you are on queens (or earlier) https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-sfc-fluorine/39/control_1/stack.log.gz 2018-05-28 09:47:57.788 | ++ ./stack.sh:echo_summary:439 : echo -e Configuring networking-sfc 2018-05-28 09:47:57.790 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:source:38 : networking_sfc_configure_common 2018-05-28 09:47:57.791 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:networking_sfc_configure_common:22 : is_service_enabled q-svc neutron-api 2018-05-28 09:47:57.803 | ++ functions-common:is_service_enabled:1908 : return 0 2018-05-28 09:47:57.804 | ++ /opt/stack/networking-sfc/devstack/plugin.sh:networking_sfc_configure_common:23 : _networking_sfc_install_server 2018-05-28 09:47:57.806 | ++ /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-29 18:02:48.158 | ++ /opt/stack/networking-sfc/ > devstack/plugin.sh:networking_sfc_configure_common:23 : > is_service_enabled q-svc > > 2018-05-29 18:02:48.252 | ++ functions-common:is_service_enabled:1908 : > return 0 > > 2018-05-29 18:02:48.262 | ++ /opt/stack/networking-sfc/ > devstack/plugin.sh:networking_sfc_configure_common:24 : > _networking_sfc_install_server > > 2018-05-29 18:02:48.276 | ++ /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-29 18:02:48.280 | /opt/stack/networking-sfc/devstack/plugin.sh: > line 8: *_neutron_service_plugin_class_add: command not found* > > 2018-05-29 18:02:48.300 | + /opt/stack/networking-sfc/devstack/plugin.sh:_ > networking_sfc_install_server:1 : exit_trap > > 2018-05-29 18:02:48.314 | + ./stack.sh:exit_trap:510 : > local r=127 > > 2018-05-29 18:02:48.329 | ++ ./stack.sh:exit_trap:511 : > jobs -p > > 2018-05-29 18:02:48.346 | + ./stack.sh:exit_trap:511 : > jobs= > > 2018-05-29 18:02:48.362 | + ./stack.sh:exit_trap:514 : > [[ -n '' ]] > > 2018-05-29 18:02:48.370 | + ./stack.sh:exit_trap:520 : > '[' -f /tmp/tmp.j1OaiWkbxD ']' > > 2018-05-29 18:02:48.380 | + ./stack.sh:exit_trap:521 : > rm /tmp/tmp.j1OaiWkbxD > > 2018-05-29 18:02:48.402 | + ./stack.sh:exit_trap:525 : > kill_spinner > > 2018-05-29 18:02:48.417 | + ./stack.sh:kill_spinner:424 : > '[' '!' -z '' ']' > > 2018-05-29 18:02:48.439 | + ./stack.sh:exit_trap:527 : > [[ 127 -ne 0 ]] > > 2018-05-29 18:02:48.459 | + ./stack.sh:exit_trap:528 : > echo 'Error on exit' > > 2018-05-29 18:02:48.460 | Error on exit > > 2018-05-29 18:02:48.470 | + ./stack.sh:exit_trap:530 : > type -p generate-subunit > > 2018-05-29 18:02:48.482 | + ./stack.sh:exit_trap:531 : > generate-subunit 1527615858 1110 fail > > 2018-05-29 18:02:50.105 | + ./stack.sh:exit_trap:533 : > [[ -z /opt/stack/logs ]] > > 2018-05-29 18:02:50.124 | + ./stack.sh:exit_trap:536 : > /opt/devstack/tools/worlddump.py -d /opt/stack/logs > > 2018-05-29 18:02:52.159 | + ./stack.sh:exit_trap:545 : > exit 127 > > ubuntu@master:~/devstack$ > > > > *Thanks* > > *Om Prakash* > > > > *From:* PRAKASH, OM > *Sent:* Tuesday, May 22, 2018 6:14 AM > *To:* 'Sam Hague' <sha...@redhat.com> > *Cc:* jcaam...@suse.com; SINGH, ABHIJEET K <as7...@att.com>; FREEMAN, > BRIAN D <bf1...@att.com>; om prakash <dude...@gmail.com>; > netvirt-...@lists.opendaylight.org; sfc-dev@lists.opendaylight.org > *Subject:* RE: [sfc-dev] Opendaylight support for networking-sfc > > > > Thank you Sam and Jaime for help. I am going on Vacation this week. I > will work on this next week. > > > > *Thanks* > > *Om Prakash* > > > > *From:* Sam Hague [mailto:sha...@redhat.com <sha...@redhat.com>] > *Sent:* Monday, May 21, 2018 8:56 PM > *To:* PRAKASH, OM <op3...@att.com> > *Cc:* jcaam...@suse.com; SINGH, ABHIJEET K <as7...@att.com>; FREEMAN, > BRIAN D <bf1...@att.com>; om prakash <dude...@gmail.com>; > netvirt-...@lists.opendaylight.org; sfc-dev@lists.opendaylight.org > > *Subject:* Re: [sfc-dev] Opendaylight support for networking-sfc > > > > As Jaime mentioned, ocata is old. You should have better luck with oxygen > and queens. [1] is our upstream job that works for queens and oxygen. Try > to compare your local.conf to those in the job. > > > > [1] https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/ > netvirt-csit-1node-openstack-queens-sfc-oxygen/12/ > <https://urldefense.proofpoint.com/v2/url?u=https-3A__logs.opendaylight.org_releng_vex-2Dyul-2Dodl-2Djenkins-2D1_netvirt-2Dcsit-2D1node-2Dopenstack-2Dqueens-2Dsfc-2Doxygen_12_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=VmyUKoSNNwpont5MhaIy76Vn-f3PBIyrsKzRt-O4XDw&s=7ZSTefNwzONO991WH7zFt5YyEsPKaGn1SlxMGHdHdvY&e=> > > > > On Mon, May 21, 2018 at 7:10 PM, PRAKASH, OM <op3...@att.com> wrote: > > 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/ > <https://urldefense.proofpoint.com/v2/url?u=http-3A__paste.openstack.org_show_721520_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=nGABpS95qb7WLoWMNmdaQg&m=VmyUKoSNNwpont5MhaIy76Vn-f3PBIyrsKzRt-O4XDw&s=c3_zDg8Gg18biK3Z6ODyBSmj3qkjD2A8HbnrNgmljDQ&e=> > > > > 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:jcaam...@suse.de] > Sent: Monday, May 21, 2018 6:11 AM > To: PRAKASH, OM <op3...@att.com>; Sam Hague <sha...@redhat.com> > Cc: SINGH, ABHIJEET K <as7...@att.com>; FREEMAN, BRIAN D <bf1...@att.com>; > om prakash <dude...@gmail.com>; netvirt-...@lists.opendaylight.org; > sfc-dev@lists.opendaylight.org > 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. > > > > >
_______________________________________________ sfc-dev mailing list sfc-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/sfc-dev