Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1558570

Summary: subports does not transition to ACTIVE after moving from 1 to other server.
Product: Red Hat OpenStack Reporter: Eran Kuris <ekuris>
Component: python-networking-ovnAssignee: Assaf Muller <amuller>
Status: CLOSED DUPLICATE QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: unspecified    
Version: 13.0 (Queens)CC: apevec, bcafarel, dalvarez, jlibosva, lhh, majopela, nyechiel
Target Milestone: ---Keywords: AutomationBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-11 14:02:54 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:
Attachments:
Description Flags
log none

Description Eran Kuris 2018-03-20 14:03:48 UTC
Created attachment 1410510 [details]
log

Description of problem:
Tempest test 
neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle failed because subports does not transition to ACTIVE after moving from 1 to other server.
Error from Tempest logs:
a-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': 'Tue, 20 Mar 2018 13:12:38 GMT', u'content-type': 'application/json; charset=UTF-8', u'x-openstack-request-id': 'req-4ebbc233-752d-42c3-a2bf-53b616590d6e'}
        Body: {"itemNotFound": {"message": "Instance 69bf9e3a-c303-4d0a-bf30-5a9694d5d532 could not be found.", "code": 404}}
}}}

Traceback (most recent call last):
  File "/home/centos/tempest-upstream/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_trunk.py", line 220, in test_trunk_subport_lifecycle
    "transition to ACTIVE." % s['port_id']))
  File "/home/centos/tempest-upstream/neutron-tempest-plugin/neutron_tempest_plugin/common/utils.py", line 72, in wait_until_true
    raise exception
RuntimeError: Timed out waiting for subport a020173a-f298-499d-aef3-4d292634fbf3 to transition to ACTIVE.



Version-Release number of selected component (if applicable):
OSP13- puddle: 2018-03-02.2
 rpm -qa |grep ovn 
python-networking-ovn-4.0.0-0.20180220131809.329d6d8.el7ost.noarch
novnc-0.6.1-1.el7ost.noarch
openvswitch-ovn-central-2.9.0-3.el7fdp.x86_64
openvswitch-ovn-host-2.9.0-3.el7fdp.x86_64
puppet-ovn-12.3.1-0.20180221062110.4b16f7c.el7ost.noarch
openstack-nova-novncproxy-17.0.0-0.20180223162252.a4a53bf.el7ost.noarch
openvswitch-ovn-common-2.9.0-3.el7fdp.x86_64
python-networking-ovn-metadata-agent-4.0.0-0.20180220131809.329d6d8.el7ost.noarch
[root@controller-0 ~]# rpm -qa |grep neutron
openstack-neutron-metering-agent-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
openstack-neutron-lbaas-12.0.0-0.20180220124744.f6b8b5b.el7ost.noarch
openstack-neutron-linuxbridge-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
python2-neutronclient-6.7.0-0.20180211221651.95d64ce.el7ost.noarch
openstack-neutron-common-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
python-neutron-lbaas-12.0.0-0.20180220124744.f6b8b5b.el7ost.noarch
openstack-neutron-openvswitch-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
python-neutron-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
openstack-neutron-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
openstack-neutron-l2gw-agent-12.0.1-0.20180226165750.32631dc.el7ost.noarch
openstack-neutron-lbaas-ui-4.0.0-0.20180220023707.a42434a.el7ost.noarch
puppet-neutron-12.3.1-0.20180222064632.07b93f1.el7ost.noarch
openstack-neutron-ml2-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
openstack-neutron-sriov-nic-agent-12.0.0-0.20180222093622.abb60c6.el7ost.noarch
python2-neutron-lib-1.13.0-0.20180211233639.dcf96cd.el7ost.noarch


How reproducible:
100%

Steps to Reproduce:
1.Deploy OSP13 with OVN HA setup
2.verify trunk is enabled in config file  
3.Run the following Neutron test: 
neutron.tests.tempest.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle
Actual results:
test failed 

Expected results:
tests should pass


Additional info:

Comment 1 Daniel Alvarez Sanchez 2018-04-11 14:02:54 UTC
Closing this as a dup of https://bugzilla.redhat.com/show_bug.cgi?id=1563678
I have patches and LP bug to address this.

*** This bug has been marked as a duplicate of bug 1563678 ***