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] [PATCH] revert xen-api.hg c/s 848:dddf116cddb5

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] revert xen-api.hg c/s 848:dddf116cddb5
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Thu, 13 May 2010 14:31:33 +0100
Delivery-date: Thu, 13 May 2010 06:29:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1273757461 -3600
# Node ID 712027599b2d2ecaac3ab69d0cc6bfea7bde1e56
# Parent  4bde1604fc1795fe826574335f34b5e2c3c75594
Revert c/s 848:dddf116cddb5 - VM.other_config:auto_poweron is inexplicable 
either way around, so revert back to the old behaviour until we come up with a 
new plan (probably involving merging this with HA VM restart)

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r 4bde1604fc17 -r 712027599b2d scripts/xapi-autostart-vms
--- a/scripts/xapi-autostart-vms        Thu Apr 29 10:22:35 2010 +0100
+++ b/scripts/xapi-autostart-vms        Thu May 13 14:31:01 2010 +0100
@@ -15,6 +15,5 @@
 /opt/xensource/bin/xapi-wait-init-complete ${XAPI_START_TIMEOUT_SECONDS}
 if [ $? -eq 0 ]; then
     # if xapi init completed then start vms (best effort, don't report errors)
-       . /etc/xensource-inventory
-    xe vm-start other-config:auto_poweron=true affinity=${INSTALLATION_UUID} 
power-state=halted --multiple >/dev/null 2>/dev/null || true
+    xe vm-start other-config:auto_poweron=true power-state=halted --multiple 
>/dev/null 2>/dev/null || true
 fi
1 file changed, 1 insertion(+), 2 deletions(-)
scripts/xapi-autostart-vms |    3 +--


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] revert xen-api.hg c/s 848:dddf116cddb5, David Scott <=