test_create_subport_invalid_inherit_network_segmentation_type doesn't obey when parent network is vlan

Bug #1739227 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Jakub Libosvar

Bug Description

test_create_subport_invalid_inherit_network_segmentation_type uses default network type. It tests that in case 'inherit' is passed as segmentation type, the API call will fail because it assumes unsupported segmentation type. In case the test is executed against deployment using supported type as default, the test fails because API correctly returns this supported segmentation type, e.g. vlan.

Lujin Luo (luo-lujin)
Changed in neutron:
status: New → Confirmed
Revision history for this message
Jakub Libosvar (libosvar) wrote :
Changed in neutron:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/pike)

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

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

Reviewed: https://review.openstack.org/530857
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3e49cc760c610c80adfeb048b7aeefb13ef368d8
Submitter: Zuul
Branch: stable/pike

commit 3e49cc760c610c80adfeb048b7aeefb13ef368d8
Author: Jakub Libosvar <email address hidden>
Date: Tue Dec 19 17:46:42 2017 +0000

    trunk: Create vxlan network when testing inherit

    The inherit segmentation type fails only when parent network has a not
    supported network type. In case default is a supported one, e.g. vlan,
    then inherit correctly returns vlan as subport segmentation type.

    This patch forces to use vxlan as a network type for test validating
    inherit option.

    Cherry-picked from change Idf6935e4da426ff50457483a8f08a9ae3e403f75
    from neutron_tempest_plugin

    Change-Id: Idf6935e4da426ff50457483a8f08a9ae3e403f75
    Closes-bug: #1739227

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

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