For few days I was struggling with making “onevm shutdown” command works in OpenNebula3.4.

It is a bug in OpenNebula or KVM I believe and  specifically happens when we have combination of:


Anway, I could not solve it 😦 and therefore resorted to a kind of hack! In fact, I replaced the command with with “onevm cancel”  which is similar to shutdown (although it is not the same!) but it worked for me!

Particularly, I debugged Haizea with replacing

return self.vm_action(“shutdown”, vid)

In haizea/common/ with:

return self.vm_action(“cancel”, vid)

 i wish it will also work for you.