-
-
Notifications
You must be signed in to change notification settings - Fork 54
IndexError: list index out of range using virtnbdbackup tool #167
Description
Version used
Provide output of virtnbdbackup -V
/usr/local/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend
2.4
Describe the bug
When I want to create full backup (on Oracle KVM host) with this command:
virtnbdbackup -U qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf -d rocky92 -l full -o /tmp/backupset/rocky92
I get these errors below (Logfiles section) and no backupset in /tmp/backupset/rocky92 directory
Expected behavior
I except to get full backup set in /tmp/backupset/rocky92 directory.
Hypervisor information:
- OS: Oracle Linux 8.9
- HV type: Oracle Linux Virtualization Manager (OLVM)
Logfiles:
[root@okvm2 ~]# virtnbdbackup -U qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf -d rocky92 -l full -o /tmp/backupset/rocky92
/usr/local/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend
[2024-03-28 12:27:37] INFO lib common - printVersion [main]: Version: 2.4 Arguments: /bin/virtnbdbackup -U qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf -d rocky92 -l full -o /tmp/backupset/rocky92
[2024-03-28 12:27:37] INFO root virtnbdbackup - main [main]: Backup level: [full]
IndexError: list index out of range
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/bin/virtnbdbackup", line 481, in
main()
File "/bin/virtnbdbackup", line 312, in main
virtClient = virt.client(args)
File "/usr/local/lib/python3.6/site-packages/virtnbdbackup-2.4-py3.6.egg/libvirtnbdbackup/virt/client.py", line 55, in init
File "/usr/local/lib/python3.6/site-packages/virtnbdbackup-2.4-py3.6.egg/libvirtnbdbackup/virt/client.py", line 136, in _connect
File "/usr/local/lib/python3.6/site-packages/virtnbdbackup-2.4-py3.6.egg/libvirtnbdbackup/virt/client.py", line 82, in _connectAuth
File "/usr/lib64/python3.6/site-packages/libvirt.py", line 145, in openAuth
ret = libvirtmod.virConnectOpenAuth(uri, auth, flags)
SystemError: returned a result with an error set
Workaround:
No workarounds till now.