volume manager must call driver.remove_export with elevated context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Eric Harney |
Bug Description
There are a couple of places in the volume manager (initialize_
This appears to break the assumption used in delete_volume() where an elevated context is passed.
This causes the LVM LIO driver to fail with an error removing an export in an initialize_
Traceback (most recent call last):
File "/usr/lib/
**args)
File "/usr/lib/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
volume['id'])
File "/usr/lib/
return IMPL.volume_
File "/usr/lib/
raise exception.
AdminRequired: User does not have admin privileges
tags: | added: icehouse-rc-potential |
Changed in cinder: | |
milestone: | none → icehouse-rc3 |
importance: | Undecided → High |
Changed in cinder: | |
milestone: | icehouse-rc3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/86400
Review: https:/