failed create instance xenserver download_vhd() takes exactly 9 non-keyword arguments (8 given)

asked 2015-12-07 04:03:24 -0500

adhi gravatar image

Hi, I trying to setup my liberty openstack environment with the xenserver 6.5 as hypervisor, when I trying to create the instance its failed and the nova-compute show the error like this :

2015-12-07 16:54:24.164 7839 INFO nova.compute.manager [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Starting instance...
2015-12-07 16:54:24.244 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Attempting claim: memory 521 MB, disk 1 GB
2015-12-07 16:54:24.245 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Total memory: 8132 MB, used: 512.00 MB
2015-12-07 16:54:24.246 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] memory limit: 12198.00 MB, free: 11686.00 MB
2015-12-07 16:54:24.246 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Total disk: 1375 GB, used: 0.00 GB
2015-12-07 16:54:24.247 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] disk limit: 1375.00 GB, free: 1375.00 GB
2015-12-07 16:54:24.297 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Claim successful
2015-12-07 16:54:24.962 7839 ERROR nova.utils [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Failed to spawn, rolling back
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Traceback (most recent call last):
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 578, in _spawn
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     name_label)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 141, in inner
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     rv = f(*args, **kwargs)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 420, in create_disks_step
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     block_device_info)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 359, in _get_vdis_for_instance
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     instance, name_label, image_meta.id, image_type)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1323, in create_image
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     image_type)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1283, in _create_cached_image
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     sr_ref)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 254, in inner
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     return f(*args, **kwargs)
2015-12-07 16:54:24.962 7839 ERROR ...
(more)
edit retag flag offensive close merge delete