← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1633664] Re: Pecan: Auto allocate topology tempestapi tests fail

 

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

commit 9006726acbd6255263de7acae6bf6110a5aeed8e
Author: Brandon Logan <brandon.logan@xxxxxxxxxxxxx>
Date:   Mon Oct 17 18:03:00 2016 -0500

    Pecan: Don't prefetch resource fields on DELETE
    
    The legacy wsgi does not prefetch resources and specify fields on
    DELETE.  It does do this on PUTs though.  However, the pecan wsgi policy
    hook was doing it for both PUT and DELETE.  This also fixes a failure
    with the auto-allocated-topology tests.
    
    Change-Id: I9933c141f7d0481caade5a9484022fe090cf47f0
    Closes-Bug: #1633664


** 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/1633664

Title:
  Pecan: Auto allocate topology tempestapi  tests fail

Status in neutron:
  Fix Released

Bug description:
  These tests currently fail:

  neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_delete_allocated_net_topology_as_tenant

  Traceback (most recent call last):
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 115, in test_delete_allocated_net_topology_as_tenant
      self.client.delete_auto_allocated_topology()
    File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 794, in delete_auto_allocated_topology
      resp, body = self.delete(uri)
    File "tempest/lib/common/rest_client.py", line 307, in delete
      return self.request('DELETE', url, extra_headers, headers, body)
    File "tempest/lib/common/rest_client.py", line 665, in request
      resp, resp_body)
    File "tempest/lib/common/rest_client.py", line 768, in _error_checker
      raise exceptions.BadRequest(resp_body, resp=resp)
  tempest.lib.exceptions.BadRequest: Bad request
  Details: {u'type': u'BadRequest', u'detail': u'', u'message': u'Bad auto_allocate request: Unrecognized field.'}

  
  neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_get_allocated_net_topology_as_tenant

  Traceback (most recent call last):
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 85, in test_get_allocated_net_topology_as_tenant
      self.assertEqual((0, 0, 0), resources_before)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: (0, 0, 0) != (1, 2, 1)

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


References