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)
Reviewed: https:/ /review. openstack. org/475214 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=c09f4ffbb96 7d87254b9a364b5 f49557348f960c
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit c09f4ffbb967d87 254b9a364b5f495 57348f960c
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: I5f469c809dfb16 e52d6298c4aa13a 30c27ee56f9 3fca08705659021 d8e1c35fb5)
Closes-Bug: #1675974
(cherry picked from commit 9bb85f24de6075f