← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1888489] Re: [OVN Octavia Provider] octavia_tempest_plugin.tests.api.v2.test_member.MemberAPITest.test_member_batch_update fails

 

Reviewed:  https://review.opendev.org/742410
Committed: https://git.openstack.org/cgit/openstack/ovn-octavia-provider/commit/?id=57dbca6c5e24f65b5579e7136f1db12e02ea6f93
Submitter: Zuul
Branch:    master

commit 57dbca6c5e24f65b5579e7136f1db12e02ea6f93
Author: Maciej Józefczyk <mjozefcz@xxxxxxxxxx>
Date:   Wed Jul 22 11:57:50 2020 +0000

    Fix member_batch_update function to follow api v2
    
    The member_batch_update function signature was missing
    pool_id parameter. [1]
    
    [1] https://docs.openstack.org/octavia/latest/contributor/guides/providers.html
    
    Change-Id: I0ac14de29ff92416f103c880bcdc28dd76e00865
    Closes-Bug: 1888489


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

Title:
  [OVN Octavia Provider]
  octavia_tempest_plugin.tests.api.v2.test_member.MemberAPITest.test_member_batch_update
  fails

Status in neutron:
  Fix Released

Bug description:
  octavia_tempest_plugin.tests.api.v2.test_member.MemberAPITest.test_member_batch_update
  fails on:

  Traceback (most recent call last):
    File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/octavia_tempest_plugin/tests/api/v2/test_member.py", line 863, in test_member_batch_update
      pool_id=pool_id, members_list=batch_update_list)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/octavia_tempest_plugin/services/load_balancer/v2/member_client.py", line 271, in update_members
      response, body = self.put(request_uri, jsonutils.dumps(obj_dict))
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 362, in put
      return self.request('PUT', url, extra_headers, headers, body, chunked)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 702, in request
      self._error_checker(resp, resp_body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 879, in _error_checker
      message=message)
  tempest.lib.exceptions.ServerFault: Got server fault
  Details: b'{"faultcode": "Server", "faultstring": "Provider \'ovn\' reports error: member_batch_update() takes 2 positional arguments but 3 were given", "debuginfo": null}'

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


References