Neutron: show_port fails when QoS service plugin is enabled

Bug #1586757 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
High
Unassigned
tempest
Won't Fix
Undecided
Gary Kotton

Bug Description

ft29.11: tempest.api.network.test_ports.PortsTestJSON.test_show_port[id-c9a685bd-e83f-499c-939f-9f7863ca259f,smoke]_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2016-05-29 09:44:21,198 23021 INFO [tempest.lib.common.rest_client] Request (PortsTestJSON:test_show_port): 200 GET http://10.161.224.53:9696/v2.0/ports/fdf8fc22-3e7e-4429-a820-1d0516395266 0.143s
2016-05-29 09:44:21,199 23021 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '535', 'content-location': 'http://10.161.224.53:9696/v2.0/ports/fdf8fc22-3e7e-4429-a820-1d0516395266', 'date': 'Sun, 29 May 2016 09:44:21 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-f7ec521d-11d3-41dd-9502-fad4c1598f68'}
        Body: {"port": {"status": "ACTIVE", "created_at": "2016-05-29T09:43:40", "description": "", "allowed_address_pairs": [], "admin_state_up": true, "network_id": "3d6cda6c-a2bd-4f99-bea7-b1370a987d6e", "tenant_id": "83c870fba45c4333b8049272df23e670", "extra_dhcp_opts": [], "updated_at": "2016-05-29T09:43:40", "name": "", "device_owner": "", "mac_address": "fa:16:3e:ac:0c:82", "port_security_enabled": true, "binding:vnic_type": "normal", "fixed_ips": [], "id": "fdf8fc22-3e7e-4429-a820-1d0516395266", "security_groups": [], "device_id": ""}}
}}}

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/network/test_ports.py", line 142, in test_show_port
    'updated_at']))
  File "/opt/stack/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: Only in actual:
  {'qos_policy_id': None}

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/322490

Changed in tempest:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

I don't think the refactoring was supposed to change any behaviour. If it did, it was a bug in the refactoring patch.

Changed in neutron:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by garyk (<email address hidden>) on branch: master
Review: https://review.openstack.org/322490
Reason: Turns out that this may be a specific plugin issue. Still not clear why the refactor broke us :).

Revision history for this message
Miguel Angel Ajo (mangelajo) wrote :

This doesn't happen in the stantard ml2 plugin. It could be an implementation detail in the nsx plugin, from a change of behaviour in the internal apis may be (sorry for breaking you in that unexpected way :/ )

Changed in neutron:
status: New → Invalid
Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

The tempest side patch was abandoned and Neutron team seems to get a consensus to fix this problem on Neutron side. So I'd like to mark this as "Won't Fix" on Tempest side.

Changed in tempest:
status: In Progress → Won't Fix
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.