[ovirt-users] IndexError python-sdk

David David dd432690 at gmail.com
Fri Feb 9 06:49:21 UTC 2018


Hi all.

python-ovirt-engine-sdk4-4.2.2-2.el7.centos.x86_64


Issue is that I cant upload a snapshot I get IndexError when do
upload_disk_snapshots.py
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk_snapshots.py

Output:

Traceback (most recent call last):
  File "snapshot_upload.py", line 298, in <module>
    images_chain = get_images_chain(disk_path)
  File "snapshot_upload.py", line 263, in get_images_chain
    base_volume = [v for v in volumes_info.values() if
'full-backing-filename' not in v ][0]
IndexError: list index out of range
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180209/25ef0e21/attachment.html>


More information about the Users mailing list