Trunk create fails due to case typo

Bug #1699516 reported by Bence Romsics
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Armando Migliaccio

Bug Description

When you boot a vm with a trunk using the ovs trunk driver the boot fails in allocating the network. While you get this ovs-agent error log:

neutron-openvswitch-agent[12170]: CallbackFailure: Callback neutron.services.trunk.drivers.openvswitch.agent.driver .OVSTrunkSkeleton.check_trunk_dependencies-1030432 failed with "no such option securitygroup in group [DEFAULT]"

The cause looks like to be a case typo in the fix of bug #1669074.

neutron/services/trunk/drivers/openvswitch/agent/driver.py:
wrong: cfg.CONF.securitygroup.firewall_driver
right: cfg.CONF.SECURITYGROUP.firewall_driver

Revision history for this message
Bence Romsics (bence-romsics) wrote :

Opened to cover this fix: https://review.openstack.org/475702

Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/475702
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=012de2ea0875609c60445a731ead0b522e8cdb22
Submitter: Jenkins
Branch: master

commit 012de2ea0875609c60445a731ead0b522e8cdb22
Author: ZhaoBo <email address hidden>
Date: Tue Jun 20 16:31:09 2017 +0800

    Correct the config group in check_trunk_dependencies

    The 'securitygroup' is registered as cfg.CONF.SECURITYGROUP. Currently,
    this check always raise error as no 'cfg.CONF.securitygroup', then neutron
    will abort the trunk_create. So nova will error when create VM with trunk
    parent port for waiting timeout about the network-vif-plugged event.

    Closes-Bug: #1699516
    Related-Bug: #1669074
    Change-Id: I0b0bdb5a39f1978e12ddaeddd4e0d825894ea241

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b3

This issue was fixed in the openstack/neutron 11.0.0.0b3 development milestone.

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/497924

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/497927

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/newton)

Change abandoned by Jakub Libosvar (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/497927
Reason: Not consider release critical

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

Reviewed: https://review.openstack.org/497924
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6d0e5ba7f63783e2a6eded094ab14090fc704aa1
Submitter: Jenkins
Branch: stable/ocata

commit 6d0e5ba7f63783e2a6eded094ab14090fc704aa1
Author: ZhaoBo <email address hidden>
Date: Tue Jun 20 16:31:09 2017 +0800

    Correct the config group in check_trunk_dependencies

    The 'securitygroup' is registered as cfg.CONF.SECURITYGROUP. Currently,
    this check always raise error as no 'cfg.CONF.securitygroup', then neutron
    will abort the trunk_create. So nova will error when create VM with trunk
    parent port for waiting timeout about the network-vif-plugged event.

    Closes-Bug: #1699516
    Related-Bug: #1669074
    Change-Id: I0b0bdb5a39f1978e12ddaeddd4e0d825894ea241
    (cherry picked from commit 012de2ea0875609c60445a731ead0b522e8cdb22)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.4

This issue was fixed in the openstack/neutron 10.0.4 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.