Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1493226 - segment host mapping tests are failing
segment host mapping tests are failing
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: beta
: 12.0 (Pike)
Assigned To: Assaf Muller
Ofer Blaut
: AutomationBlocker, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-19 12:12 EDT by Arie Bregman
Modified: 2018-02-05 14:15 EST (History)
8 users (show)

See Also:
Fixed In Version: python-networking-ovn-3.0.1-0.20171005161553.0cde8a5.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:10:20 EST
Type: Bug
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
OpenStack gerrit 493970 None None None 2017-10-27 05:58 EDT
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 Arie Bregman 2017-09-19 12:12:10 EDT
Description of problem:

The following tests fail:

networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverSegment.test_clear_segment_host_mapping

networking_ovn.tests.unit.ml2.test_mech_driver.TestOVNMechansimDriverSegment.test_update_segment_host_mapping

The failure is: 

{"NeutronError": {"type": "InvalidInput", "message": "Invalid input for operation: Requested MTU is too big, maximum is 1450.", "detail": ""}}


Version-Release number of selected component (if applicable):  latest OSP 12


How reproducible: 100%


Steps to Reproduce:
1. Clone networking-ovn and checkout rhos-12.0-patches branch
2. Run unit tests

Actual results:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutron/tests/base.py", line 118, in func
    return f(self, *args, **kwargs)
  File "networking_ovn/tests/unit/ml2/test_mech_driver.py", line 1325, in test_clear_segment_host_mapping
    _, host = self._test_segment_host_mapping()
  File "networking_ovn/tests/unit/ml2/test_mech_driver.py", line 1307, in _test_segment_host_mapping
    network_type='geneve')['segment']
  File "/usr/lib/python2.7/site-packages/neutron/tests/unit/extensions/test_segment.py", line 124, in _test_create_segment
    segment = self.segment(**keys)
  File "/usr/lib/python2.7/site-packages/neutron/tests/unit/extensions/test_segment.py", line 120, in segment
    self.fmt, tenant_id=self._tenant_id, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutron/tests/unit/extensions/test_segment.py", line 114, in _make_segment
    code=res.status_int, explanation=str(res))
webob.exc.HTTPClientError: 400 Bad Request
Content-Length: 142
Content-Type: application/json; charset=utf8

{"NeutronError": {"type": "InvalidInput", "message": "Invalid input for operation: Requested MTU is too big, maximum is 1450.", "detail": ""}}


Expected results: Tests passed successfully
Comment 2 Lucas Alvares Gomes 2017-10-23 09:21:49 EDT
Looks like [0] should fix these MTU problems, it has been ported to stable/pike upstream as well. Perhaps we just need a rebase downstream ?

[0] https://review.openstack.org/#/q/12f0d9f3992ce3f08d68d8102ec5d5f9b138c756
Comment 8 errata-xmlrpc 2017-12-13 17:10:20 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.