[Openstack] Cannot create instances on Xenserver 6.2

Marcelo Dieder marcelodieder at gmail.com
Tue Sep 17 06:03:15 UTC 2013


Hello all!

I have a Openstack ambient with 5 components (Grizzly Version):

1 Xenserver 6.2 (top of list)
  - 1 cloud controller (ubuntu 12.04)
  - 1 network Quantum (ubuntu 12.04)
  - 1 compute with Qemu
  - 1 Compute Xen (nova-compute PV machine with Xenapi)

I can create instances with the compute qemu, but i cannot create instances
with the Xen Hypervisor.

When I create a instance with the Xen compute I received the error below:

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

"XENAPI_PLUGIN_FAILURE\', \'download_vhd\', \'TypeError\', "download_vhd()
got an unexpected keyword argument \'auth_token\'"]\n']"

More details:

2013-09-17 02:44:17.853 ERROR nova.compute.manager
[req-b524f9d2-7675-4e3b-acc1-25b8cb3e544c 7378135d00ec442a80fb1cd7eac6f489
5b1acda6173a46cea4e2448147c20662] [instance:
437aba49-d9eb-4924-8753-5446725aeae0] Error: ['Traceback (most recent call
last):\n', '  File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 848, in
_run_instance\n    set_access_ip=set_access_ip)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1107, in
_spawn\n    LOG.exception(_(\'Instance failed to spawn\'),
instance=instance)\n', '  File "/usr/lib/python2.7/contextlib.py", line 24,
in __exit__\n    self.gen.next()\n', '  File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1103, in
_spawn\n    block_device_info)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 177, in
spawn\n    admin_password, network_info, block_device_info)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 480, in
spawn\n    undo_mgr.rollback_and_reraise(msg=msg, instance=instance)\n', '
File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 1250, in
rollback_and_reraise\n    self._rollback()\n', '  File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n
self.gen.next()\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 463, in
spawn\n    vdis = create_disks_step(undo_mgr, disk_image_type,
image_meta)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 142, in
inner\n    rv = f(*args, **kwargs)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 346, in
create_disks_step\n    block_device_info=block_device_info)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 317, in
_create_disks\n    block_device_info=block_device_info)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 518,
in get_vdis_for_instance\n    context, session, instance, name_label,
image, image_type)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 974,
in _create_image\n    image_id, image_type)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 919,
in _create_cached_image\n    image_id, image_type)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 994,
in _fetch_image\n    vdis = _fetch_vhd_image(context, session, instance,
image_id)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1109,
in _fetch_vhd_image\n    callback=callback)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1022,
in _fetch_using_dom0_plugin_with_retry\n    plugin_name, \'download_vhd\',
**params)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 739, in
call_plugin_serialized\n    rv = self.call_plugin(plugin, fn, params)\n',
'  File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line
735, in call_plugin\n    host, plugin, fn, args)\n', '  File
"/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 749, in
_unwrap_plugin_exceptions\n    return func(*args, **kwargs)\n', '  File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 235, in __call__\n
return self.__send(self.__name, args)\n', '  File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 139, in
xenapi_request\n    result = _parse_result(getattr(self,
methodname)(*full_params))\n', '  File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 209, in
_parse_result\n    raise Failure(result[\'ErrorDescription\'])\n',
'Failure: [\'XENAPI_PLUGIN_FAILURE\', \'download_vhd\', \'TypeError\',
"download_vhd() got an unexpected keyword argument \'auth_token\'"]\n']

Below more details about the images and computes:

root at xenCompute001:~# glance image-list
+--------------------------------------+-------------------------+-------------+------------------+---------+--------+
| ID                                   | Name                    | Disk
Format | Container Format | Size    | Status |
+--------------------------------------+-------------------------+-------------+------------------+---------+--------+
| 835567db-432b-45bb-ad96-3c45a8e4c9a5 | Cirros-0.3.0-x86_64_vhd |
vhd         | ovf              | 9220007 | active |
| 95dbc980-a9e5-4413-ba70-8e7200f78c8d | cirros-0.3.0_64         |
qcow2       | bare             | 9761280 | active |
+--------------------------------------+-------------------------+-------------+------------------+---------+--------+

root at xenCompute001:~# glance image-show 835567db-432b-45bb-ad96-3c45a8e4c9a5
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 56dcf159bbf8373886112c5d07d23901     |
| container_format | ovf                                  |
| created_at       | 2013-09-13T19:57:49                  |
| deleted          | False                                |
| disk_format      | vhd                                  |
| id               | 835567db-432b-45bb-ad96-3c45a8e4c9a5 |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Cirros-0.3.0-x86_64_vhd              |
| owner            | 45b5536f182f486da4ac0fa35a031f06     |
| protected        | False                                |
| size             | 9220007                              |
| status           | active                               |
| updated_at       | 2013-09-13T19:57:49                  |
+------------------+--------------------------------------+

root at xen1:~# nova-manage service list
Binary           Host                                 Zone
Status     State Updated_At
nova-consoleauth controller                           internal
enabled    :-)   2013-09-17 05:59:47
nova-cert        controller                           internal
enabled    :-)   2013-09-17 05:59:47
nova-scheduler   controller                           internal
enabled    :-)   2013-09-17 05:59:47
nova-conductor   controller                           internal
enabled    :-)   2013-09-17 05:59:47
nova-compute     c01                                  nova
enabled    :-)   2013-09-17 05:59:52
nova-compute     xenCompute001                nova             enabled
:-)   2013-09-17 05:59:52

Does anyone know this problem?

-- 
Att.
Marcelo Dieder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130917/fffc5d9c/attachment.html>


More information about the Openstack mailing list