Neutron OVS Agent fails to start on Windows because of Linux specific import

Bug #1670402 reported by Alin Balutoiu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Brian Haley

Bug Description

The neutron OVS agent does not start on Windows because of the ip_lib import in openvswitch_firewall/rules.py

Trace: http://paste.openstack.org/show/601596/

This happens because Windows uses the same firewall driver as Linux does, but fails to start when trying to import ip_lib. (which is Linux specific)

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/442011

Changed in neutron:
assignee: nobody → Alin Balutoiu (abalutoiu)
status: New → In Progress
tags: added: ovs-fw
Changed in neutron:
importance: Undecided → Medium
tags: added: ovs
removed: ovs-fw
tags: added: ovs-fw
Changed in neutron:
assignee: Alin Balutoiu (abalutoiu) → Brian Haley (brian-haley)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/442011
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=46827e0de9b164cb54973180eb4f9849d97469b4
Submitter: Jenkins
Branch: master

commit 46827e0de9b164cb54973180eb4f9849d97469b4
Author: Alin Balutoiu <email address hidden>
Date: Mon Mar 6 17:42:56 2017 +0200

    Fixes crash when starting Neutron OVS Agent on Windows

    The neutron OVS Agent does not start on Windows because
    of Linux specific import.

    The fix consists in moving the method get_ip_version in
    the common module of ip_lib being the only one used from
    the module. We will import the common module
    agent/common/ip_lib after that.

    Change-Id: I95e9a6fa99e0992499f46a4f0debccd47b8a936c
    Closes-Bug: #1670402

Changed in neutron:
status: In Progress → Fix Released
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/453070

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

Reviewed: https://review.openstack.org/453070
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7b8583482b97f08d29e6724589609923ea13beda
Submitter: Jenkins
Branch: stable/ocata

commit 7b8583482b97f08d29e6724589609923ea13beda
Author: Alin Balutoiu <email address hidden>
Date: Mon Mar 6 17:42:56 2017 +0200

    Fixes crash when starting Neutron OVS Agent on Windows

    The neutron OVS Agent does not start on Windows because
    of Linux specific import.

    The fix consists in moving the method get_ip_version in
    the common module of ip_lib being the only one used from
    the module. We will import the common module
    agent/common/ip_lib after that.

    Change-Id: I95e9a6fa99e0992499f46a4f0debccd47b8a936c
    Closes-Bug: #1670402
    (cherry picked from commit 46827e0de9b164cb54973180eb4f9849d97469b4)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.2

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