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

[Xen-API] vm.start() returns Fault 3 : invalid domain



Hi,

I've used xen-api to create managed domain, and after creation the domain starts normally and comes up fine. However, when the domain is stopped (xm shutdown or using vm.cleanShutdown() from xen-api), it gets into a state "------", and the domain lists in the xm list.

VM is configured with the following actions:

on_crash preserve
on_poweroff restart
on_reboot restart

Showing up in the list seems to be fine as the domain is still registered with the xen management. But any subsequent attempts to start the domain using xen-spi calls (vm.spart()) result in an internal error stating "Fault 3 : '<DOM_ID>'". After this the xend service needs to be restarted to have the xen-api calls work correctly.

Such a virtual machine, however starts well using the "xm start" command, and the domid changes (usually to domid++).

Is this a known issue. To me it seems like the vm.cleanShutDown() (even tried hard shutdown) is not cleaning up the state of the vm correctly.

Any solutions or suggestions in this regard will be highly helpful.

Thanks in advance,
Saurabh.

Marinescu Dan wrote:
Hello,

I am trying to dynamically assign memory to a running Xen guest (Debian Etch from the template) using the Python bindings. The VM.set_memory_dynamic_max() doesn't seem to bring anything (i checked using free on the guest OS), while VM.set_memory_dynamic_max_live() throws the error XenAPI.Failure: VM_BAD_POWER_STATE. How can I do this?

Thanks,
Dan

------------------------------------------------------------------------

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


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


 


Rackspace

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