retype available volume fails with non root file access
Bug #1938196 reported by
Stefan Hoffmann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Medium
|
Unassigned |
Bug Description
## Description
We use NSF-share as block-storage backend. It is configured, that only cinder user (by uid) can write to this share.
When running retype on a volume not in-use, it fails, because connector.
We propose to add an configuration option to set the root_access to false if needed.
Will present a fix soon, so we can discuss about it. Thanks for your help and ideas.
## Version info
# cinder --version
3.5.0 (but code on master looks the same)
on Ubuntu
nfs-common 1:1.2.8-9ubuntu12.3
volume backend: NetApp, nfs version vers=4.0
To post a comment you must log in.
Greetings,
The retype operation is rule:admin_or_owner so both the project-member and the project-admin should be allowed to retype. As far as I understand, the user you are using should be allowed to retype. I think we should discard that this bug happens on other backend as well as nfs.
Cheers,
Sofia