incorrect status codes from pecan shim controller

Bug #1567801 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Kevin Benton

Bug Description

found in API test from pecan job:

Traceback (most recent call last):
  File "neutron/tests/api/admin/test_l3_agent_scheduler.py", line 93, in test_add_list_remove_router_on_l3_agent
    self.router['id'])
  File "neutron/tests/tempest/services/network/json/network_client.py", line 555, in add_router_to_l3_agent
    self.expected_success(201, resp.status)
  File "/opt/stack/new/neutron/.tox/api/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 243, in expected_success
    raise exceptions.InvalidHttpSuccessCode(details)
tempest.lib.exceptions.InvalidHttpSuccessCode: The success code is different than the expected one
Details: Unexpected http success status code 200,
                         The expected status code is 201

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
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/303334

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
tags: added: api
tags: added: functional-tests
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 2e19107fe2b7740d750aa39d28e2377a63c9dcfe
Author: Kevin Benton <email address hidden>
Date: Mon Mar 14 08:00:46 2016 -0700

    Pecan: Fix Shim status codes

    Fix the status codes returned by the shim controller
    to match the expectations of the API tests.

    Closes-bug: #1567801
    Change-Id: Ibfede6b6bc4ba24cf2b9e4ff5540c2249695252f

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

This issue was fixed in the openstack/neutron 9.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.