Open fluiddmotion opened 5 years ago
Oh,I have the same problem
ok,i found the python error
Because in /lib/python2.7/site-packages/xapi/storage/libs
lack file__init__.py
So SR.create Line 20 unable to import/lib/python2.7/site-packages/xapi/storage/libs/librbd
*.py files
Solution
touch /lib/python2.7/site-packages/xapi/storage/libs/__init__.py
Have a nice day!
Hi, Just wondered if I could get some pointers..
I have Installed everything I can think of but I can never get the SR.Create command to work it always errors with..
Nov 14 01:15:27 xcp-ng-tmiwayvx SMAPIv3: [22463] - ERROR - Unhandled exception#012Traceback (most recent call last):#012 File "/usr/libexec/xapi-storage-script/volume/org.xen.xapi.storage.rbdsr/SR.create", line 20, in#012 from xapi.storage.libs.librbd import utils, ceph_utils, rbd_utils, meta#012ImportError: No module named libs.librbd
I have installed every lib module I can find, to no avail,, Yet I can connect to the ceph cluster correctly from the host.
My next try is on 7.5 and see if i have the same problem.