← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1567801] Re: incorrect status codes from pecan shim controller

 

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 <kevin@xxxxxxxxxx>
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1567801

Title:
  incorrect status codes from pecan shim controller

Status in neutron:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1567801/+subscriptions


References