VimFaultException: A specified parameter was not correct: fileType

asked 2017-03-14 03:14:43 -0500

crusio gravatar image

updated 2017-03-14 22:49:25 -0500

i'm using ova image uploaded into glance to create vmware virtual machine, nova compute report error: "VimFaultException: A specified parameter was not correct: fileType" when execute "copy_virtual_disk" in spawn code.

openstack version: Mitaka

esxi: 6.0.0b

vcenter: 6.0.0

The image property:

glance image-show 459a6c44-8733-49d3-b902-710872addc40

+------------------+--------------------------------------+

| Property | Value |

+------------------+--------------------------------------+

| checksum | e84e0839a1ca6e5e184ad550e0fd872f |

| container_format | ova |

| created_at | 2017-03-07T02:58:40Z |

| disk_format | vmdk |

| hypervisor_type | vmware |

| id | 459a6c44-8733-49d3-b902-710872addc40 |

| min_disk | 5 |

| min_ram | 0 |

| name | rh_7.3_thin_sas |

| os_type | linux |

| owner | faf7dbf8c03d43a48d7f70a12577bbe2 |

| protected | False |

| size | 729227776 |

| status | active |

| tags | [] |

| updated_at | 2017-03-07T09:44:10Z |

| virtual_size | None |

| visibility | public |

| vmware_ostype | rhel6_64Guest |

+------------------+--------------------------------------+

detail log:

2017-03-14 15:22:14.509 9836 DEBUG nova.virt.vmwareapi.vm_util [req-1297d97b-78c1-464d-a104-3e9368539839 f2a86c332bc943e7b6d29476fb6f3f38 faf7dbf8c03d43a48d7f70a12577bbe2 - - -] Copying Virtual Disk [datastore1] 172.16.74.100_base/459a6c44-8733-49d3-b902-710872addc40/459a6c44-8733-49d3-b902-710872addc40.vmdk to [datastore1] 172.16.74.100_base/459a6c44-8733-49d3-b902-710872addc40/459a6c44-8733-49d3-b902-710872addc40.5.vmdk copy_virtual_disk /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vm_util.py:1404

2017-03-14 15:22:14.509 9836 DEBUG oslo_vmware.api [req-1297d97b-78c1-464d-a104-3e9368539839 f2a86c332bc943e7b6d29476fb6f3f38 faf7dbf8c03d43a48d7f70a12577bbe2 - - -] Waiting for function oslo_vmware.api._invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:122

2017-03-14 15:22:14.524 9836 DEBUG oslo_vmware.api [req-1297d97b-78c1-464d-a104-3e9368539839 f2a86c332bc943e7b6d29476fb6f3f38 faf7dbf8c03d43a48d7f70a12577bbe2 - - -] Waiting for the task: (returnval){ value = "task-9441" _type = "Task" } to complete. wait_for_task /usr/lib/python2.7/site-packages/oslo_vmware/api.py:386

2017-03-14 15:22:14.524 9836 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){ value = "task-9441" _type = "Task" }. _poll_task /usr/lib/python2.7/site-packages/oslo_vmware/api.py:398

2017-03-14 15:22:14.524 9836 DEBUG oslo_vmware.api [-] Waiting for function oslo_vmware.api._invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:122

2017-03-14 15:22:14.539 9836 DEBUG oslo_vmware.api [-] Task: (returnval){ value = "task-9441" _type = "Task" } progress is 0%. _poll_task /usr/lib/python2.7/site-packages/oslo_vmware/api.py:415

2017-03-14 15:22:15.024 9836 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){ value = "task-9441" _type = "Task" }. _poll_task /usr/lib/python2.7/site-packages/oslo_vmware/api.py:398

2017-03-14 15:22:15.025 9836 DEBUG oslo_vmware.api [-] Waiting for function oslo_vmware.api._invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:122

2017-03-14 15:22:15.042 9836 DEBUG oslo_vmware.exceptions [-] Fault InvalidArgument not matched. get_fault_class /usr/lib/python2.7/site-packages/oslo_vmware/exceptions.py:295

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall [-] in fixed duration looping call

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall Traceback (most recent call last):

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall File "/usr/lib/python2.7/site-packages/oslo_vmware/common/loopingcall.py", line 76, in _inner

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall self.f(self.args, *self.kw)

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 429, in _poll_task

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall raise task_ex

2017-03-14 15:22:15.042 9836 ERROR oslo_vmware.common.loopingcall VimFaultException: A specified parameter was not correct: fileType

2017-03-14 15:22:15 ... (more)

edit retag flag offensive close merge delete