Pecan: Tempest API test fails QosBandwidthLimitRuleTestJSON

Bug #1633668 reported by Brandon Logan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Brandon Logan

Bug Description

neutron.tests.tempest.api.test_qos.QosBandwidthLimitRuleTestJSON.test_rule_update_forbidden_for_regular_tenants_own_policy

Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_qos.py", line 476, in test_rule_update_forbidden_for_regular_tenants_own_policy
    policy['id'], rule['id'], max_kbps=2, max_burst_kbps=4)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 485, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 496, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 547, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/local/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
    mismatch = self.exception_matcher.match(exc_info)
  File "/usr/local/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
    mismatch = matcher.match(matchee)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 475, in match
    reraise(*matchee)
  File "/usr/local/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
    result = matchee()
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 1049, in __call__
    return self._callable_object(*self._args, **self._kwargs)
  File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 599, in update_bandwidth_limit_rule
    resp, body = self.put(uri, jsonutils.dumps(post_data))
  File "tempest/lib/common/rest_client.py", line 340, in put
    return self.request('PUT', url, extra_headers, headers, body, chunked)
  File "tempest/lib/common/rest_client.py", line 665, in request
    resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 829, in _error_checker
    message=message)
tempest.lib.exceptions.ServerFault: Got server fault
Details: Request Failed: internal server error while processing your request.

Tags: api tempest
Revision history for this message
John Davidge (john-davidge) wrote :
Changed in neutron:
status: New → Triaged
importance: High → Low
tags: added: api
tags: added: tempest
Changed in neutron:
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Brandon Logan (brandon-logan)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/387723
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c1b28a8d7377380464e7fc7ce36ab1406f12eaf1
Submitter: Jenkins
Branch: master

commit c1b28a8d7377380464e7fc7ce36ab1406f12eaf1
Author: Brandon Logan <email address hidden>
Date: Mon Oct 17 18:33:35 2016 -0500

    Pecan: Fix internal server error on QoS rule PUT

    A patch [1] was made to the legacy wsgi code but was not also done for the
    pecan code. This patch does the same check.

    [1] Ia82ad84a3a07df4df8eaeaed6c47d31be9493cbd
    Closes-Bug: #1633668

    Change-Id: I829a9fee79109e42a366d349afef3868265e9d94

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.0.0b1

This issue was fixed in the openstack/neutron 10.0.0.0b1 development milestone.

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.