local devstack can not startup usinglocal.conf.example

Bug #1740007 reported by Dong Jun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Fix Released
Low
Unassigned

Bug Description

The error log[1] told me configure_neutron_after_post_config not found but it should not happen.
What I got so far seems that it is related to commit[2].
Looking at lib/neutron in devstack[3], if there were some some neutron services disabled, is_neutron_legacy_enabled returned false and sourcing neutron-legacy was skipped.
Did grenade not failed due to different handling with q-*, I guess so.

Either the local.conf.example should be adapted to neutron services or the override-defaults should be adapted to q services.

[1]
2017-12-16 09:00:26.118 | +^[[3242m./stack.sh:main:1262 ^[(B^[[m is_service_enabled neutron-api
2017-12-16 09:00:26.171 | +^[[3242mfunctions-common:is_service_enabled:1908 ^[(B^[[m return 1
2017-12-16 09:00:26.176 | +^[[3242m./stack.sh:main:1265 ^[(B^[[m is_service_enabled q-svc
2017-12-16 09:00:26.216 | +^[[3242mfunctions-common:is_service_enabled:1908 ^[(B^[[m return 0
2017-12-16 09:00:26.221 | +^[[3242m./stack.sh:main:1266 ^[(B^[[m echo_summary 'Starting Neutron'
2017-12-16 09:00:26.226 | +^[[3242m./stack.sh:echo_summary:416 ^[(B^[[m [[ -t 3 ]]
2017-12-16 09:00:26.231 | +^[[3242m./stack.sh:echo_summary:416 ^[(B^[[m [[ True != \T\r\u\e ]]
2017-12-16 09:00:26.236 | +^[[3242m./stack.sh:echo_summary:422 ^[(B^[[m echo -e Starting Neutron
2017-12-16 09:00:26.241 | +^[[3242m./stack.sh:main:1267 ^[(B^[[m configure_neutron_after_post_config
2017-12-16 09:00:26.242 | ./stack.sh: line 1267: configure_neutron_after_post_config: command not found
2017-12-16 09:00:26.247 | ++^[[3242m./stack.sh:main:1267 ^[(B^[[m err_trap
2017-12-16 09:00:26.253 | ++^[[3242m./stack.sh:err_trap:534 ^[(B^[[m local r=127
2017-12-16 09:00:26.259 | stack.sh failed: full log in /opt/stack/logs/devstacklog.txt.2017-12-16-163953
2017-12-16 09:00:26.261 | Error on exit

[2]https://github.com/openstack/networking-odl/commit/8afd1c61c80732161f1637fcf05f1000f6e05957#diff-d1eec6472723ae048c69161d954e9e57R26

[3]
https://github.com/openstack-dev/devstack/blob/master/lib/neutron#L102-L110

Revision history for this message
Isaku Yamahata (yamahata) wrote :

local.conf.example needs to be updated to enable neutron-api instead of q-svc.
also q-dhcp and q-meta also changed to neutron-dhcp and neutorn-meta.

Revision history for this message
Isaku Yamahata (yamahata) wrote :

I uploaded https://review.openstack.org/#/c/534857/
But I haven't tested it personally. Can you please test it?

Changed in networking-odl:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (master)

Reviewed: https://review.openstack.org/534857
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=13aee6fbfddb9964f39cf10664f2aec1df9b8e14
Submitter: Zuul
Branch: master

commit 13aee6fbfddb9964f39cf10664f2aec1df9b8e14
Author: Isaku Yamahata <email address hidden>
Date: Wed Jan 17 09:35:15 2018 -0800

    devstack: update local.conf.example to use lib/neutron

    now networking-odl/devstack is using lib/neutron instead of
    lib/neutron-legacy. So update local.conf.example to adapt it.

    Change-Id: Ia28df4e0fae735d9ab365e5c64c75fb88af6fe90
    Closes-Bug: #1740007

Changed in networking-odl:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-odl 12.0.0.0rc1

This issue was fixed in the openstack/networking-odl 12.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.