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

Re: [Xen-API] Custom SM Plugin Error

  • To: <xen-api@xxxxxxxxxxxxx>
  • From: Germano Percossi <germano.percossi@xxxxxxxxxx>
  • Date: Thu, 18 Feb 2016 17:02:48 +0000
  • Delivery-date: Thu, 18 Feb 2016 17:02:56 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi Patrick, have you always used this name for your SR?
Not sure what has changed in xapi for 6.6 (apart from the
whitelist mechanism) but in 6.5 to have a recognized SR
you need to have something named <anything>SR.

I would expect something like a symlink named
CEPHSR linked to your CEPHSR.py.


On 02/18/2016 04:48 PM, Patrick Wombacher wrote:
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?


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 mailing list



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