Now I got your point, That is true; there has not been much evolution in ACS in respect to XCP. I know that, the last commit in respect to XCP, was a bug that we (I and some colleagues) fixed a while ago. Since, we are using it in our environment; we are checking if everything is working properly with XCP in ACs and starting to maintain it.
What you said is true, ACs also uses SSH and not just the API of XAPI, but so far, everything is working as expected with XCP. The only problem is the one I found yesterday. I just opened a Jira ticket because that is the protocol; we are the ones that will fix that problem. On Sun, Dec 20, 2015 at 3:07 PM, Paul Angus <paul.an...@shapeblue.com> wrote: > Rafael, > > Sorry I wasn't clear enough. I meant XCP support in CloudStack not having > been maintained for some time. > I have built Debian+Xen+XAPI for clients before, but the driver was > staying open source; which became much simpler with the opensource > XenServer. > > The result of stopping that maintenance will be why you're now seeing your > error. I fear that you'll find more issues once you get past your current > issue. CloudStack doesn't only communicate with the hosts over XAPI, but > SSH as well (see cloudstack/scripts/vm/hypervisor/xenserver for a number of > scripts are copied over to hosts). > > > > > -----Original Message----- > From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] > Sent: Sunday, December 20, 2015 4:46 PM > To: dev@cloudstack.apache.org > Subject: Re: Request for assistance with Xenserver > > I know that XCP per se is not being maintained anymore, you can read about > that here: http://www.xenproject.org/developers/teams/xapi.html > The XCP as an “OS” that would come with Xen hypervisor + XAPI on top of > CentOS was discontinued. However, the XAPI project per se continues to be > developed as it is the base for XenServer. What we do here is to build our > own “XenServer”. Anyone, can do that, pick an OS, install Xen hypervisor > and then XAPI. > > All of CloudStack commands that I have seen and used until today are based > on XAPI, therefore, there is no difference between using the XenServer or > the one we have and that most people would normally call XCP. > > Tim himself posted a question in the user list a while ago in which I > explained that for him. > > http://mail-archives.apache.org/mod_mbox/cloudstack-users/201504.mbox/%3CCAG97rafgRBxjkoSuZf=kveb_+gujgq60j3tdmcg7m0mpk4k...@mail.gmail.com%3E > > On Sun, Dec 20, 2015 at 2:33 PM, Paul Angus <paul.an...@shapeblue.com> > wrote: > > > Hi Rafael, > > > > I'm pretty sure XCP has not been maintained since Citrix's XenServer > > was made fully opensource. > > > > Tim Mackey from the Xen Project did a load of work so that the > > CloudStack code explicitly refers to XenServer to cover this; making > > way for Xen (as > > Xen+Libvirt) to be introduced - something that I was a big fan of. > > Xen+However > > I believe that the latter part of this project has stalled. > > > > > > > > > > [image: ShapeBlue] <http://www.shapeblue.com> Paul Angus VP Technology > > , ShapeBlue d: *+44 203 603 0540 | s: +44 203 617 0528* > > <+44%20203%20603%200540%20%7C%20s:%20+44%20203%20617%200528> | m: > > *+44 7711 418784* <+44%207711%20418784> e: > > *paul.an...@shapeblue.com | t: @cloudyangus* > > <paul.an...@shapeblue.com%20%7C%20t:%20@cloudyangus> | w: > > *www.shapeblue.com* <http://www.shapeblue.com> a: > > 53 Chandos Place, Covent Garden London WC2N 4HS UK Shape Blue Ltd is a > > company incorporated in England & Wales. ShapeBlue Services India LLP > > is a company incorporated in India and is operated under license from > > Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company > > incorporated in Brasil and is operated under license from Shape Blue > > Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of > > South Africa and is traded under license from Shape Blue Ltd. ShapeBlue > is a registered trademark. > > This email and any attachments to it may be confidential and are > > intended solely for the use of the individual to whom it is addressed. > > Any views or opinions expressed are solely those of the author and do > > not necessarily represent those of Shape Blue Ltd or related > > companies. If you are not the intended recipient of this email, you > > must neither take any action based upon its contents, nor copy or show > > it to anyone. Please contact the sender if you believe you have received > this email in error. > > > > > > -----Original Message----- > > From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] > > Sent: Sunday, December 20, 2015 1:08 PM > > To: dev@cloudstack.apache.org > > Subject: Re: Request for assistance with Xenserver > > > > When I said pure Xen, I meant XCP. XCP can be seen as an acronym to > > Xen hypervisor + XAPI. I recall to have explained that (difference > > between XCP and XenServer ) once or twice at the users list. Nowadays, > > the XCP version that was provided on top of an OS has been > > discontinued. However, we can use the OS we like (we use Debian) and > > on top of it install Xen hypervisor and then the XAPI packages. The > > XAPI project is an active project, as it is the base of XenServer. > > > > We have a cloud build on top of Debian + Xen server (4.1) + XCP (1.6) > > that we have been using with CloudStack (since ACS 4.1). It has been > > running since 2013. > > > > On Sun, Dec 20, 2015 at 10:57 AM, Remi Bergsma < > > rberg...@schubergphilis.com> > > wrote: > > > > > Hi Rafael, > > > > > > Are you sure pure xen is supported? I think all code now assumes > > > xenserver. Although when you use xapi it might as well work. This > > > needs to be tested thoroughly. > > > > > > Regards, Remi > > > > > > > > > > On 20 Dec 2015, at 13:39, Rafael Weingärtner < > > > rafaelweingart...@gmail.com> wrote: > > > > > > > > Ticket created > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-9190 > > > > > > > > On Sun, Dec 20, 2015 at 9:00 AM, Rafael Weingärtner < > > > > rafaelweingart...@gmail.com> wrote: > > > > > > > >> Thanks, Remi, > > > >> Just by looking at your output, I found the bug. > > > >> I will open a Jira ticket and a PR to fix that. > > > >> > > > >> The problem is the following: > > > >> In environments in which we use pure Xen hypervisor + XAPI, ACS > > > >> is not loading the Hypervisor version properly. That happens > > > >> because when you > > > use > > > >> pure Xen Hypervisor + XAPI, it does not have that > > > >> “product_version_text_short” entry. In those Environments, the > > > >> version > > > that > > > >> we have to retrieve comes from “platform_version” entry. > > > >> > > > >> On Sun, Dec 20, 2015 at 7:04 AM, Remi Bergsma < > > > rberg...@schubergphilis.com > > > >>> wrote: > > > >> > > > >>> Hi Rafael, > > > >>> > > > >>> This is from my devtest environment: > > > >>> > > > >>> XS62 > > > >>> xe host-param-list uuid=uuid | grep software-version > > > >>> software-version (MRO): product_version: > > > >>> 6.2.0; > > > >>> product_version_text: 6.2; product_version_text_short: 6.2; > > > platform_name: > > > >>> XCP; platform_version: 1.8.0; product_brand: XenServer; > build_number: > > > >>> 70446c; hostname: ganash-1; date: 2015-11-05; dbv: 2013.0621; xapi: > > > 1.3; > > > >>> xen: 4.1.5; linux: 2.6.32.43-0.4.1.xs1.8.0.861.170802xen; > > > xencenter_min: > > > >>> 2.0; xencenter_max: 2.1; network_backend: openvswitch; > > > >>> xs:xenserver-transfer-vm: XenServer Transfer VM, version 6.2.0, > > > >>> build 70314c; xcp:main: Base Pack, version 1.8.0, build 70446c; > > xs:main: > > > >>> XenServer Pack, version 6.2.0, build 70446c > > > >>> > > > >>> > > > >>> # XS65 > > > >>> xe host-param-list uuid=uuid | grep software-version > > > >>> software-version (MRO): product_version: > > > >>> 6.5.0; > > > >>> product_version_text: 6.5; product_version_text_short: 6.5; > > > platform_name: > > > >>> XCP; platform_version: 1.9.0; product_brand: XenServer; > build_number: > > > >>> 90233c; hostname: squeeze-1; date: 2015-04-17; dbv: 2015.0101; > xapi: > > > 1.3; > > > >>> xen: 4.4.1-xs108914; linux: 3.10.0+2; xencenter_min: 2.3; > > > xencenter_max: > > > >>> 2.4; network_backend: openvswitch; xs:main: XenServer Pack, > > > >>> version > > > 6.5.0, > > > >>> build 90233c; xcp:main: Base Pack, version 1.9.0, build 90233c; > > > >>> xs:xenserver-transfer-vm: XenServer Transfer VM, version 6.5.0, > > > >>> build > > > 90158c > > > >>> > > > >>> You can easily run XenServer as a VM on for example KVM of VMware. > > > >>> I > > > use > > > >>> this to make the template unique at first boot: > > > >>> https://github.com/remibergsma/uniqueXenServer > > > >>> > > > >>> Regards, > > > >>> Remi > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> On 20/12/15 00:41, "Rafael Weingärtner" > > > >>> <rafaelweingart...@gmail.com> > > > >>> wrote: > > > >>> > > > >>>> Hi folks, > > > >>>> > > > >>>> Today I was checking a problem with XCP, and looking at the > > > >>>> code to > > > check > > > >>>> how ACS discovers the hypervisor version I had a doubt. Sadly, > > > >>>> I did > > > not > > > >>>> have in my hands an environment using Xensever. So, can some of > > > >>>> you > > > that > > > >>>> use Xenserver, run the following command and provide me with > > > >>>> the > > > output? > > > >>>> > > > >>>> xe host-param-list uuid=<host UUID> | grep software-version > > > >>>> > > > >>>> > > > >>>> > > > >>>> Thanks in advance > > > >>>> > > > >>>> -- > > > >>>> Rafael Weingärtner > > > >> > > > >> > > > >> > > > >> -- > > > >> Rafael Weingärtner > > > > > > > > > > > > > > > > -- > > > > Rafael Weingärtner > > > > > > > > > > > -- > > Rafael Weingärtner > > Paul Angus > > VP Technology > > > > paul.an...@shapeblue.com | www.shapeblue.com Paul Angus VP Technology > > > > paul.an...@shapeblue.com | www.shapeblue.com Find out more about > > ShapeBlue and our range of CloudStack related services: > > IaaS Cloud Design & Build > > <http://shapeblue.com/iaas-cloud-design-and-build//> | CSForge – rapid > > IaaS deployment framework <http://shapeblue.com/csforge/> CloudStack > > Consulting <http://shapeblue.com/cloudstack-consultancy/> | CloudStack > > Software Engineering > > <http://shapeblue.com/cloudstack-software-engineering/> > > CloudStack Infrastructure Support > > <http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack > > Bootcamp Training Courses <http://shapeblue.com/cloudstack-training/> > > > > > > -- > Rafael Weingärtner > Paul Angus > VP Technology > > paul.an...@shapeblue.com | www.shapeblue.com > -- Rafael Weingärtner