[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Custom SM Plugin Error


  • To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Patrick Wombacher <pwombacher@xxxxxxxxxx>
  • Date: Thu, 18 Feb 2016 16:48:58 +0000
  • Accept-language: en-US
  • Delivery-date: Thu, 18 Feb 2016 16:49:09 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AdFqaYzXHBbfBOA5TmecQ+WIL3BZJQ==
  • Thread-topic: Custom SM Plugin Error

I have been developing a custom SR using Ceph as a backend for a while now. I had some decent success with XenServer 6.5, and I could load a couple VMs using the rbd kernel module. I have been trying to get it to work on 6.6 in hopes that I can move from kernel space into user space. I have run into a few issues, and currently cannot even get XenServer to recognize the new SR type, let alone attempt to use it. I found that there is now a whitelist of plugins, and have edited line 154 of /etc/xapi.conf to include my new SR type in the whitelist. However, when I restart xapi my SR type is not listed among available SR types. I checked /var/log/xensource.log and I see a strange error:

 

Feb 18 10:34:20 xenbeta xapi: [error|xenbeta|0 |Registering SMAPIv1 plugins D:030605a866ff|sm_exec] Rejecting SM plugin: CEPH because of exception: Storage_interface.Backend_error(_) (executable)

 

Normally this would seem pretty clear, except that I’ve already used “chmod a+x /opt/xensource/sm/CEPH.py” on my plugin. I know my plugin is executable. What could be causing this error? And is there documentation for creating adding new plugins in Dundee?

 

-Patrick


This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.