Create Consistency Group with non-admin user failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Xing Yang |
Bug Description
When create Consistency Group with a non-admin user, below exception was thrown in Scheduler, and the creation will failed.
2015-09-14 06:26:12.906 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
2015-09-14 06:26:12.906 100959 ERROR oslo_messaging.
This seems to be a regression of https:/
How to reproduce: (Below step is for devstack enviornment)
1. Create a public volume type with extra spec
stack@
+------
| ID | Name | extra_specs |
+------
| 19977785-
| a1d37da1-
+------
2. Switch to a non-admin user, say demo
source ~/devstack/openrc demo demo
3. Create a consistency group
cinder consisgroup-create --name cg-test a1d37da1-
4. The Consistency group is in error status and above exception was found in cinder scheduler log.
stack@ubuntu-
+------
| ID | Status | Name |
+------
| dfdfdc09-
+------
=======
CInder Version I was used:
stack@ubuntu-
commit 8312a3ed5eafdc0
Merge: f0ef55f a69d5ff
Author: Jenkins <email address hidden>
Date: Mon Sep 7 20:59:52 2015 +0000
Merge "Fix description for "Barbarism of editting a file""
tags: | added: cg |
tags: | removed: cg |
Changed in cinder: | |
assignee: | nobody → Xing Yang (xing-yang) |
milestone: | none → liberty-rc1 |
importance: | Undecided → High |
status: | New → In Progress |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-rc1 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/223388
Review: https:/