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

Re: [Xen-API] Xenserver 6.1 hotfixes for XCP 1.6


  • To: xen-api@xxxxxxxxxxxxx
  • From: George Shuklin <george.shuklin@xxxxxxxxx>
  • Date: Wed, 27 Mar 2013 00:06:36 +0400
  • Delivery-date: Tue, 26 Mar 2013 20:07:13 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

From my previous experience with XCP 1.1, we usually unpack rpm's from xenserver updates.
That works fine for:
* Hypervisor
* kernel
* most of the blktap/sm stuff

Unpack instruction: (or one of the updates, but can be applied to others): http://5407.selcdn.ru/xen/instruction.html

Main and fatal problem is xapi updates. You can not unpack and install xapi package from upates for XenServer. It will violate license and will cause ... not sure what exactly, but _WILL_.

And there is still no updates for xapi from XCP 1.6. But, happily, there is tampa-lcm branch of xapi, which has almost no difference (at initial point) from tampa-xcp branch (and XCP source.iso versions).
And some time ago there was long discussion 'how to compile', and there is very easy script to prepare build environment for compilation: https://github.com/mcclurmc/xcp-sdk (note my pull request with 'build.sh' script to complete compilation).

So you can do it yourself. Finally.


On 26.03.2013 15:56, Edwards, Nick, Vodafone Group wrote:

Hi,

Â

I am running XCP 1.6.10 (61809c) and I have been looking at installing hotfixes as there do not appear to many if any that are available for XCP 1.6.

Â

I have been looking into this and as some of you Iâm sure have already discovered it is not possible to install Xenserver 6.1 hotfixes on XCP. I was receiving the following from the cli when trying to apply an uploaded fix:

Â

[root@xen2 ~]# xe -s localhost -u root -pw password patch-pool-apply uuid=89699bc9-fb15-49e9-9d7b-05e0eb49114d

The uploaded patch file is invalid. See attached log for more details.

log: Could not find element %s

Â

It turns out the problem was caused by the wrong server version:

Â

[root@xen2 ~]# gpg --homedir /opt/xensource/gpg/ --no-default-keyring --keyring /opt/xensource/gpg/pubring.gpg --output hotfix.unsigned --decrypt <XSUPDATE.the_filename>

Â

[root@xen2 ~]# sh hotfix.unsigned precheck

<error errorcode="PATCH_PRECHECK_FAILED_WRONG_SERVER_VERSION">

ÂÂÂ <found></found>

ÂÂÂ <required>^6\.1\.0$</required>

</error>

Â

Makes sense of course as this is XCP. I then added the following line to /etc/xensource-inventory:

Â

PRODUCT_VERSION='6.1.0'

Â

After adding this I am able to get the hotfixes to install no problem.

Â

This is all good, however I would like to know whether this is a good idea or not? If it will cause problems elsewhere and also if the Xenserver 6.1 updates could also cause certain incompatibilities etc? As I understand things the builds are very similar and coming from the same source tree (I might be wrong here).

Â

Advice and thoughts gratefully received!

Â

Thanks,

Â

Nick

Â

Â

Â

Â



_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
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®.