Hello,
I am trying to do full backup on ovirt 4.4 using sdk. I used steps from this youtube
video:
https://www.youtube.com/watch?v=E2VWUVcycj4 and I got error after running
backup_vm.py. I see that sdk has imported disks and created backup entity and then I got
sdk.NotFoundError exception. I also tried to do full backup with API and after finalizing
backup disappeared (I think) and I couldn't try incremental.
[ 0.0 ] Starting full backup for VM '51708c8e-6671-480b-b2d8-199a1af9cbdc'
Password:
[ 4.2 ] Waiting until backup 0458bf7f-868c-4859-9fa7-767b3ec62b52 is ready
Traceback (most recent call last):
File "./backup_vm.py", line 343, in start_backup
backup = backup_service.get()
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/services.py", line 32333,
in get
return self._internal_get(headers, query, wait)
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 211, in
_internal_get
return future.wait() if wait else future
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 55, in
wait
return self._code(response)
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 208, in
callback
self._check_fault(response)
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 130, in
_check_fault
body = self._internal_read_body(response)
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 312, in
_internal_read_body
self._raise_error(response)
File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 118, in
_raise_error
raise error
ovirtsdk4.NotFoundError: HTTP response code is 404.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./backup_vm.py", line 476, in <module>
main()
File "./backup_vm.py", line 173, in main
args.command(args)
File "./backup_vm.py", line 230, in cmd_start
backup = start_backup(connection, args)
File "./backup_vm.py", line 345, in start_backup
raise RuntimeError("Backup {} failed".format(backup.id))
RuntimeError: Backup 0458bf7f-868c-4859-9fa7-767b3ec62b52 failed
P.S
Thank you for previous answers :)
Regards,
Łukasz Kołaciński
Junior Java Developer
e-mail: l.kolacinski@storware.eu<mailto:l.kolacinski@storware.eu>
<mailto:m.helbert@storware.eu>
[STORWARE]<http://www.storware.eu/>
ul. Leszno 8/44
01-192 Warszawa
www.storware.eu <
https://www.storware.eu/>
[
facebook]<https://www.facebook.com/storware>
[
twitter]<https://twitter.com/storware>
[
linkedin]<https://www.linkedin.com/company/storware>
[
Storware_Stopka_09]<https://www.youtube.com/channel/UCKvLitYPyAplBctXi...
Storware Spółka z o.o. nr wpisu do ewidencji KRS dla M.St. Warszawa 000510131 , NIP
5213672602. Wiadomość ta jest przeznaczona jedynie dla osoby lub podmiotu, który jest jej
adresatem i może zawierać poufne i/lub uprzywilejowane informacje. Zakazane jest
jakiekolwiek przeglądanie, przesyłanie, rozpowszechnianie lub inne wykorzystanie tych
informacji lub podjęcie jakichkolwiek działań odnośnie tych informacji przez osoby lub
podmioty inne niż zamierzony adresat. Jeżeli Państwo otrzymali przez pomyłkę tę informację
prosimy o poinformowanie o tym nadawcy i usunięcie tej wiadomości z wszelkich komputerów.
This message is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any review, retransmission, dissemination
or other use of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you have received this
message in error, please contact the sender and remove the material from all of your
computer systems.