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

[Xen-changelog] [xen-unstable] Fix XendNode when no host state is saved.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1170176151 0
# Node ID 749c7d8e4514a6c6923ad9ab5f2364c8a0101402
# Parent  3b0b70a4fd62a854015f0643ae2000e1b392d189
Fix XendNode when no host state is saved.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendNode.py |    1 +
 1 files changed, 1 insertion(+)

diff -r 3b0b70a4fd62 -r 749c7d8e4514 tools/python/xen/xend/XendNode.py
--- a/tools/python/xen/xend/XendNode.py Tue Jan 30 16:32:50 2007 +0000
+++ b/tools/python/xen/xend/XendNode.py Tue Jan 30 16:55:51 2007 +0000
@@ -74,6 +74,7 @@ class XendNode:
             self.desc = ''
             self.other_config = {}
             self.cpus = {}
+            self.host_metrics_uuid = uuid.createString()
             
         # load CPU UUIDs
         saved_cpus = self.state_store.load_state('cpu')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.