[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Re: Xen-API SDK - clean_shutdown- not working?
Hi
I tried to run api clean_shutdown - I saw the program runs up to that point and stuck (synchronous call) taking too long - for more than 5 minutes no return I checked the gui of openxencenter - nothing reacts i saw on the console openxencetner appeared the below message continously but the uuid here is not on the vm uuid list that test program shows. VM.clean_shutdown pending 0.666671376874: {'timestamp': '1265840330.', 'class': 'task', 'snapshot': {'status': 'pending', 'subtask_of': 'OpaqueRef:NULL', 'current_operations': {}, 'subtasks': [], 'uuid': 'f972e3ae-fc69-1358-1102-52afef3c7124', 'created': <DateTime '20100210T22:05:30Z' at 283eb00>, 'other_config': {}, 'name_label': 'VM.clean_shutdown', 'allowed_operations': ['cancel'], 'finished': <DateTime '19700101T00:00:00Z' at 28ed908>, 'resident_on': 'OpaqueRef:c130b670-3782-2052-c67f-0845441503d8', 'result': '', 'progress': 0.66667137687404954, 'name_description': '', 'error_info': [], 'type': '<none/>'}, 'operation': 'mod', 'ref': 'OpaqueRef:2b134aa8-844f-c7e4-a839-20ae03e3944f', 'id': '14536'} Please let me know what is going on - here is the piece of code vm = session.xenapi.VM.get_by_name_label('debian-vm1')[0] record = session.xenapi.VM.get_record(vm) print record["power_state"] --> show it is running state print record print 'calling clean shutdown' session.xenapi.VM.clean_shutdown(vm) --> stuck here Thanks Thuymai _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |