neutron-server crashes when loading *aas plugins

Bug #1585102 reported by abregman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Ihar Hrachyshka
Nominated for Mitaka by Ihar Hrachyshka
Nominated for Newton by Ihar Hrachyshka

Bug Description

When trying to start neutron-server, it crashes upon the loading of lbaas plugin: http://paste.openstack.org/show/498502/

OpenStack version: Mitaka.
Distro: Red Hat Enterprise Linux 7.2
Deployment mechanism: Packstack

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

I confirmed it locally. Basically, neutron is broken when trying to load a service plugin using provider configuration, if at least one --config-dir option is passed in CLI. Both Mitaka and Newton are broken. The breakage is triggered by the following change in oslo.config: https://review.openstack.org/#/c/281248/2 that changed the type for config_dir option from string to list.

Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
status: New → Confirmed
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/320304

Changed in neutron:
status: Confirmed → In Progress
tags: added: mitaka-backport-potential
Changed in neutron:
milestone: none → newton-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/320304
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7f31ccb7bbe0f78a34d704c59d0562ea10029893
Submitter: Jenkins
Branch: master

commit 7f31ccb7bbe0f78a34d704c59d0562ea10029893
Author: Ihar Hrachyshka <email address hidden>
Date: Tue May 24 10:42:10 2016 +0200

    Adopt to config_dir option being a list and not a string

    Since oslo.config 3.8.0 (that included
    Ibd0566f11df62da031afb128c9687c5e8c7b27ae), config_dir option is a list,
    not a string. While our custom provider configuration parser for
    multistring options assumes the latter.

    It makes all installations that 1) pass at least one --config-dir option
    in CLI and 2) enable any service plugin that relies on provider
    definitions, to fail to start neutron-server. For example, this affects
    any RDO Mitaka installation with *aas service plugins enabled.

    Since Newton requires >=3.9.0, we are fine to switch to the list type
    without any code to support backwards compatibility with older option
    type. For Mitaka backport, we will need to handle both cases.

    Change-Id: I10e399a852d9fba0fd1aea79a10e2e7c906e4b3c
    Closes-Bug: #1585102

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/322196

tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
tags: added: neutron-proactive-backport-potential
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

This issue was fixed in the openstack/neutron 9.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/mitaka)

Reviewed: https://review.openstack.org/322196
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=263a161fc0f9bf0a1f32c7019567be69c1e68a05
Submitter: Jenkins
Branch: stable/mitaka

commit 263a161fc0f9bf0a1f32c7019567be69c1e68a05
Author: Ihar Hrachyshka <email address hidden>
Date: Tue May 24 10:42:10 2016 +0200

    Adopt to config_dir option being a list and not a string

    Since oslo.config 3.8.0 (that included
    Ibd0566f11df62da031afb128c9687c5e8c7b27ae), config_dir option is a list,
    not a string. While our custom provider configuration parser for
    multistring options assumes the latter.

    It makes all installations that 1) pass at least one --config-dir option
    in CLI and 2) enable any service plugin that relies on provider
    definitions, to fail to start neutron-server. For example, this affects
    any RDO Mitaka installation with *aas service plugins enabled.

    Since Newton requires >=3.9.0, we are fine to switch to the list type
    without any code to support backwards compatibility with older option
    type. For Mitaka backport, we will need to handle both cases.

    Mitaka changes:
    - support oslo.config 3.7.x series by falling back to using config_dir
      option to extract --config-dir argument value.

    Change-Id: I10e399a852d9fba0fd1aea79a10e2e7c906e4b3c
    Closes-Bug: #1585102
    (cherry picked from commit 7f31ccb7bbe0f78a34d704c59d0562ea10029893)

tags: added: in-stable-mitaka
tags: removed: mitaka-backport-potential neutron-proactive-backport-potential
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 8.2.0

This issue was fixed in the openstack/neutron 8.2.0 release.

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.