| Summary: | openstack-cinder-volume doesn't use rootwrap to mount NFS share | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Sandro Mathys <sandro> |
| Component: | openstack-cinder | Assignee: | Eric Harney <eharney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Giulio Fidente <gfidente> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | eharney, warp.kawada |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-cinder-2013.2-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-13 18:35:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Sandro Mathys
2013-09-11 13:29:34 UTC
Likely introduced by https://review.openstack.org/#/c/43064/ . I fixed like below.
diff -urp -rup cinder-2013.2.b3/cinder/brick/remotefs/remotefs.py cinder-my_2013.2.b3/cinder/brick/remotefs/remotefs.py
--- cinder-2013.2.b3/cinder/brick/remotefs/remotefs.py 2013-09-07 00:39:49.000000000 +0900
+++ cinder-my_2013.2.b3/cinder/brick/remotefs/remotefs.py 2013-09-20 12:24:52.450943786 +0900
@@ -60,7 +60,7 @@ class RemoteFsClient(object):
self._mount_options = None
else:
raise exception.ProtocolNotSupported(protocol=mount_type)
- self.root_helper = root_helper
+ self.root_helper = 'sudo cinder-rootwrap %s' % CONF.rootwrap_config
self.set_execute(execute)
def set_execute(self, execute):
Fixed in 2013.2 release. |