Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCP 7.6 - Tried everything I can think of.. #96

Open
fluiddmotion opened this issue Nov 14, 2018 · 2 comments
Open

XCP 7.6 - Tried everything I can think of.. #96

fluiddmotion opened this issue Nov 14, 2018 · 2 comments

Comments

@fluiddmotion
Copy link

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):#12 File "/usr/libexec/xapi-storage-script/volume/org.xen.xapi.storage.rbdsr/SR.create", line 20, in #12 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.

@kenneth104
Copy link

Oh,I have the same problem

#97

@kenneth104
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants