delete attribute with client error

Bug #2035073 reported by Wenping Song
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cyborg (OpenStack)
Fix Released
Undecided
wangzhiguang

Bug Description

delete attribute with client error as below:

File "/home/zuul/src/opendev.org/openstack/python-cyborgclient/.tox/py38/lib/python3.8/site-packages/testtools/compat.py", line 26, in reraise
    raise exc_obj.with_traceback(exc_tb)

      File "/home/zuul/src/opendev.org/openstack/python-cyborgclient/.tox/py38/lib/python3.8/site-packages/testtools/matchers/_exception.py", line 97, in match
    result = matchee()

      File "/home/zuul/src/opendev.org/openstack/python-cyborgclient/.tox/py38/lib/python3.8/site-packages/testtools/testcase.py", line 1040, in __call__
    return self._callable_object(*self._args, **self._kwargs)

      File "/home/zuul/src/opendev.org/openstack/python-cyborgclient/cyborgclient/osc/v2/attribute.py", line 136, in take_action
    failures.append(_("Failed to delete attribute \

    KeyError: 'attribute

wangzhiguang (wzginspur)
Changed in openstack-cyborg:
assignee: nobody → wangzhiguang (wzginspur)
Changed in openstack-cyborg:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cyborgclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-cyborgclient/+/893336
Committed: https://opendev.org/openstack/python-cyborgclient/commit/2ca2978232a66e0e0c86cf3b3862bb79a56781fd
Submitter: "Zuul (22348)"
Branch: master

commit 2ca2978232a66e0e0c86cf3b3862bb79a56781fd
Author: wangzhiguang <email address hidden>
Date: Mon Sep 11 15:13:19 2023 +0800

    resolve keyerror for string format

    Closes-Bug: #2035073

    Change-Id: I44cfb3fa95314974df2c8d897e5a527f47be02b5

Changed in openstack-cyborg:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cyborgclient 2.3.0

This issue was fixed in the openstack/python-cyborgclient 2.3.0 release.

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.