-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Citrix Hypervisor 8.0.0, VmBackup #94
Comments
Hi, seems like duplicate of #59 |
Yes, please see #59 for a workaround. |
I have finally been able to attach an external storage device to my CH 8.0 tests pool and will hopefully start investigating this and other issues that occur under CH 8.0 soon. Sorry for the delay, as it's been very busy with many other things as of late. |
There are some fundamental differences between the earlier XenAPI.py and CH 8.0 release. Here are the differences (the CH 8.0 is < while the earlier version from XS 7.X is flagged as >):
|
Note the line: which is probably why the https://localhost connection now fails without a valid certificate in place. Looks like the https://localhost will have to be set to http://localhost by default as all sorts of errors get thrown otherwise. |
There are a number of changes in the latest API python library and I feel the easiest is to change the code to state http://localhost and be done with it. It's also then backwards-compatible. I will make a change a push out a minor release update soon. |
I have just released V3.25 which should address the http://localhost access issues and should work in all versions of XenServer/Citrix Hypervisor from 6.X through and including 8.0. |
Tested new version V3.25, it works fine for me in Xen 8.0 |
I have just tested the new version (V3.25), it works fine. |
hi there.
|
@txsastre, this is with V3.25? |
Yes. Just downloaded today. |
hi, tried on a new server from scratch, same error
./VmBackup.py password plt-Debian9 preview
|
hi again. I make it work NAUVmBackup v3.25 (remove the "s" in "httpS") |
Awesome, @txsastre thank you! I will fix and redistribute the code. Many thanks -- missed that one somehow. |
Glad to help :) . Thank to you for this priceless tool! |
Our pleasure! |
Code is updated in the repository. |
Hello,
I use VmBackup.py last version to backup my VM:
Here some infos about my config:
Virtualization: xen
Operating System: Citrix Hypervisor 8.0.0
Kernel: Linux 4.19.0+1
Architecture: x86-64
And the Error:
2019-07-04-(16:33:50) - VmBackup.py running with these settings:
2019-07-04-(16:33:50) - backup_dir = /mnt/backup/vmbackup/WIN7
2019-07-04-(16:33:50) - status_log = /mnt/backup/vmbackup/logs/status.log
2019-07-04-(16:33:50) - compress = False
2019-07-04-(16:33:50) - max_backups = 2
2019-07-04-(16:33:50) - vdi_export_format = vhd
2019-07-04-(16:33:50) - pool_db_backup = 0
2019-07-04-(16:33:50) - exclude (cnt)= 0
2019-07-04-(16:33:50) - exclude:
2019-07-04-(16:33:50) - vdi-export (cnt)= 0
2019-07-04-(16:33:50) - vdi-export:
2019-07-04-(16:33:50) - vm-export (cnt)= 1
2019-07-04-(16:33:50) - vm-export: WIN7
Traceback (most recent call last):
File "./VmBackup.py", line 1457, in
session.xenapi.login_with_password(username, password)
File "/mnt/backup/vmbackup/XenAPI.py", line 264, in call
return self.__send(self.__name, args)
File "/mnt/backup/vmbackup/XenAPI.py", line 151, in xenapi_request
self._login(methodname, params)
File "/mnt/backup/vmbackup/XenAPI.py", line 188, in _login
raise e
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
[root@xcp vmbackup]#
The same command on XCP-NG 7.6 works fine!
Regards
Jan
The text was updated successfully, but these errors were encountered: