Created attachment 570320[details]
vdsm log
connect Storage Server :LOCALFS from RESTAPI leads to a accsess permissions exception on VDSM
Thread-106::INFO::2012-03-15 16:45:11,382::localFsSD::57::Storage.StorageDomain::(create) sdUUID=22aec9c1-5aa4-4423-aca1-bc44dece7bfe domainName=RestDataDomain
_LOCAL remotePath=/home/rest_test_domain domClass=1
Thread-106::ERROR::2012-03-15 16:45:11,383::task::853::TaskManager.Task::(_setError) Task=`e71bc0e3-0819-4f91-aa00-cef14c36c79f`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 861, in _run
return fn(*args, **kargs)
File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
res = f(*args, **kwargs)
File "/usr/share/vdsm/storage/hsm.py", line 2084, in createStorageDomain
domClass, typeSpecificArg, storageType, domVersion)
File "/usr/share/vdsm/storage/localFsSD.py", line 65, in create
cls._preCreateValidation(sdUUID, mntPoint, remotePath, version)
File "/usr/share/vdsm/storage/localFsSD.py", line 38, in _preCreateValidation
fileSD.validateDirAccess(domPath)
File "/usr/share/vdsm/storage/fileSD.py", line 50, in validateDirAccess
getProcPool().fileUtils.validateAccess(dirPath)
File "/usr/share/vdsm/storage/processPool.py", line 53, in wrapper
return self.runExternally(func, *args, **kwds)
File "/usr/share/vdsm/storage/processPool.py", line 64, in runExternally
return self._procPool.runExternally(*args, **kwargs)
File "/usr/share/vdsm/storage/processPool.py", line 154, in runExternally
raise err
StorageServerAccessPermissionError: Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path.: 'path = /rhev/data-center/mnt/_home_rest__test__domain'
Description of problem:
StorageServerAccessPermissionError: Permission settings on the specified path
do not allow access to the storage. Verify permission settings on the specified
storage path.: 'path = /rhev/data-center/mnt/_home_rest__test__domain'
As we see, '/rhev/data-center/mnt/_home_rest__test__domain' != '/rhev/data-center/mnt/_home_rest_test_domain'
Comment 3Eduardo Warszawski
2012-03-15 16:11:47 UTC
Above was In Change-Id: Ifc5c160aba9b4cc88225dde0c44f9b766c6a4c0d
Created attachment 570320 [details] vdsm log connect Storage Server :LOCALFS from RESTAPI leads to a accsess permissions exception on VDSM Thread-106::INFO::2012-03-15 16:45:11,382::localFsSD::57::Storage.StorageDomain::(create) sdUUID=22aec9c1-5aa4-4423-aca1-bc44dece7bfe domainName=RestDataDomain _LOCAL remotePath=/home/rest_test_domain domClass=1 Thread-106::ERROR::2012-03-15 16:45:11,383::task::853::TaskManager.Task::(_setError) Task=`e71bc0e3-0819-4f91-aa00-cef14c36c79f`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 861, in _run return fn(*args, **kargs) File "/usr/share/vdsm/logUtils.py", line 38, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/storage/hsm.py", line 2084, in createStorageDomain domClass, typeSpecificArg, storageType, domVersion) File "/usr/share/vdsm/storage/localFsSD.py", line 65, in create cls._preCreateValidation(sdUUID, mntPoint, remotePath, version) File "/usr/share/vdsm/storage/localFsSD.py", line 38, in _preCreateValidation fileSD.validateDirAccess(domPath) File "/usr/share/vdsm/storage/fileSD.py", line 50, in validateDirAccess getProcPool().fileUtils.validateAccess(dirPath) File "/usr/share/vdsm/storage/processPool.py", line 53, in wrapper return self.runExternally(func, *args, **kwds) File "/usr/share/vdsm/storage/processPool.py", line 64, in runExternally return self._procPool.runExternally(*args, **kwargs) File "/usr/share/vdsm/storage/processPool.py", line 154, in runExternally raise err StorageServerAccessPermissionError: Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path.: 'path = /rhev/data-center/mnt/_home_rest__test__domain' Description of problem: