| Summary: | v2v: No import rollback when deleting source VM during import. | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Nisim Simsolo <nsimsolo> | ||||||||||||||||
| Component: | BLL.Virt | Assignee: | Shahar Havivi <shavivi> | ||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> | ||||||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||||||
| Priority: | low | ||||||||||||||||||
| Version: | 3.6.1 | CC: | bugs, mgoldboi, michal.skrivanek, nsimsolo, sbonazzo, shavivi, tjelinek | ||||||||||||||||
| Target Milestone: | ovirt-3.6.6 | Flags: | rule-engine:
ovirt-3.6.z+
mgoldboi: planning_ack+ rule-engine: devel_ack+ rule-engine: testing_ack+ |
||||||||||||||||
| Target Release: | 3.6.6 | ||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2016-05-30 10:53:34 UTC | Type: | Bug | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Nisim Simsolo
2016-01-13 10:24:24 UTC
Created attachment 1114355 [details]
engine log
Created attachment 1114356 [details]
vdsm log
Please add logs/proof that on host v2v process was no longer running; or v2v logs. Looking at vdsm logs there is no indication about anything - Shahar, are you sure when v2v dies it is reported back to vdsm correctly? (In reply to Michal Skrivanek from comment #3) > Please add logs/proof that on host v2v process was no longer running; or v2v > logs. > > Looking at vdsm logs there is no indication about anything - Shahar, are you > sure when v2v dies it is reported back to vdsm correctly? Yes, as a test I started to import and stop the engine (for not rolling back and clear the job) killed virt-v2v and the stats show: v2vJobs = {'423c38b0-37f6-4d1b-da17-bd1d55fe296c': {'description': "Job '423c38b0-37f6-4d1b-da17-bd1d55fe296c' process failed exit-code: -9, stderr: ", 'progress': 0, 'status': 'error'}} so, that would be an indication that v2v didn't die, right (adding back needinfo on nisim) I reproduced it again.. when deleting source VM during rhevm "copying disk" phase, the import get stuck in this phase forever. as for the jobs and processes: v2v job is still running (see getVdsStats.txt attached) v2v process is also running [virt-v2v] <defunct> (see host_process.txt attached) Also, see vmware_vms.txt for existing vmware VMs. the source VM deleted name is RHEL7_test. vdsm and engine log also attached. Another thing important to mention, when deleting source VM during initialize phase, import progress is rolled back as expected. Created attachment 1120441 [details]
VMware VMs
Created attachment 1120442 [details]
host processes
Created attachment 1120443 [details]
getVdsStats
Created attachment 1120444 [details]
new vdsm.log
Created attachment 1120445 [details]
new engine.log
Verified. rhevm-3.6.6.2-0.1.el6 qemu-kvm-rhev-2.3.0-31.el7_2.10.x86_64 vdsm-4.17.28-0.el7ev.noarch sanlock-3.2.4-2.el7_2.x86_64 libvirt-client-1.2.17-13.el7_2.4.x86_64 Verification scenario: 1. Import VM from VMware. 2. During "initializing" phase, delete source VM and verify ConvertVmCallback started, VM deleted from webadmin and its disks were deleted also. 3. Import another VM from VMware. 4. During "copying" phase, delete source VM and verify ConvertVmCallback started, VM deleted from webadmin and its disks were deleted also. |