some v2 classes missing from v3

Bug #1938451 reported by Brian Rosmaita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Medium
Brian Rosmaita
Wallaby
Fix Released
Medium
Unassigned

Bug Description

This was noticed when the cinderclient.v2 classes were removed (see, for example, [0]).

The QuotaSet class was never added to cinderclient.v3.quotas, and the VolumeTransfer class was never added to cinderclient.v3.volume_transfers.

This is a problem because we'd like people to be able to test their v3-only scripts before upgrading to Xena, but if they use either of the above classes, they can't do this on a pre-Xena cinderclient release. (The issue is fixed in cinderclient 8.0.0 by [1] and [2].)

[0] https://review.opendev.org/c/openstack/horizon/+/800814/12/openstack_dashboard/test/test_data/cinder_data.py#36
[1] https://review.opendev.org/c/openstack/python-cinderclient/+/792959/3/cinderclient/v3/quotas.py
[2] https://review.opendev.org/c/openstack/python-cinderclient/+/792959/3/cinderclient/v3/volume_transfers.py

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/python-cinderclient/+/802904

tags: added: api horizon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/python-cinderclient/+/802904
Committed: https://opendev.org/openstack/python-cinderclient/commit/579846c7a4446be98763540b1669f39464c2cab8
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 579846c7a4446be98763540b1669f39464c2cab8
Author: Brian Rosmaita <email address hidden>
Date: Thu Jul 29 11:06:31 2021 -0400

    [stable-only] Add missing classes to cinderclient.v3

    The QuotaSet class was never added to cinderclient.v3.quotas, and
    the VolumeTransfer class was never added to cinderclient.v3.
    volume_transfers.

    Note: this fix is proposed directly to the stable branches, as the
    issue was fixed differently in master (Xena development) when the
    cinderclient.v2 classes were removed by change I335db5c1799e.

    Change-Id: Ie00f068d7818e20683a0c242b51027d657382dd4
    Closes-bug: #1938451

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/python-cinderclient/+/806698

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 7.4.1

This issue was fixed in the openstack/python-cinderclient 7.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/python-cinderclient/+/806698
Committed: https://opendev.org/openstack/python-cinderclient/commit/c6f74bf1bceeaf8e5130868a39188894ff9b87cb
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit c6f74bf1bceeaf8e5130868a39188894ff9b87cb
Author: Brian Rosmaita <email address hidden>
Date: Thu Jul 29 11:06:31 2021 -0400

    [stable-only] Add missing classes to cinderclient.v3

    The QuotaSet class was never added to cinderclient.v3.quotas, and
    the VolumeTransfer class was never added to cinderclient.v3.
    volume_transfers.

    Note: this fix is proposed directly to the stable branches, as the
    issue was fixed differently in master (Xena development) when the
    cinderclient.v2 classes were removed by change I335db5c1799e.

    Change-Id: Ie00f068d7818e20683a0c242b51027d657382dd4
    Closes-bug: #1938451
    (cherry picked from commit 579846c7a4446be98763540b1669f39464c2cab8)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 7.2.2

This issue was fixed in the openstack/python-cinderclient 7.2.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/python-cinderclient/+/815243

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/python-cinderclient/+/815243
Committed: https://opendev.org/openstack/python-cinderclient/commit/d5f10f430d7e269f5e59467d3ee547ca3a3a62ae
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit d5f10f430d7e269f5e59467d3ee547ca3a3a62ae
Author: Brian Rosmaita <email address hidden>
Date: Thu Jul 29 11:06:31 2021 -0400

    [stable-only] Add missing classes to cinderclient.v3

    The QuotaSet class was never added to cinderclient.v3.quotas, and
    the VolumeTransfer class was never added to cinderclient.v3.
    volume_transfers.

    Note: this fix is proposed directly to the stable branches, as the
    issue was fixed differently in master (Xena development) when the
    cinderclient.v2 classes were removed by change I335db5c1799e.

    Change-Id: Ie00f068d7818e20683a0c242b51027d657382dd4
    Closes-bug: #1938451
    (cherry picked from commit 579846c7a4446be98763540b1669f39464c2cab8)
    (cherry picked from commit c6f74bf1bceeaf8e5130868a39188894ff9b87cb)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 7.0.2

This issue was fixed in the openstack/python-cinderclient 7.0.2 release.

Changed in python-cinderclient:
status: Triaged → Fix Released
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.