Bug 1620087
Summary: | ovirt api vm snapshot cloning error | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Peter Hudec <peter> | ||||
Component: | Backend.Core | Assignee: | Nobody <nobody> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.2.5.1 | CC: | bugs, michal.skrivanek, tnisan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-09-16 13:02:44 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: | |||||
Embargoed: | |||||||
Attachments: |
|
see the notes on github issue for one backup SW https://github.com/openbacchus/bacchus/issues/30 When I add VM disk checking part, it works as expected or as in previous version of ovirt. disk_attachments_service = vms_service.vm_service(vm.id).disk_attachments_service() disk_attachments = disk_attachments_service.list() for disk_attachment in disk_attachments: disk = connection.follow_link(disk_attachment.disk) print("DISK %s: %s" % (disk.name, disk.status)) while disk.status != types.DiskStatus.OK: time.sleep(1) disk = connection.follow_link(disk_attachment.disk) print("DISK %s: %s" % (disk.name, disk.status)) Anything changed in disk locking recently? AFAIK there was no change on virt side in any 4.2.z at least Seems like a duplicate of 1628909, from what Arik says it seems to be existing also in 4.1 *** This bug has been marked as a duplicate of bug 1628909 *** |
Created attachment 1477872 [details] python script using API Description of problem: could not cone the VM SNAP, when the SNAP status is OK. Version-Release number of selected component (if applicable): 4.2.5.3-1.el7 How reproducible: Try to create snapshot of the VM, wait until the SNAP is OK and try to clone the SNAP. Steps to Reproduce: 1. run the provided python script 2. 3. Actual results: virtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot add VM: The following disks are locked: ditlcm01_Disk1. Please try again in a few minutes.]". HTTP response code is 409. Expected results: VM Snaphshot should be cloned Additional info: This was working in 4.2.3 version list of python packages (ovirt)air-2:ovirt.api hudecof$ pip list Package Version ----------------------- -------- enum34 1.1.6 kitchen 1.2.5 ovirt-engine-sdk-python 4.2.8 ovirt-shell 3.6.9.2 pip 18.0 ply 3.11 pycurl 7.43.0.2 setuptools 40.1.1 six 1.11.0