Hi All, I tried again with XAPI on Debian last night and this time things went far smoother... I managed to boot into the Xen kernel, xe is working and the XAPI daemon appears to be running. However, I am having trouble connecting to XAPI from XenCenter... it just says the connection was refused without any meaningful errors and nothing in the logs on either side. I can ping the Xen machine from another machine and I''ve configured the management interface on eth0, but it seems it still can''t connect. When I visit http://xenhost/ in a browser I just get a page not found message but it says it is generated by the Xapi server at the bottom off the page, so it seems to me that the service is running but the XMLRPC application is missing or something like that? Does anyone have any ideas what could be wrong? I''ve followed this guide but I''ve only gone down as far as the line "add your main interface as the management interface" because I don''t have a spare disk to use as a SR right now. http://wiki.xensource.com/xenwiki/XAPI_on_debian Thanks! p.s. this is all from memory so apologies if details are a little sketchy/inaccurate. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 08/26/2011 06:55 AM, "msgbox450@gmail.com" <msgbox450@gmail.com> wrote:> Hi All, > > I tried again with XAPI on Debian last night and this time things went far > smoother... I managed to boot into the Xen kernel, xe is working and the > XAPI daemon appears to be running. However, I am having trouble connecting > to XAPI from XenCenter... it just says the connection was refused without > any meaningful errors and nothing in the logs on either side. ><SNIP>> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersYou need to enable SSL. Edit /etc/default/stunnel set enable to 1 I think Copy the xapi_ssl_conf file (i think that is it''s name) to /etc/stunnel Generate the certificate and start stunnel. I think you will need to use a beta version of XenCenter because the 5.6 version does not work (at least for me) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m still having trouble getting the XAPI web service up... I did a fresh XAPI-on-Debian install today, but there doesn''t seem to be an /etc/xensource/xapi-ssl.conf after installing the xapi package... not sure where it''s meant to come from or what I''m meant to put in it :( On Fri, Aug 26, 2011 at 1:36 PM, Errol Neal <eneal@businessgrade.com> wrote:> > On Fri, 08/26/2011 06:55 AM, "msgbox450@gmail.com" & > lt;msgbox450@gmail.com> wrote: > > Hi All, > > > > I tried again with XAPI on Debian last night and this time things went > far > > smoother... I managed to boot into the Xen kernel, xe is working and the > > XAPI daemon appears to be running. However, I am having trouble > connecting > > to XAPI from XenCenter... it just says the connection was refused without > > any meaningful errors and nothing in the logs on either side. > > > <SNIP> > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > You need to enable SSL. > Edit /etc/default/stunnel set enable to 1 I think > Copy the xapi_ssl_conf file (i think that is it''s name) to /etc/stunnel > Generate the certificate and start stunnel. > > I think you will need to use a beta version of XenCenter because the 5.6 > version does not work (at least for me) >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
msgbox450@gmail.com
2011-Oct-11 12:00 UTC
[Xen-API] Re: [Xen-users] [Project Kronos] XAPI on Debian
I''ve now got XenCenter to connect to XAPI on Debian, I had to run "/etc/init.d/xapissl start" which has created the config files and enabled XenCenter to connect via SSL. The problem I have now is that XenCenter 6 doesn''t seem to actually do anything... it connects, synchronises, everything appears to work on the surface. However, it detects only 92mb of RAM is free on the host (which is a big lie) and therefore can''t create any VMs, and trying to import an .xva it just sits there "preparing" forever. I''ve tried creating /etc/xensource/xapi_version_override with a line containing 5.6.199 and then done "service xapi restart", but this doesn''t seem to make any difference :( _______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
msgbox450@gmail.com
2011-Oct-11 12:31 UTC
[Xen-API] Re: [Xen-users] [Project Kronos] XAPI on Debian
Ah, I found the dom0 was using the RAM, so a "xm mem-set 0 512" has reduced the RAM it uses and I''ve managed to boot an iso. The XAPI still doesnt seem to be working right with XenCenter though... the console hangs, VMs can''t be imported etc. I wonder what is wrong :( On Tue, Oct 11, 2011 at 1:00 PM, msgbox450@gmail.com <msgbox450@gmail.com>wrote:> I''ve now got XenCenter to connect to XAPI on Debian, I had to run > "/etc/init.d/xapissl start" which has created the config files and enabled > XenCenter to connect via SSL. > > The problem I have now is that XenCenter 6 doesn''t seem to actually do > anything... it connects, synchronises, everything appears to work on the > surface. However, it detects only 92mb of RAM is free on the host (which is > a big lie) and therefore can''t create any VMs, and trying to import an .xva > it just sits there "preparing" forever. > > I''ve tried creating /etc/xensource/xapi_version_override with a line > containing 5.6.199 and then done "service xapi restart", but this doesn''t > seem to make any difference :( >_______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
Mike McClurg
2011-Oct-11 17:24 UTC
Re: [Xen-API] Re: [Xen-users] [Project Kronos] XAPI on Debian
Hi! First of all, thanks for testing Kronos for us! On 11/10/11 13:31, msgbox450@gmail.com wrote:> Ah, I found the dom0 was using the RAM, so a "xm mem-set 0 512" has > reduced the RAM it uses and I''ve managed to boot an iso. >You might also have luck with passing the option ''dom0_mem=512M'' to Xen from grub.> The XAPI still doesnt seem to be working right with XenCenter > though... the console hangs, VMs can''t be imported etc. I wonder what > is wrong :( >Could you be a little more explicit with these bug reports? For instance: What version of xapi are you using? The output of ''apt-cache show xapi | grep Version'' would be helpful. What do you mean by "console hang"? Does the console work, and then freeze, or does the console not work at all? What type of VMs can''t be imported? As in, what is the file extension of the VMs that can''t be imported? Do these things work when you use OpenXenManager? Does XenCenter give you any particular error messages? Can you find any error messages in the logs that might be relevant? Thanks for the help, Mike> On Tue, Oct 11, 2011 at 1:00 PM, msgbox450@gmail.com > <mailto:msgbox450@gmail.com> <msgbox450@gmail.com > <mailto:msgbox450@gmail.com>> wrote: > > I''ve now got XenCenter to connect to XAPI on Debian, I had to run > "/etc/init.d/xapissl start" which has created the config files and > enabled XenCenter to connect via SSL. > > The problem I have now is that XenCenter 6 doesn''t seem to > actually do anything... it connects, synchronises, everything > appears to work on the surface. However, it detects only 92mb of > RAM is free on the host (which is a big lie) and therefore can''t > create any VMs, and trying to import an .xva it just sits there > "preparing" forever. > > I''ve tried creating /etc/xensource/xapi_version_override with a > line containing 5.6.199 and then done "service xapi restart", but > this doesn''t seem to make any difference :( > >_______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
msgbox450@gmail.com
2011-Oct-11 20:17 UTC
Re: [Xen-API] Re: [Xen-users] [Project Kronos] XAPI on Debian
It logs in with xencenter 6 and lists the domains ok, it shows the ram and cpu usage and the cpu/network graphics work etc. Importing .xva such as the xenserver test vm doesnt work... just sits there "preparing to import VM" forever. Creating a VM from a template seems to work on the surface but then when trying to start it I get: 11/10/2011 19:50:20 Error: Starting VM ''CentOS 6.0 (32-bit)'' - Internal error: Unix.Unix_error(20, "access", "/usr/bin/eliloader") I get the same error with a debian template too. Trying to create a fresh VM from any ISO I''ve tried (debian, centos, suse) it provisions the VM but then when starting it just says "Starting" forever and never actually starts or gives an error. I''ve just reinstalled the debian+xapi from scratch but still no difference. Also, it appears that once created, I have no option to delete the VMs from the xencenter menu. On Tue, Oct 11, 2011 at 6:24 PM, Mike McClurg <mike.mcclurg@citrix.com>wrote:> Hi! First of all, thanks for testing Kronos for us! > > > On 11/10/11 13:31, msgbox450@gmail.com wrote: > > Ah, I found the dom0 was using the RAM, so a "xm mem-set 0 512" has reduced > the RAM it uses and I''ve managed to boot an iso. > > > You might also have luck with passing the option ''dom0_mem=512M'' to Xen > from grub. > > > The XAPI still doesnt seem to be working right with XenCenter though... > the console hangs, VMs can''t be imported etc. I wonder what is wrong :( > > > Could you be a little more explicit with these bug reports? For instance: > > What version of xapi are you using? The output of ''apt-cache show xapi | > grep Version'' would be helpful. > > What do you mean by "console hang"? Does the console work, and then freeze, > or does the console not work at all? > > What type of VMs can''t be imported? As in, what is the file extension of > the VMs that can''t be imported? > > Do these things work when you use OpenXenManager? Does XenCenter give you > any particular error messages? Can you find any error messages in the logs > that might be relevant? > > Thanks for the help, > > Mike > > > On Tue, Oct 11, 2011 at 1:00 PM, msgbox450@gmail.com <msgbox450@gmail.com > > wrote: > >> I''ve now got XenCenter to connect to XAPI on Debian, I had to run >> "/etc/init.d/xapissl start" which has created the config files and enabled >> XenCenter to connect via SSL. >> >> The problem I have now is that XenCenter 6 doesn''t seem to actually do >> anything... it connects, synchronises, everything appears to work on the >> surface. However, it detects only 92mb of RAM is free on the host (which is >> a big lie) and therefore can''t create any VMs, and trying to import an .xva >> it just sits there "preparing" forever. >> >> I''ve tried creating /etc/xensource/xapi_version_override with a line >> containing 5.6.199 and then done "service xapi restart", but this doesn''t >> seem to make any difference :( >> > > >_______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
Mike McClurg
2011-Oct-11 21:55 UTC
Re: [Xen-API] Re: [Xen-users] [Project Kronos] XAPI on Debian
On 10/11/2011 09:17 PM, msgbox450@gmail.com wrote:> It logs in with xencenter 6 and lists the domains ok, it shows the ram > and cpu usage and the cpu/network graphics work etc. >Good so far...> Importing .xva such as the xenserver test vm doesnt work... just sits > there "preparing to import VM" forever. >Can you provide a snippet of the logfile /var/log/xensource.log from the point that you start the import to the point where you give up waiting on it?> Creating a VM from a template seems to work on the surface but then > when trying to start it I get: > 11/10/2011 19:50:20 Error: Starting VM ''CentOS 6.0 (32-bit)'' - > Internal error: Unix.Unix_error(20, "access", "/usr/bin/eliloader") > I get the same error with a debian template too. >PV templates (those other than the ''Other install media'' template) require the eliloader package. We just packaged this up a week ago, and it doesn''t look like the xapi package depends upon it yet. I''ve filed a bug for this particular issue. Try doing ''apt-get install eliloader'', and make sure that your other packages are up-to-date as well.> Trying to create a fresh VM from any ISO I''ve tried (debian, centos, > suse) it provisions the VM but then when starting it just says > "Starting" forever and never actually starts or gives an error. >Were these PV templates, or ''Other install media'' templates (see above). Log snippets from the time after you started the VM would help diagnose this.> I''ve just reinstalled the debian+xapi from scratch but still no > difference. > > Also, it appears that once created, I have no option to delete the VMs > from the xencenter menu. >Does any of this work when you use the CLI? Is anything different? Mike _______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api