WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] RE: [Xen-users] Xen Cloud Platform disaster

To: Stephen Spector <stephen.spector@xxxxxxxxxx>, 'Vern Burke' <vburke0715@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] RE: [Xen-users] Xen Cloud Platform disaster
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Thu, 24 Dec 2009 17:09:31 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 24 Dec 2009 09:12:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <652FFB2C8F91E3428799B1FFF8B490C9724AD4F4F4@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <597560.33302.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <652FFB2C8F91E3428799B1FFF8B490C9724AD4F4F4@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqEgJr1B2zXoUclSuewO2Wh36Y5fAAJAZswAAWw5SA=
Thread-topic: [Xen-users] Xen Cloud Platform disaster

Hi,

 

I investigated and discovered that I removed most but not all of the licensing code L The ‘feature restrictions’ were disabled but the license expiry check was still present. I’ve pushed a patch to xen-api.hg to fix this.

 

I’ve compiled a custom xapi binary which is: build 20719 (the one on the website) plus this specific patch. The binary is here:

 

http://www.xen.org/files/XenCloud/Software/20719c/xapi-no-expiry

 

if you copy that to /opt/xensource/bin/xapi, make sure you ‘chmod +x’ it, and the restart xapi it should work. The binary needs to be changed on all hosts.

 

I installed a 20719c build, installed a VM, pushed my clock forward, reproduced the failure, installed the new xapi and verified the VM could be started.

 

I’ll aim to update the XCP binaries on the website in January to include this fix.

 

Sorry about that,

Dave

 

From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Stephen Spector
Sent: 24 December 2009 14:24
To: 'Vern Burke'; xen-users@xxxxxxxxxxxxxxxxxxx; xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] RE: [Xen-users] Xen Cloud Platform disaster

 

Vern:

 

The licensing components from XCP should have been removed and this not occur. I have added the xen-api list to this email so the developers can be aware of the situation and offer their guidance. Thanks.

 

Stephen Spector

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Vern Burke
Sent: Thursday, December 24, 2009 5:05 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen Cloud Platform disaster

 

Well, I made the mistake of shutting down my XCP cloud tonight not knowing that XCP licenses expire every 30 days and expired licenses prevent any VMs from being started (and not having any procedure listed anywhere to get a new license). So I reinstall XCP on one machine, get a new 30 day license generated, import the pool data base so the VMs are back and discover it sets the damn license back to the expired date!

So now I'm down totally. I can't start anything, I can't restore anything, I can't regenerate a new license for any of the machines without abandoning everything. Is there ANY way to get a new license on these without starting over from ground zero?

Vern

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api