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

[Xen-API] [XCP] recompiling xapi rpm changes version and licensing details.



Hi there. I needed to recompile xapi to fix a bug that was resolved regarding 
vdi-create not setting the sharable flag. I used the sources provided in the 
source-1.iso from xen.org. Everything is good in this regard, and creating a 
vdi that has "sharable=true" is possible, but I had a problem that forced me to 
revert to the older copy of the xapi binary because my XCP box was now being 
identified as a XenServer box. 

Here's a screen shot:

http://picpaste.com/pics/xapi-Dyfq5vhO.1360171933.jpg

The actual problem happened on a real host pool member that I had installed the 
new RPMs. As I mentioned, I had to revert back to a backup copy of the xapi 
binary because I could not start any of my VMs on that host. The error from xe 
was:

There are no suitable hosts to start this VM on.
The following table provides per-host reasons for why the VM could not be 
starte                                                                          
                       d:

DCSC-XEN03    : Cannot start here [Not enough free memory]
    DCSC-XEN01: Cannot start here 
[Api_errors.Server_error("VM_HOST_INCOMPATIBLE_VERSION", _)]

My question is how do I go about modifying the version and platform information 
for XAPI? My xensource-inventory file looks fine:

BUILD_NUMBER='61809c'
SOFTWARE_VERSION='1.6.10'
DOM0_MEM='752'
MANAGEMENT_INTERFACE='xenbr0'
INSTALLATION_UUID='718e7db1-cf3d-46ea-bcc9-cee8c456ed4d'
COMPANY_NAME_SHORT='xen.org'
PLATFORM_NAME='XCP'
PLATFORM_VERSION='1.6.10'
KERNEL_VERSION='2.6.32.43-0.4.1.xs1.6.10.734.170748xen'
BRAND_CONSOLE='a console'
COMPANY_NAME='xen.org'
XEN_VERSION='4.1.3'
PRIMARY_DISK='/dev/disk/by-id/scsi-SATA_QEMU_HARDDISK_QM00001'
CONTROL_DOMAIN_UUID='969c742c-9b46-46ca-85d1-7f7eb249d913'
MANAGEMENT_ADDRESS_TYPE='IPv4'
BACKUP_PARTITION='/dev/disk/by-id/scsi-SATA_QEMU_HARDDISK_QM00001-part2'
PRODUCT_VERSION='XCP'
INSTALLATION_DATE='2013-02-05 13:50:23.445194'


It is almost as if the new xapi binary doesn't care about xensource-inventory?

_______________________________________________
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®.