Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
On 12/30/2011 03:02 AM, Ewan Mellor wrote: It's a JSON dictionary. It looks like it's only purpose is for the administrator to set arbitrary key-value pairs, and then get them again later. It looks completely useless and overdone to me. Both xapi and Nova already have databases -- I've no idea why someone felt the need to add a third. I'd not worry about it if I were you -- as long as the path is set to a directory it can write in, then it'll just quietly stick '{}' in the xenhost.conf and get on with life. Ewan. Thanks Ewan, got it to work with {} in the file. Thomas ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
Hi, I'm trying to have both XenAPI (XCP, which I uploaded last week in SID) to work with Openstack (the version currently in experimental). Despite bug #909373 which I hacked my way around, nova-compute refuses to start with the below error. What am I doing wrong? What's that plugin thing about? Note that I've put stuff in /etc/xapi.d, like the xenhost python script, but it doesn't seem that's enough. By the way, if these have to be installed in the dom0, wouldn't it be wise to have it packaged as openstack-xcp-xapi-plugin or something similar? If so, what exactly should I put in this package? All what I have in plugins/xenserver/xenapi/etc/xapi.d? Should xcp-xapi be restarted after these are installed? Cheers, Thomas Goirand (zigo) ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
On Thu, Dec 29, 2011, Thomas Goirand tho...@goirand.fr wrote: What am I doing wrong? What's that plugin thing about? Note that I've put stuff in /etc/xapi.d, like the xenhost python script, but it doesn't seem that's enough. Did you place it in /etc/xapi.d or /etc/xapi.d/plugins? The latter is the correct path. JE ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
- Original message - On Thu, Dec 29, 2011, Thomas Goirand tho...@goirand.fr wrote: What am I doing wrong? What's that plugin thing about? Note that I've put stuff in /etc/xapi.d, like the xenhost python script, but it doesn't seem that's enough. Did you place it in /etc/xapi.d or /etc/xapi.d/plugins? The latter is the correct path. JE The later, though I did that mistake first! :) any idea? Thomas ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
You need chmod a+x /etc/xapi.d/plugins/* If you just want to install a package, Xen.org are building an RPM for XenServer / XCP with these plugins: http://downloads.xen.org/XCP/openstack/openstack-xen-plugins/. Cheers, Ewan. -Original Message- From: openstack-bounces+ewan.mellor=citrix@lists.launchpad.net [mailto:openstack-bounces+ewan.mellor=citrix@lists.launchpad.net] On Behalf Of Thomas Goirand Sent: 28 December 2011 17:36 To: Johannes Erdfelt; openstack@lists.launchpad.net Subject: Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost - Original message - On Thu, Dec 29, 2011, Thomas Goirand tho...@goirand.fr wrote: What am I doing wrong? What's that plugin thing about? Note that I've put stuff in /etc/xapi.d, like the xenhost python script, but it doesn't seem that's enough. Did you place it in /etc/xapi.d or /etc/xapi.d/plugins? The latter is the correct path. JE The later, though I did that mistake first! :) any idea? Thomas ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
On 12/29/2011 10:40 AM, Ewan Mellor wrote: You need chmod a+x /etc/xapi.d/plugins/* If you just want to install a package, Xen.org are building an RPM for XenServer / XCP with these plugins: http://downloads.xen.org/XCP/openstack/openstack-xen-plugins/. Cheers, Ewan. Hi, Thanks, but that's not what I'm trying to do here. I'm not interested in the RPM packages at all. I had a quick look though, in this package. I'm working on the Debian packaging of both XCP and OpenStack. I worked closely with Mike and Jon from Citrix, and last week, I uploaded XCP in Debian SID (that would be the first milestone of the project Kronos). I'm currently modifying nova packaging so that these files are packaged in a convenient nova-xcp-pluggins. I have found out (by myself) that the plugin directory in Debian isn't: /etc/xapi.d/pluggins but rather: /usr/lib/xcp/plugins which indeed makes a lot more sense in a packaged, FHS respecting, environment, and I know both Jon and Mike worked on that. Now, I'm having another error though: (nova): TRACE: Failure: ['XENAPI_PLUGIN_FAILURE', 'host_data', 'IOError', [Errno 2] No such file or directory: '/usr/etc/xenhost.conf'] I don't really mind the path issue (the issue is in the xenhost python script, I can fix it and set it to /etc/xcp/xenhost.conf instead), but what does the plugin expect to see in this file? Thomas ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
It looks like it creates the file if it's not there -- it's just not smart enough to create /usr/etc if *that's* missing. I reckon if you fix the path, everything will work fine. I've no idea why that path was chosen even for XenServer (CentOS 5 based). Something like /etc/openstack would be more appropriate in either environment, in my opinion. Cheers, Ewan. -Original Message- From: Thomas Goirand [mailto:tho...@goirand.fr] Sent: 28 December 2011 21:25 To: Ewan Mellor Cc: Johannes Erdfelt; openstack@lists.launchpad.net Subject: Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost On 12/29/2011 10:40 AM, Ewan Mellor wrote: You need chmod a+x /etc/xapi.d/plugins/* If you just want to install a package, Xen.org are building an RPM for XenServer / XCP with these plugins: http://downloads.xen.org/XCP/openstack/openstack-xen-plugins/. Cheers, Ewan. Hi, Thanks, but that's not what I'm trying to do here. I'm not interested in the RPM packages at all. I had a quick look though, in this package. I'm working on the Debian packaging of both XCP and OpenStack. I worked closely with Mike and Jon from Citrix, and last week, I uploaded XCP in Debian SID (that would be the first milestone of the project Kronos). I'm currently modifying nova packaging so that these files are packaged in a convenient nova-xcp-pluggins. I have found out (by myself) that the plugin directory in Debian isn't: /etc/xapi.d/pluggins but rather: /usr/lib/xcp/plugins which indeed makes a lot more sense in a packaged, FHS respecting, environment, and I know both Jon and Mike worked on that. Now, I'm having another error though: (nova): TRACE: Failure: ['XENAPI_PLUGIN_FAILURE', 'host_data', 'IOError', [Errno 2] No such file or directory: '/usr/etc/xenhost.conf'] I don't really mind the path issue (the issue is in the xenhost python script, I can fix it and set it to /etc/xcp/xenhost.conf instead), but what does the plugin expect to see in this file? Thomas ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost
Hi Ewan, Yes, fixing the path is easy, but *what is in this file*? (see below: it was what I was specifically asking for) I've been searching for quite some time on the net, and didn't find any info about this, and I have no access to a XCP / XenServer machine... Is that file shipped by default with a XenServer? Cheers, Thomas On 12/29/2011 01:47 PM, Ewan Mellor wrote: It looks like it creates the file if it's not there -- it's just not smart enough to create /usr/etc if *that's* missing. I reckon if you fix the path, everything will work fine. I've no idea why that path was chosen even for XenServer (CentOS 5 based). Something like /etc/openstack would be more appropriate in either environment, in my opinion. Cheers, Ewan. -Original Message- From: Thomas Goirand [mailto:tho...@goirand.fr] Sent: 28 December 2011 21:25 To: Ewan Mellor Cc: Johannes Erdfelt; openstack@lists.launchpad.net Subject: Re: [Openstack] CRITICAL XENAPI_MISSING_PLUGIN xenhost [...] '/usr/etc/xenhost.conf'] I don't really mind the path issue (the issue is in the xenhost python script, I can fix it and set it to /etc/xcp/xenhost.conf instead), but what does the plugin expect to see in this file? Thomas ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp