Created attachment 943085[details]
Engine and vdsm logs
Description of problem:
When importing a VM from an Export domain into an iSCSI domain, Sometimes, an error is thrown on the first attempt.
Abstract from vdsm log:
67cee885-35b1-47a8-8e15-37fef91deb68::ERROR::2014-10-01 11:07:53,429::task::866::Storage.TaskManager.Task::(_setError) Task=`67cee885-35b1-47a8-8e15-37fef91deb68`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 873, in _run
return fn(*args, **kargs)
File "/usr/share/vdsm/storage/task.py", line 334, in run
return self.cmd(*self.argslist, **self.argsdict)
File "/usr/share/vdsm/storage/securable.py", line 77, in wrapper
return method(self, *args, **kwargs)
File "/usr/share/vdsm/storage/sp.py", line 1508, in copyImage
postZero, force)
File "/usr/share/vdsm/storage/image.py", line 750, in copyCollapsed
(dstVolUUID, str(e)))
CopyImageError: low level Image copy failed: ("Destination volume aae1c36e-499b-424a-9b5a-517361f66c30 error: [Errno 17] File exists: '/rhev/data-center/00000002-0002-0002-0002-0000000002ec/847b74d3-f092-40cf-9bb8
-19c7ae498e62/images/0b0375ba-0718-411c-9e15-1bba10a79d6c'",)
Version-Release number of selected component (if applicable):
3.5 vt3.1
How reproducible:
unknown
Steps to Reproduce:
1. Create VM with 2 disks, one thin and one pre-allocated
2. Create template out of this VM
3. Export VM to the export domain
4. Import VM from export with iscsi Storage Domain
Actual results:
Sometimes an error thrown on the first attempt.
Expected results:
The import should be done on the first attempt.
Additional info:
Why create a template, how is this related to the flow?
I'm assuming the whole flow used default checks in checkboxes.
Currently the above flow with defaults works for me.
(In reply to Vered Volansky from comment #1)
> Why create a template, how is this related to the flow?
you don't have to create a template
> I'm assuming the whole flow used default checks in checkboxes.
correct
> Currently the above flow with defaults works for me.
that's why i mentioned that it does not 100% reproducible
Created attachment 943085 [details] Engine and vdsm logs Description of problem: When importing a VM from an Export domain into an iSCSI domain, Sometimes, an error is thrown on the first attempt. Abstract from vdsm log: 67cee885-35b1-47a8-8e15-37fef91deb68::ERROR::2014-10-01 11:07:53,429::task::866::Storage.TaskManager.Task::(_setError) Task=`67cee885-35b1-47a8-8e15-37fef91deb68`::Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 873, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/task.py", line 334, in run return self.cmd(*self.argslist, **self.argsdict) File "/usr/share/vdsm/storage/securable.py", line 77, in wrapper return method(self, *args, **kwargs) File "/usr/share/vdsm/storage/sp.py", line 1508, in copyImage postZero, force) File "/usr/share/vdsm/storage/image.py", line 750, in copyCollapsed (dstVolUUID, str(e))) CopyImageError: low level Image copy failed: ("Destination volume aae1c36e-499b-424a-9b5a-517361f66c30 error: [Errno 17] File exists: '/rhev/data-center/00000002-0002-0002-0002-0000000002ec/847b74d3-f092-40cf-9bb8 -19c7ae498e62/images/0b0375ba-0718-411c-9e15-1bba10a79d6c'",) Version-Release number of selected component (if applicable): 3.5 vt3.1 How reproducible: unknown Steps to Reproduce: 1. Create VM with 2 disks, one thin and one pre-allocated 2. Create template out of this VM 3. Export VM to the export domain 4. Import VM from export with iscsi Storage Domain Actual results: Sometimes an error thrown on the first attempt. Expected results: The import should be done on the first attempt. Additional info: