Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1414434 - [RFE] [ODL] VLAN Aware VMs
[RFE] [ODL] VLAN Aware VMs
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: opendaylight (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
medium Severity medium
: Upstream M2
: 12.0 (Pike)
Assigned To: Mike Kolesnik
Itzik Brown
: FutureFeature, TechPreview, Triaged
Depends On: 1414854 1422128
Blocks: 1281573 1389435 1396159 1442136 1469014
  Show dependency treegraph
 
Reported: 2017-01-18 08:50 EST by Nir Yechiel
Modified: 2018-10-18 03:23 EDT (History)
10 users (show)

See Also:
Fixed In Version: opendaylight-6.2.0-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
N/A
Last Closed: 2017-12-13 16:02:08 EST
Type: Feature Request
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 489517 None None None 2017-11-06 08:29 EST
OpenStack gerrit 518267 None None None 2017-11-22 06:44 EST
OpenDaylight gerrit 50615 None None None 2017-01-19 10:56 EST
OpenDaylight gerrit 50676 None None None 2017-02-07 23:44 EST
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Nir Yechiel 2017-01-18 08:50:39 EST
Description of problem:

A very common request from Service Provider customers and the NFV market, due to the way current VNFs/network appliances are built today.

Looking at the future, this can also be used to facilitate network infrastructure for containers running inside VMs - where each container is assigned with a sub-port/VLAN ID.

The API is agreed and frozen at this point: https://specs.openstack.org/openstack/neutron-specs/specs/mitaka/vlan-aware-vms.html


Note: we need to consider support/testing for this in both standard OVS and OVS+DPDK.
Comment 1 Nir Yechiel 2017-01-18 08:54:22 EST
networking-odl patch is under review here: https://review.openstack.org/#/c/421895/
Comment 4 Nir Yechiel 2017-01-30 07:36:15 EST
https://git.opendaylight.org/gerrit/#/c/50615 (core NetVirt change) is merged upstream.
Comment 5 Nir Yechiel 2017-02-07 23:44:02 EST
(In reply to Nir Yechiel from comment #4)
> https://git.opendaylight.org/gerrit/#/c/50615 (core NetVirt change) is
> merged upstream.

The above patch is the ODL Neutron Northbound part. The following is
the ODL NetVirt patch, which isn't merged yet:

https://git.opendaylight.org/gerrit/#/c/50676/
Comment 8 Itzik Brown 2017-10-26 17:56:10 EDT
The two test_trunk tests in Neutron scenario tests fail.
We need to investigate.

1)neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_subport_connectivity

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_trunk.py", line 265, in test_subport_connectivity
    should_succeed=True
  File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/base.py", line 278, in check_remote_connectivity
    source, dest, should_succeed, nic, mtu, fragmentation))
  File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 678, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true


2)neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_trunk.py", line 188, in test_trunk_subport_lifecycle
    utils.wait_until_true(lambda: self._is_port_active(s['port_id']))
  File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 688, in wait_until_true
    raise WaitTimeout("Timed out after %d seconds" % timeout)
neutron.common.utils.WaitTimeout: Timed out after 60 seconds
Comment 9 Mike Kolesnik 2017-10-29 03:54:07 EDT
(In reply to Itzik Brown from comment #8)
> The two test_trunk tests in Neutron scenario tests fail.
> We need to investigate.
> 
> 1)neutron.tests.tempest.scenario.test_trunk.TrunkTest.
> test_subport_connectivity
> 
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_trunk.
> py", line 265, in test_subport_connectivity
>     should_succeed=True
>   File
> "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/base.py",
> line 278, in check_remote_connectivity
>     source, dest, should_succeed, nic, mtu, fragmentation))
>   File "/usr/lib/python2.7/site-packages/unittest2/case.py", line 678, in
> assertTrue
>     raise self.failureException(msg)
> AssertionError: False is not true
> 
> 
> 2)neutron.tests.tempest.scenario.test_trunk.TrunkTest.
> test_trunk_subport_lifecycle
> 
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/neutron/tests/tempest/scenario/test_trunk.
> py", line 188, in test_trunk_subport_lifecycle
>     utils.wait_until_true(lambda: self._is_port_active(s['port_id']))
>   File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 688,
> in wait_until_true
>     raise WaitTimeout("Timed out after %d seconds" % timeout)
> neutron.common.utils.WaitTimeout: Timed out after 60 seconds

Please attach full logs from ODL and Neutron (and maybe Tempest) so that we can study the issue.
Comment 10 Itzik Brown 2017-11-06 08:28:19 EST
Running with python-networking-odl-11.0.1-0.20170926211325.6ceec59.el7ost.noarch
neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle fails:

It seems that the subports are not in ACTIVE state.

A patch was merged in Aug 1.
https://review.openstack.org/#/c/489517/
Comment 12 Itzik Brown 2017-11-19 04:19:54 EST
A patch was merged d/s:
https://review.openstack.org/#/c/518267/1
Comment 14 Itzik Brown 2017-11-23 02:28:27 EST
2 Neutron test_trunk scenario tests passed:

Checked with:
opendaylight-6.2.0-4.el7ost.noarch
python-networking-odl-11.0.1-0.20171017155942.el7ost.noarch
Comment 17 errata-xmlrpc 2017-12-13 16:02:08 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.