Skip to contentSkip to conversation

INTERNAL_ERROR "(3, 'No such process')"

PATCH New Pascal Bouchareine 1 participant 1 message Jul 13, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 INTERNAL_ERROR "(3, 'No such process')"

Hi,
Attached is an attempt to fix the following:

Quoted 1 line
Quoted 1 line
Quoted 1 line

x2.VM.hard_shutdown(s2, '6ae7302d-6846-3548-f418-df7a9b351607')

{'Status': 'Success', 'Value': ''}

Quoted 1 line
Quoted 1 line
Quoted 1 line

x2.VM.get_record(s2, '6ae7302d-6846-3548-f418-df7a9b351607')

{'Status': 'Failure', 'ErrorDescription': ['INTERNAL_ERROR', "(3, 'No such process')"]}

Thanks for your comments

Signature · 2 lines
\o/   Pascal Bouchareine - Gandi 
 g    0170393757           15, place de la Nation - 75011 Paris      
tools/python/xen/xend/XendDomainInfo.py +1 -1
diff -r 93b9161fc920 tools/python/xen/xend/XendDomainInfo.py
@@ -2166,7 +2166,7 @@ class XendDomainInfo:
         self._safe_set_memory('memory_dynamic_min', val)
     
     def get_vcpus_params(self):
-        if self.getDomid() is None:
+        if dom_get(self.getDomid()) is None:
             return self.info['vcpus_params']
 
         retval = xc.sched_credit_domain_get(self.getDomid())

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel