<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 17/09/2013 08:03, Marcelo Dieder
wrote:<br>
</div>
<blockquote
cite="mid:CAJVMCt7Fpm_CXXQp=zx0+OAsTtjCKF=BY2ZmqZpyKzqnCZ8N7Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello all!<br>
<br>
</div>
I have a Openstack ambient with 5 components (Grizzly
Version):<br>
<br>
</div>
1 Xenserver 6.2 (top of list)<br>
</div>
<div> - 1 cloud controller (ubuntu 12.04)<br>
</div>
- 1 network Quantum (ubuntu 12.04)<br>
</div>
- 1 compute with Qemu<br clear="all">
<div>
<div>
<div>
<div>
<div> - 1 Compute Xen (nova-compute PV machine with
Xenapi)<br>
<br>
</div>
<div>I can create instances with the compute qemu, but i
cannot create instances with the Xen Hypervisor.<br>
<br>
</div>
<div>When I create a instance with the Xen compute I
received the error below:<br>
<br>
2013-09-17 02:44:15.702 ERROR nova.utils
[req-b524f9d2-7675-4e3b-acc1-25b8cb3e544c
7378135d00ec442a80fb1cd7eac6f489
5b1acda6173a46cea4e2448147c20662] [instance:
437aba49-d9eb-4924-8753-5446725aeae0] Failed to spawn,
rolling back<br>
<br>
"XENAPI_PLUGIN_FAILURE\', \'download_vhd\',
\'TypeError\', "download_vhd() got an unexpected
keyword argument \'auth_token\'"]\n']"</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hello,<br>
<br>
I think that there is a mismatch between the nova plugins that
you're using in dom0 and the nova code you're running in the DomU.
So you need to update the content of /etc/xapi.d/plugins on dom0
according to the version you are running on the domU. On my
installation I just copied the content of
/opt/stack/nova/plugins/xenserver/xenapi/etc/xapi.d/plugins that is
located on domU (I'm running devstack) to /etc/xapi.d/plugins that
is located on dom0.<br>
<br>
Hope this help,<br>
Guillaume<br>
</body>
</html>