Bug 1563678
| Summary: | Neutron test_trunk_subport_lifecycle failure on OVN setup | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eran Kuris <ekuris> |
| Component: | python-networking-ovn | Assignee: | Daniel Alvarez Sanchez <dalvarez> |
| Status: | CLOSED ERRATA | QA Contact: | Eran Kuris <ekuris> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 13.0 (Queens) | CC: | amuller, apevec, bcafarel, dalvarez, lhh, majopela, nyechiel |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-networking-ovn-4.0.1-0.20180420150809.c7c16d4.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
When a subport was reassigned to a different trunk on another hypervisor, it did not get its binding info updated and the subport did not transition to ACTIVE.
This fix clears up the binding info when the subport is removed from the trunk. The subport now transitions to ACTIVE when it is reassigned to another trunk port that resides on a different hypervisor.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-27 13:50:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** Bug 1558570 has been marked as a duplicate of this bug. *** 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-2018:2086 |
Description of problem: Neutron test_trunk_subport_lifecycle failure on OVN setup Body: None Response - Headers: {'status': '200', u'content-length': '1560', 'content-location': 'http://10.0.0.102:8774/v2.1/servers/ded7e586-addf-4d41-971e-03c0de078e7b', u'x-compute-request-id': 'req-6d709d63-0456-451e-a474-c161d70bfd81', u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version,Accept-Encoding', u'server': 'Apache', u'openstack-api-version': 'compute 2.1', u'connection': 'close', u'x-openstack-nova-api-version': '2.1', u'date': 'Sat, 31 Mar 2018 15:35:10 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-6d709d63-0456-451e-a474-c161d70bfd81'} Body: {"server": {"OS-EXT-STS:task_state": "deleting", "addresses": {"tempest-test-network--1787378211": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:88:c1:6a", "version": 4, "addr": "10.100.0.14", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:88:c1:6a", "version": 4, "addr": "10.0.0.215", "OS-EXT-IPS:type": "floating"}]}, "links": [{"href": "http://10.0.0.102:8774/v2.1/servers/ded7e586-addf-4d41-971e-03c0de078e7b", "rel": "self"}, {"href": "http://10.0.0.102:8774/servers/ded7e586-addf-4d41-971e-03c0de078e7b", "rel": "bookmark"}], "image": {"id": "93ef2b63-3732-46d1-8e2d-49bc879e8c12", "links": [{"href": "http://10.0.0.102:8774/images/93ef2b63-3732-46d1-8e2d-49bc879e8c12", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2018-03-31T15:30:42.000000", "flavor": {"id": "200", "links": [{"href": "http://10.0.0.102:8774/flavors/200", "rel": "bookmark"}]}, "id": "ded7e586-addf-4d41-971e-03c0de078e7b", "user_id": "6fa067de11754d93aa74199a8668287a", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "config_drive": "", "status": "ACTIVE", "updated": "2018-03-31T15:35:10Z", "hostId": "c8cc696576e5b2b82fd415cca9ce66da0d111a0299a2bd95dc46b099", "OS-SRV-USG:terminated_at": null, "key_name": "tempest-keypair-test-1172149803", "name": "tempest-server-test-1773727956", "created": "2018-03-31T15:30:28Z", "tenant_id": "54c431fbb7484f7ba539430f7e0405e0", "os-extended-volumes:volumes_attached": [], "metadata": {}}} 2018-03-31 11:35:11,891 31887 INFO [tempest.lib.common.rest_client] Request (TrunkTest:_run_cleanups): 404 GET http://10.0.0.102:8774/v2.1/servers/ded7e586-addf-4d41-971e-03c0de078e7b 0.120s 2018-03-31 11:35:11,891 31887 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: None Response - Headers: {'status': '404', u'content-length': '111', 'content-location': 'http://10.0.0.102:8774/v2.1/servers/ded7e586-addf-4d41-971e-03c0de078e7b', u'x-compute-request-id': 'req-5c3be544-77bc-4949-b563-e89cc88c42fe', u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', u'server': 'Apache', u'openstack-api-version': 'compute 2.1', u'connection': 'close', u'x-openstack-nova-api-version': '2.1', u'date': 'Sat, 31 Mar 2018 15:35:11 GMT', u'content-type': 'application/json; charset=UTF-8', u'x-openstack-request-id': 'req-5c3be544-77bc-4949-b563-e89cc88c42fe'} Body: {"itemNotFound": {"message": "Instance ded7e586-addf-4d41-971e-03c0de078e7b could not be found.", "code": 404}} }}} Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 219, in test_trunk_subport_lifecycle "transition to ACTIVE." % s['port_id'])) File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/common/utils.py", line 72, in wait_until_true raise exception RuntimeError: Timed out waiting for subport 0bb6993a-f28c-4d93-9575-72731302bcdf to transition to ACTIVE. Version-Release number of selected component (if applicable): OSP13 ha ovn p 29_3_18 How reproducible: always Steps to Reproduce: 1. deploy OSP13 ovn HA and ru hte test 2. 3. Actual results: Expected results: Additional info: