can't specify tenant/all_tenant in attachment CLI

Bug #1675974 reported by TommyLike on 2017-03-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
TommyLike

Bug Description

We introduced new attach/detach API, but we can't use tenant and all_tenant in List command.

TommyLike (hu-husheng) on 2017-03-25
Changed in cinder:
assignee: nobody → TommyLike (hu-husheng)

Fix proposed to branch: master
Review: https://review.openstack.org/449939

Changed in cinder:
status: New → In Progress

Reviewed: https://review.openstack.org/449939
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=9bb85f24de6075f3fca08705659021d8e1c35fb5
Submitter: Jenkins
Branch: master

commit 9bb85f24de6075f3fca08705659021d8e1c35fb5
Author: TommyLike <email address hidden>
Date: Sat Mar 25 22:37:40 2017 +0800

    [BugFix] Add 'all_tenants', 'project_id' in attachment-list

    There are some issues around new attach/detach API/CLI,
    fix them step by step. This patch adds 'all_tenants',
    'project_id' support in attachment-list along with these
    modifications:

    1. Don't throw errors when have invalid filters and
       don't check filters when is admin context.
    2. Don't apply filters again when query already applied
       limit and offset.

    Change-Id: I5f469c809dfb16e52d6298c4aa13a30c27ee56f9
    Closes-Bug: #1675974

Changed in cinder:
status: In Progress → Fix Released

This issue was fixed in the openstack/cinder 11.0.0.0b1 development milestone.

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

Reviewed: https://review.openstack.org/475214
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=c09f4ffbb967d87254b9a364b5f49557348f960c
Submitter: Jenkins
Branch: stable/ocata

commit c09f4ffbb967d87254b9a364b5f49557348f960c
Author: TommyLike <email address hidden>
Date: Sat Mar 25 22:37:40 2017 +0800

    [BugFix] Add 'all_tenants', 'project_id' in attachment-list

    There are some issues around new attach/detach API/CLI,
    fix them step by step. This patch adds 'all_tenants',
    'project_id' support in attachment-list along with these
    modifications:

    1. Don't throw errors when have invalid filters and
       don't check filters when is admin context.
    2. Don't apply filters again when query already applied
       limit and offset.

    Change-Id: I5f469c809dfb16e52d6298c4aa13a30c27ee56f9
    Closes-Bug: #1675974
    (cherry picked from commit 9bb85f24de6075f3fca08705659021d8e1c35fb5)

tags: added: in-stable-ocata

This issue was fixed in the openstack/cinder 10.0.4 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers