cyborgclient program cmd calls wrong interface

Bug #2031605 reported by Wenping Song
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cyborg (OpenStack)
Fix Released
Undecided
Wenping Song

Bug Description

cyborgclient calls wrong function in the program action on the line:
https://github.com/openstack/python-cyborgclient/blob/master/cyborgclient/osc/v2/deployable.py#L166, we should call program api instead of update_deployable.

Wenping Song (wenping1)
Changed in openstack-cyborg:
assignee: nobody → Wenping Song (wenping1)
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/+/890776
Committed: https://opendev.org/openstack/python-cyborgclient/commit/0d0490285b21f742487fd1a03f9e4c4e92f6df24
Submitter: "Zuul (22348)"
Branch: master

commit 0d0490285b21f742487fd1a03f9e4c4e92f6df24
Author: wangzhiguang <email address hidden>
Date: Thu Aug 10 13:38:48 2023 +0800

    add unittest for program deployable in cyborg module

    add unittest for program deployable in cyborg module, fix the bug
    that calls wrong api

    Closes-Bug: #2031605

    Change-Id: I581061cf352cd157d537e9bf2a5493bd83ad1b38

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.2.1

This issue was fixed in the openstack/python-cyborgclient 2.2.1 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.