[Cinder] users that has _member_ privileges cannot extend Volumes randomly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
MOS Cinder | ||
8.0.x |
Invalid
|
High
|
MOS Cinder | ||
9.x |
Invalid
|
High
|
MOS Cinder |
Bug Description
Detailed bug description:
If user is added to the project as _member_ then Volume extension fails very often. Only "admin" can extend without errors
Steps to reproduce:
1. Create project and Create user for this project.
2. Add created user with _member_ role
3. Create volume:
~# cinder create --name TestHDD 10
~# cinder list|grep TestHDD
| 00de505d-
4. Extend volume:
~# cinder extend TestHDD 20
5. See the result:
~# cinder list|grep TestHDD
| 00de505d-
Expected results:
Volume extension is successful.
Actual result:
Volume extension fails (not every time, but every second or third time)
cinder-volume.log contents:
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
2016-06-30 10:45:03.012 15094 ERROR cinder.
Reproducibility:
98% (sometimes IT GETS EXTENDED)
Impact:
Member of the Porject cannot extend Volumes
Description of the environment:
MOS 8
- OS: UBUNTU 14.04
open-iscsi 2.0.873-3ubuntu9
cinder-api 2:7.0.1-
cinder-backup 2:7.0.1-
cinder-common 2:7.0.1-
cinder-scheduler 2:7.0.1-
cinder-volume 2:7.0.1-
python-cinder 2:7.0.1-
python-cinderclient 1:1.4.0-
multipath-tools 0.4.9-3ubuntu7.12
volume_driver cinder.
keystone 2:8.1.0-
python-keystone 2:8.1.0-
python-
python-
Additional information:
if added user is with "admin" role - no extending error occurs.
tags: | added: area-cinder |
tags: | removed: need-info |
tags: | added: move-to-9.2 |
can you upload diag-snapshot?