
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi Avihai, I will report it. Meanwhile I found another bug in UI ;( Right now I'm trying to add disk status code, just to confirm what you said. Peter On 22/08/2018 13:48, Avihai Efrat wrote:
Hi Peter,
Would you mind reporting a bug on this issue you saw? To me, it looks like sync/timing issue between snapshot state('OK) and disk state('Locked').
Can you also please check if the disk that is reported as locked is indeed locked at the time the error is reported? Please add this info to the bug and all relevant scripts.
As a workaround, please consider adding an additional wait for all the VM disks to also reach 'OK' state.
Thanks, Avihai
On Wed, Aug 22, 2018 at 10:01 AM, Raz Tamir <ratamir@redhat.com <mailto:ratamir@redhat.com>> wrote:
I have a feeling this is related to the issue we reviewed yesterday and, that we have a bug here
Could you please take care of this?
---------- Forwarded message --------- From: *Peter Hudec* <phudec@cnc.sk <mailto:phudec@cnc.sk>> Date: Wed, Aug 22, 2018, 01:33 Subject: [ovirt-users] ovirt api vm snapshot cloning error To: users <users@ovirt.org <mailto:users@ovirt.org>>
Hi,
I'm trying to solve an issue described in https://github.com/openbacchus/bacchus/issues/30 <https://github.com/openbacchus/bacchus/issues/30>.
Short description is - create snapshot - wait until the snapshot is OK - clone snapshot - got 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
To simulate the error I have combined the exampe scripts - https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/clo ne
_vm_from_snapshot.py
<https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/cl one_vm_from_snapshot.py>
- -
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add _v
m_snapshot.py
<https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/ad d_vm_snapshot.py>
The full code is here:
https://tools.apps.hudecof.net/paste/view/0319f4f <https://tools.apps.hudecof.net/paste/view/0319f4f> 1
This code was working on 4.2.3 version. I skipped the 4.2.4, but n 4.2.5 is broken.
Any clue what's wrong?
regards Peter
_______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/EPMEOT52 3Z7JXIUVO6BJSQOD4NYUBBQZ/
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/EPMEOT523 Z7JXIUVO6BJSQOD4NYUBBQZ/>
--
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlt9Uu0ACgkQQnvVWOJ3 5BBVWQ/9H8IwbMStNyWgdaRBJAQc1R5A+GYurxN1f3GSlYiArTNKJaLFSPxaXyLi TF32VD83EsQGAGKprS3tPGrfPZ5O5XSn8G603T1emp5P1tdwJ+jCMXib/kfm41En jBkOG920Nk68ZodmrZTC4JPE+bRUwnlbuAihL3XPHmjytF58EqLlL3LE2Zshm4Rd 6rFQE25hB0FtZkDVHjx3UT81DyeGTPbUhXpPPLwM9FULGbesPFUNmrQk0MlgGJ5E zo8ghjI56sRdyv2DqGUxS1+Uoerh5lcKyraAljtVmVQugNMamXs6h48imfLFDsdZ OMJ1XryhutM0WtQNj3lbdvQSwoQQQ4FWU8oQAsA7XCJZZJMgAthWtMU0rYznkqkq QlJi/NB+aqhAkR/GAWShIp29PVhPnAjq3/UOXdxfLTjbljPpm7qgvadZfLF7zsyg aYGOtq0jc6IZua9Jeu4gb0JRJ9Lu8y8Ll3DWQk1tzf5yNQ9oN64spP0INYeibhGK lYrk2cSEnTnFwt5HCCtzmpgCYZyc5oOpDgaJE1CEIWy398qYW1eFQFhTghvsC8sB NoAq6n7TORinB2YQBNoH/DTXTYFRzabGG6T7qlmbXpoKGO8kL5LTuUNXEaAvW5CB eXFAR69tnpWrzUo89vnjtbL6VjyKSaQ8ntUU80pt+O/Okn/OtYI= =acp4 -----END PGP SIGNATURE-----