Tags

,

Today I found out a bug in connecting Haizea 1.1 and Opennebula.

I was getting this error in Haizea.log file:

” Enactment of end VM failed: Error when invoking ‘vm.shutdown’: unpack list of wrong size

Enactment error when shutting down VMs.”

In fact, the problem is that the Opennebula RPC interface has changed.

To fix the bug:

  1. Find opennebula_xmlrpc.py file in common directory in Haizea project.
  2. Within this file, search for

(rc, value) = self.rpc.one.vm.action(self.auth2, action, vid)

and change it to the following form:

(f,rc, value) = self.rpc.one.vm.action(self.auth2, action, vid)

** I have also uploaded the modified file. You can download it from here and replace it with the one in your project.

Advertisements