Comment #3 on issue 784 by [email protected]: gnt-node list returns blank info when file storage paths do not exist on disk
http://code.google.com/p/ganeti/issues/detail?id=784

I get the same error, even after creating '/srv/ganeti/file-storage' directory on all nodes. 'gnt-cluster verify' no longer reports an error, but 'gnt-node list' still gives question marks and the exception is still raised in the node daemon log. It's important to notice that the exception does not include '/srv/ganeti/file-storage' as the non-existing path, but reports no path at all, as if the path is set by mistake to an empty string in the code:

Traceback (most recent call last):
File "/usr/share/ganeti/2.10/ganeti/server/noded.py", line 181, in HandleRequest
    result = (True, method(serializer.LoadJson(req.request_body)))
File "/usr/share/ganeti/2.10/ganeti/server/noded.py", line 762, in perspective_node_info
    return backend.GetNodeInfo(storage_units, hv_specs)
  File "/usr/share/ganeti/2.10/ganeti/backend.py", line 752, in GetNodeInfo
    (lambda (storage_type, storage_key, storage_params):
File "/usr/share/ganeti/2.10/ganeti/backend.py", line 731, in _GetNamedNodeInfo
    return map(fn, names)
  File "/usr/share/ganeti/2.10/ganeti/backend.py", line 753, in <lambda>
    _ApplyStorageInfoFunction(storage_type, storage_key, storage_params)))
File "/usr/share/ganeti/2.10/ganeti/backend.py", line 806, in _ApplyStorageInfoFunction
    return fn(storage_key, *args)
File "/usr/share/ganeti/2.10/ganeti/backend.py", line 770, in _GetFileStorageSpaceInfo
    return filestorage.GetFileStorageSpaceInfo(path)
File "/usr/share/ganeti/2.10/ganeti/storage/filestorage.py", line 56, in GetFileStorageSpaceInfo
    " path: %s - %s" % (path, e.strerror))
CommandError: Failed to retrieve file system information about path: - No such file or directory

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to