Backup is not supported by the host, Ovirt 4.4 Beta

Hi all, I'm trying to experiment with incremental backup using the example script provided on sdk git page (https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm...). I installed a fresh engine on a CentOS 8 VM and installed a fresh node on CentOS 8 as well, connected to the engine without any problems. All libvirt packages version 5.6 and ovirt-imageio-common version 2.0.3 . Passing all the needed args to the script (I hardcoded connections var like user and password) it throws the following error: ``` [root@centos8 ~]# python3 backup_vm.py full --engine-url https://ovirt-engine-fqdn.com --username admin@internal --password-file ./passwd --backup-dir /home 11d70eb0-4d7c-4308-82a6-470e21d80ecd [ 0.0 ] Starting full backup for vm 11d70eb0-4d7c-4308-82a6-470e21d80ecd Traceback (most recent call last): File "backup_vm.py", line 397, in <module> main() File "backup_vm.py", line 141, in main args.command(args) File "backup_vm.py", line 154, in cmd_full backup = start_backup(connection, args) File "backup_vm.py", line 247, in start_backup disks=disks File "/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py", line 33583, in add return self._internal_add(backup, headers, query, wait) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 232, in _internal_add return future.wait() if wait else future File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 55, in wait return self._code(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 229, in callback self._check_fault(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 132, in _check_fault self._raise_error(response, body) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 118, in _raise_error raise error ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM. Backup is not supported by the host (centos8).]". HTTP response code is 409. ``` The VM is created from centOS 7 template imported from ovirt-image-repository, and the options "Enable Incremental Backup" on the disk is ticked. I'm definitely missing something... But what? On the top of the script, I read "Using this example requires a special libvirt version supporting incremental backup.". Which version of libvirt? I guessed the 5.6 (or at least not the 4.5 shipped in CentOS 7). Thank you for your time and help, Francesco

Hi Francesco, It is great to hear that you are trying the new incremental backup feature. First, please note that in this stage we implemented only the support for full VM backup. In order to use it, you need libvirt version 6.0 at least. Please try to use it with the following version and share the results. On Mon, 20 Apr 2020 at 14:49, <francesco@shellrent.com> wrote:
Hi all,
I'm trying to experiment with incremental backup using the example script provided on sdk git page ( https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm...). I installed a fresh engine on a CentOS 8 VM and installed a fresh node on CentOS 8 as well, connected to the engine without any problems. All libvirt packages version 5.6 and ovirt-imageio-common version 2.0.3 .
Passing all the needed args to the script (I hardcoded connections var like user and password) it throws the following error:
``` [root@centos8 ~]# python3 backup_vm.py full --engine-url https://ovirt-engine-fqdn.com --username admin@internal --password-file ./passwd --backup-dir /home 11d70eb0-4d7c-4308-82a6-470e21d80ecd [ 0.0 ] Starting full backup for vm 11d70eb0-4d7c-4308-82a6-470e21d80ecd Traceback (most recent call last): File "backup_vm.py", line 397, in <module> main() File "backup_vm.py", line 141, in main args.command(args) File "backup_vm.py", line 154, in cmd_full backup = start_backup(connection, args) File "backup_vm.py", line 247, in start_backup disks=disks File "/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py", line 33583, in add return self._internal_add(backup, headers, query, wait) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 232, in _internal_add return future.wait() if wait else future File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 55, in wait return self._code(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 229, in callback self._check_fault(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 132, in _check_fault self._raise_error(response, body) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 118, in _raise_error raise error ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM. Backup is not supported by the host (centos8).]". HTTP response code is 409. ```
The VM is created from centOS 7 template imported from ovirt-image-repository, and the options "Enable Incremental Backup" on the disk is ticked.
I'm definitely missing something... But what? On the top of the script, I read "Using this example requires a special libvirt version supporting incremental backup.". Which version of libvirt? I guessed the 5.6 (or at least not the 4.5 shipped in CentOS 7).
Thank you for your time and help, Francesco _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DR6SYRNYJOIWKZ...
-- Regards, Eyal Shenitzky

On Mon, Apr 20, 2020 at 3:39 PM Eyal Shenitzky <eshenitz@redhat.com> wrote:
Hi Francesco,
It is great to hear that you are trying the new incremental backup feature. First, please note that in this stage we implemented only the support for full VM backup.
In order to use it, you need libvirt version 6.0 at least.
The only upstream distro that can be used now is Fedora 30. This is the best way to test new features. On CentOS you will be able to test incremental backup when CentOS 8.2 is released, but it will work only with the virt:8.2 module. If you have access to RHEL 8.2 nightly build, you can test this now. Nir
Please try to use it with the following version and share the results.
On Mon, 20 Apr 2020 at 14:49, <francesco@shellrent.com> wrote:
Hi all,
I'm trying to experiment with incremental backup using the example script provided on sdk git page (https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm...). I installed a fresh engine on a CentOS 8 VM and installed a fresh node on CentOS 8 as well, connected to the engine without any problems. All libvirt packages version 5.6 and ovirt-imageio-common version 2.0.3 .
Passing all the needed args to the script (I hardcoded connections var like user and password) it throws the following error:
``` [root@centos8 ~]# python3 backup_vm.py full --engine-url https://ovirt-engine-fqdn.com --username admin@internal --password-file ./passwd --backup-dir /home 11d70eb0-4d7c-4308-82a6-470e21d80ecd [ 0.0 ] Starting full backup for vm 11d70eb0-4d7c-4308-82a6-470e21d80ecd Traceback (most recent call last): File "backup_vm.py", line 397, in <module> main() File "backup_vm.py", line 141, in main args.command(args) File "backup_vm.py", line 154, in cmd_full backup = start_backup(connection, args) File "backup_vm.py", line 247, in start_backup disks=disks File "/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py", line 33583, in add return self._internal_add(backup, headers, query, wait) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 232, in _internal_add return future.wait() if wait else future File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 55, in wait return self._code(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 229, in callback self._check_fault(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 132, in _check_fault self._raise_error(response, body) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 118, in _raise_error raise error ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM. Backup is not supported by the host (centos8).]". HTTP response code is 409. ```
The VM is created from centOS 7 template imported from ovirt-image-repository, and the options "Enable Incremental Backup" on the disk is ticked.
I'm definitely missing something... But what? On the top of the script, I read "Using this example requires a special libvirt version supporting incremental backup.". Which version of libvirt? I guessed the 5.6 (or at least not the 4.5 shipped in CentOS 7).
Thank you for your time and help, Francesco _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DR6SYRNYJOIWKZ...
-- Regards, Eyal Shenitzky _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAMV3KVUVWTAI4...

Hi Nil, my colleague Francesco and I are very interested in incremental backups. Is there an estimate of the release date of the feature? Can we somehow collaborate with you to speed up its development? Il 20/04/20 21:15, Nir Soffer ha scritto:
Hi Francesco,
It is great to hear that you are trying the new incremental backup feature. First, please note that in this stage we implemented only the support for full VM backup.
In order to use it, you need libvirt version 6.0 at least. The only upstream distro that can be used now is Fedora 30. This is
On Mon, Apr 20, 2020 at 3:39 PM Eyal Shenitzky <eshenitz@redhat.com> wrote: the best way to test new features.
On CentOS you will be able to test incremental backup when CentOS 8.2 is released, but it will work only with the virt:8.2 module.
If you have access to RHEL 8.2 nightly build, you can test this now.
Nir
Please try to use it with the following version and share the results.
On Mon, 20 Apr 2020 at 14:49, <francesco@shellrent.com> wrote:
Hi all,
I'm trying to experiment with incremental backup using the example script provided on sdk git page (https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm...). I installed a fresh engine on a CentOS 8 VM and installed a fresh node on CentOS 8 as well, connected to the engine without any problems. All libvirt packages version 5.6 and ovirt-imageio-common version 2.0.3 .
Passing all the needed args to the script (I hardcoded connections var like user and password) it throws the following error:
``` [root@centos8 ~]# python3 backup_vm.py full --engine-url https://ovirt-engine-fqdn.com --username admin@internal --password-file ./passwd --backup-dir /home 11d70eb0-4d7c-4308-82a6-470e21d80ecd [ 0.0 ] Starting full backup for vm 11d70eb0-4d7c-4308-82a6-470e21d80ecd Traceback (most recent call last): File "backup_vm.py", line 397, in <module> main() File "backup_vm.py", line 141, in main args.command(args) File "backup_vm.py", line 154, in cmd_full backup = start_backup(connection, args) File "backup_vm.py", line 247, in start_backup disks=disks File "/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py", line 33583, in add return self._internal_add(backup, headers, query, wait) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 232, in _internal_add return future.wait() if wait else future File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 55, in wait return self._code(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 229, in callback self._check_fault(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 132, in _check_fault self._raise_error(response, body) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 118, in _raise_error raise error ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM. Backup is not supported by the host (centos8).]". HTTP response code is 409. ```
The VM is created from centOS 7 template imported from ovirt-image-repository, and the options "Enable Incremental Backup" on the disk is ticked.
I'm definitely missing something... But what? On the top of the script, I read "Using this example requires a special libvirt version supporting incremental backup.". Which version of libvirt? I guessed the 5.6 (or at least not the 4.5 shipped in CentOS 7).
Thank you for your time and help, Francesco _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DR6SYRNYJOIWKZ...
-- Regards, Eyal Shenitzky _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAMV3KVUVWTAI4...
Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/K7KRWXKQZERPQ2... -- -- Shellrent - Il primo hosting italiano Security First
*Tommaso De Marchi* /COO - Chief Operating Officer/ Shellrent Srl Via dell'Edilizia, 19 - 36100 Vicenza Tel. 0444321155 <tel:+390444321155> | Fax 04441492177

Hi Tommaso, Thank you very much, it is really appreciated. Currently, the incremental backup feature is in its final stage of development. We have a few issues in the underline layers (libvirt \ QEMU) that prevent us from preforming some flows but we expect them to solve in the first RHEL 8.2 Z-stream. The first stage of incremental backup for a running VM will be available in oVirt 4.4 GA as a tech-preview. You will be able to perform an incremental backup for a running VM (when the VM will go down you will need to take a full backup again). All the API is already implemented so you will be able to start and build your backup solution. Here is a short demo of the first incremental backup in oVirt - https://youtu.be/CWKqapnvntg Thanks, On Thu, 23 Apr 2020 at 11:39, Tommaso - Shellrent <tommaso@shellrent.com> wrote:
Hi Nil, my colleague Francesco and I are very interested in incremental backups. Is there an estimate of the release date of the feature? Can we somehow collaborate with you to speed up its development? Il 20/04/20 21:15, Nir Soffer ha scritto:
On Mon, Apr 20, 2020 at 3:39 PM Eyal Shenitzky <eshenitz@redhat.com> <eshenitz@redhat.com> wrote:
Hi Francesco,
It is great to hear that you are trying the new incremental backup feature. First, please note that in this stage we implemented only the support for full VM backup.
In order to use it, you need libvirt version 6.0 at least.
The only upstream distro that can be used now is Fedora 30. This is the best way to test new features.
On CentOS you will be able to test incremental backup when CentOS 8.2 is released, but it will work only with the virt:8.2 module.
If you have access to RHEL 8.2 nightly build, you can test this now.
Nir
Please try to use it with the following version and share the results.
On Mon, 20 Apr 2020 at 14:49, <francesco@shellrent.com> <francesco@shellrent.com> wrote:
Hi all,
I'm trying to experiment with incremental backup using the example script provided on sdk git page (https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup_vm...). I installed a fresh engine on a CentOS 8 VM and installed a fresh node on CentOS 8 as well, connected to the engine without any problems. All libvirt packages version 5.6 and ovirt-imageio-common version 2.0.3 .
Passing all the needed args to the script (I hardcoded connections var like user and password) it throws the following error:
``` [root@centos8 ~]# python3 backup_vm.py full --engine-url https://ovirt-engine-fqdn.com --username admin@internal --password-file ./passwd --backup-dir /home 11d70eb0-4d7c-4308-82a6-470e21d80ecd [ 0.0 ] Starting full backup for vm 11d70eb0-4d7c-4308-82a6-470e21d80ecd Traceback (most recent call last): File "backup_vm.py", line 397, in <module> main() File "backup_vm.py", line 141, in main args.command(args) File "backup_vm.py", line 154, in cmd_full backup = start_backup(connection, args) File "backup_vm.py", line 247, in start_backup disks=disks File "/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py", line 33583, in add return self._internal_add(backup, headers, query, wait) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 232, in _internal_add return future.wait() if wait else future File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 55, in wait return self._code(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 229, in callback self._check_fault(response) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 132, in _check_fault self._raise_error(response, body) File "/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py", line 118, in _raise_error raise error ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is "[Cannot backup VM. Backup is not supported by the host (centos8).]". HTTP response code is 409. ```
The VM is created from centOS 7 template imported from ovirt-image-repository, and the options "Enable Incremental Backup" on the disk is ticked.
I'm definitely missing something... But what? On the top of the script, I read "Using this example requires a special libvirt version supporting incremental backup.". Which version of libvirt? I guessed the 5.6 (or at least not the 4.5 shipped in CentOS 7).
Thank you for your time and help, Francesco _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DR6SYRNYJOIWKZ...
-- Regards, Eyal Shenitzky _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAMV3KVUVWTAI4...
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/K7KRWXKQZERPQ2...
-- -- [image: Shellrent - Il primo hosting italiano Security First] *Tommaso De Marchi* *COO - Chief Operating Officer* Shellrent Srl Via dell'Edilizia, 19 - 36100 Vicenza Tel. 0444321155 <+390444321155> | Fax 04441492177 _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/2BZJ6SKFLVIT3M...
-- Regards, Eyal Shenitzky
participants (4)
-
Eyal Shenitzky
-
francesco@shellrent.com
-
Nir Soffer
-
Tommaso - Shellrent