-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Stefan de Konink schreef: > Stefan de Konink schreef: >> I'm try to migrate using libvirt: > >> virsh # migrate 0802367323_PIQ002 xen://xen002.local/ >> libvir: Xen Daemon error : POST operation failed: xend_post: error from >> xen daemon: (xend.err 'Missing parameter: node') > >> virsh -v >> 0.4.6 > > Xen 3.3
The xend/server/SrvDomain.py includes: def do_migrate(self, _, req): fn = FormFn(self.xd.domain_migrate, [['dom', 'int'], ['destination', 'str'], ['live', 'int'], ['port', 'int'], ['node', 'int'], ['ssl', 'int']]) return fn(req.args, {'dom': self.dom.domid}) Since FormFn does a check on the required parameter, 4077 /* Make the call. */ 4078 ret = xend_op (domain->conn, domain->name, 4079 "op", "migrate", 4080 "destination", hostname, 4081 "live", live, 4082 "port", port, 4083 "resource", "0", /* required, xend ignores it */ "node", "-1", /* what does it do? */ "ssl", "0", 4084 NULL); Could probably fix it. But I don't know if the right approach is now to switch back to the development branch or, kindly request, a 0.4.6.1 Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkjqEnUACgkQYH1+F2Rqwn0cvQCggQjYvaiJN6WUcQyHBAJKsajP /ooAn0lgATaSnOrOUrRhc/347iZ9qEUd =0/O8 -----END PGP SIGNATURE----- -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list