← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1633671] Re: Pecan: Compute scenario tests fail on security group rules

 

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

commit 64252405c4780f09b376655b1b439543290a2f65
Author: Brandon Logan <brandon.logan@xxxxxxxxxxxxx>
Date:   Thu Oct 20 19:03:08 2016 -0500

    Pecan: Bulk create with one item returns plural
    
    If a bulk create happened with a single item, the pecan code would
    return back to the user the singular version of the resource in the
    body.  For example, to bulk create many security group rules, the user
    would give in the body of the request the json with a parent key of
    "security-group-rules" with a value of a list of json security group
    rules.  If this list is of length one, then after the creation of the
    one security group rule, the API would return back to the client
    "security-group-rule" as the parent key.  This is not how the legacy
    wsgi layer behaved.  The behavior is expected when nova creates security
    group rules by calling the neutron API through its deprecated security
    groups API.
    
    Change-Id: I8757630403e4d486cd3c8dd6f041e9ee326ba3b4
    Closes-Bug: #1633671


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

Title:
  Pecan: Compute scenario tests fail on security group rules

Status in neutron:
  Fix Released

Bug description:
  http://logs.openstack.org/48/386848/2/experimental/gate-tempest-dsvm-
  neutron-pecan/b70ec4c/console.html#_2016-10-15_00_23_38_299635

  2016-10-15 00:23:38.301293 | Captured traceback:
  2016-10-15 00:23:38.301302 | ~~~~~~~~~~~~~~~~~~~
  2016-10-15 00:23:38.301315 |     Traceback (most recent call last):
  2016-10-15 00:23:38.301332 |       File "tempest/test.py", line 100, in wrapper
  2016-10-15 00:23:38.301347 |         return f(self, *func_args, **func_kwargs)
  2016-10-15 00:23:38.301375 |       File "tempest/api/compute/security_groups/test_security_group_rules.py", line 76, in test_security_group_rules_create
  2016-10-15 00:23:38.301391 |         to_port=self.to_port)['security_group_rule']
  2016-10-15 00:23:38.301417 |       File "tempest/lib/services/compute/security_group_rules_client.py", line 34, in create_security_group_rule
  2016-10-15 00:23:38.301434 |         resp, body = self.post(url, post_body)
  2016-10-15 00:23:38.301451 |       File "tempest/lib/common/rest_client.py", line 276, in post
  2016-10-15 00:23:38.301471 |         return self.request('POST', url, extra_headers, headers, body, chunked)
  2016-10-15 00:23:38.301492 |       File "tempest/lib/services/compute/base_compute_client.py", line 48, in request
  2016-10-15 00:23:38.301509 |         method, url, extra_headers, headers, body, chunked)
  2016-10-15 00:23:38.301544 |       File "tempest/lib/common/rest_client.py", line 665, in request
  2016-10-15 00:23:38.301557 |         resp, resp_body)
  2016-10-15 00:23:38.301577 |       File "tempest/lib/common/rest_client.py", line 829, in _error_checker
  2016-10-15 00:23:38.301586 |         message=message)
  2016-10-15 00:23:38.301602 |     tempest.lib.exceptions.ServerFault: Got server fault
  2016-10-15 00:23:38.301631 |     Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  2016-10-15 00:23:38.301643 |     <type 'exceptions.TypeError'>

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


References