_______________________________________________Hi all,
I am trying https://github.com/vacosta94/VirtBKP.
ovirt version:4.3.5
my config file;
[bkp]user = admin@internalpassword = yyyca_file = /opt/VirtBKP/ca.crtbkpvm = VirtBKMbckdir = /mnt/backup
[restore]url = https:/xxx/ovirt-engine/apiuser = admin@internalpassword = yyyca_file = ca.crtstorage = hosted_storage(storage domain name for new vm???)proxy = xxx(engine FQDN)proxyport = 54323
Fail on below;
[root@virtbkp VirtBKP]# /opt/VirtBKP/backup_vm.py default.conf Bacchus[OK] Connection to oVIrt API success https://ovirtengine2.5ghvl.local/ovirt-engi ne/api[INFO] Trying to create snapshot of VM: 8a95f435-94dd-4a69-aed0-46395bcbd082[INFO] Waiting until snapshot creation ends[INFO] Waiting until snapshot creation ends[OK] Snapshot created[INFO] Trying to create a qcow2 file of disk aa564596-fd33-4734-8050-0f82130a677b[INFO] Attach snap disk to bkpvmTraceback (most recent call last):File "/opt/VirtBKP/backup_vm.py", line 6, in <module>b.main()File "/opt/VirtBKP/backup_vm_last.py", line 242, in mainself.backup(self.vmid,self.snapid,disk_id,self.bkpvm)File "/opt/VirtBKP/backup_vm_last.py", line 210, in backupself.attach_disk(bkpvm,disk_id,snapid)File "/opt/VirtBKP/backup_vm_last.py", line 123, in attach_diskresp_attach = requests.post(urlattach, data=xmlattach, headers=headers, verify=False, auth=(self.user,self.password))File "/usr/lib/python2.7/site-packages/requests/api.py", line 112, in postreturn request('post', url, data=data, json=json, **kwargs)File "/usr/lib/python2.7/site-packages/requests/api.py", line 58, in requestreturn session.request(method=method, url=url, **kwargs)File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 498, in requestprep = self.prepare_request(req)File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 441, in prepare_requesthooks=merge_hooks(request.hooks, self.hooks),File "/usr/lib/python2.7/site-packages/requests/models.py", line 309, in prepareself.prepare_url(url, params)File "/usr/lib/python2.7/site-packages/requests/models.py", line 377, in prepare_urlraise InvalidURL(*e.args)requests.exceptions.InvalidURL: Failed to parse: https://ovirtengine2.5ghvl.local/ovirt-engine/api/v3/vms/13d45c7f-7812-4f01-9bd8-a3e8ff91c15b/disks/
Nazan CENGİZ
AR-GE MÜHENDİSİMustafa Kemal Mahallesi 2120 Cad. No:39 06510 Çankaya Ankara TÜRKİYE
+90 312 219 57 87 +90 312 219 57 97 YASAL UYARI: Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul ve Şartlar dokümanına tabidir. LEGAL NOTICE: This e-mail is subject to the Terms and Conditions document which can be accessed with this link.
Lütfen gerekmedikçe bu sayfa ve eklerini yazdırmayınız / Please consider the environment before printing this email
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/NDLWEVOS6MEASC5KUDSMYZIKCH7NHVNB/