SFC v2 driver using wrong URL path for Neutron NB

Bug #1724644 reported by Tim Rozet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Fix Released
Undecided
Tim Rozet

Bug Description

2017-10-13 10:39:43.549 33455 ERROR networking_odl.common.client [-] REST request ( post ) to url ( flowclassifiers ) is failed.Request body : [{u'flowclassifier': {'source_port_range_min': None, 'destination_ip_prefix': None, 'protocol': u'tcp', 'description': '', 'ethertype': 'IPv4', 'l7_parameters': {}, 'source_port_range_max': None, 'tenant_id': u'fbea21a24f5d467ea871dfbfa642cd88', 'source_ip_prefix': None, 'logical_destination_port': None, 'destination_port_range_min': 80, 'destination_port_range_max': 80, 'project_id': u'fbea21a24f5d467ea871dfbfa642cd88', 'logical_source_port': u'f2038671-6067-40e4-9309-e0e95c38cf38', 'id': '6a8c3edd-8334-4c2c-9755-63fc04665736', 'name': ''}}] service

2017-10-13 10:39:43.550 33455 ERROR networking_odl.journal.journal [-] Error syncing flowclassifier create, id 6a8c3edd-8334-4c2c-9755-63fc04665736 Error: 404 Client Error: Not Found for url: http://192.0.2.7:8081/controller/nb/v2/neutron/flowclassifiers

The correct path should be:
http://192.0.2.11:8081/controller/nb/v2/neutron/sfc/flowclassifiers

Tim Rozet (trozet)
Changed in networking-odl:
assignee: nobody → Tim Rozet (trozet)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-odl (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (master)

Reviewed: https://review.openstack.org/513158
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=7366ac0455a335e8f56a8467515bca33f3d29e28
Submitter: Zuul
Branch: master

commit 7366ac0455a335e8f56a8467515bca33f3d29e28
Author: Tim Rozet <email address hidden>
Date: Wed Oct 18 14:22:05 2017 -0400

    Fixes URL path for SFC v2 Driver

    Due to this fix https://review.openstack.org/#/c/496388/,
    now URL for OpenDaylight driver is not created correctly.

    Correct url has format

    http://<hostname>/controller/nb/v2/neutron/sfc/portpairs

    Now it produces

    http://<hostname>/controller/nb/v2/neutron/sfc/port-pairs

    Closes-Bug: 1724644
    Partial-bug: #1713697
    Duplicate-patch: https://review.openstack.org/#/c/512951/

    Change-Id: Ie4a75323694c69aaa5e682890647beaf461b6888
    Signed-off-by: Tim Rozet <email address hidden>
    Co-Authored-By: Rajiv Kumar <email address hidden>

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/514404

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-odl 12.0.0.0b1

This issue was fixed in the openstack/networking-odl 12.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (stable/pike)

Reviewed: https://review.openstack.org/514404
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=ab4c69a47228315448a1ccbd21829b4029b74bb7
Submitter: Zuul
Branch: stable/pike

commit ab4c69a47228315448a1ccbd21829b4029b74bb7
Author: Tim Rozet <email address hidden>
Date: Wed Oct 18 14:22:05 2017 -0400

    Fixes URL path for SFC v2 Driver

    Due to this fix https://review.openstack.org/#/c/496388/,
    now URL for OpenDaylight driver is not created correctly.

    Correct url has format

    http://<hostname>/controller/nb/v2/neutron/sfc/portpairs

    Now it produces

    http://<hostname>/controller/nb/v2/neutron/sfc/port-pairs

    Closes-Bug: 1724644
    Partial-bug: #1713697
    Duplicate-patch: https://review.openstack.org/#/c/512951/

    Change-Id: Ie4a75323694c69aaa5e682890647beaf461b6888
    Signed-off-by: Tim Rozet <email address hidden>
    Co-Authored-By: Rajiv Kumar <email address hidden>
    (cherry picked from commit 7366ac0455a335e8f56a8467515bca33f3d29e28)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-odl 11.0.1

This issue was fixed in the openstack/networking-odl 11.0.1 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.