[ovirt-users] Re: VM backup issue on oVirt 4.4.7

2023-01-17 Thread Sandro Bonazzola
Il giorno mar 17 gen 2023 alle ore 23:10 Don Dupuis ha scritto: > Hello, > I am having an issue backing up vms using the backup_vm.py example script. > The error I get is below: > > [ 0.0 ] Starting full backup for VM > 'c656db00-065c-4fd0-b8b9-74a86dc864fc' > Traceback (most recent call

[ovirt-users] Re: Bug in the engine-backup script when no attached TTY -- Easy fix

2023-01-17 Thread Yedidyah Bar David
On Wed, Jan 18, 2023 at 9:09 AM wrote: > > That is very useful. You are right; I was assuming a non-attached TTY; > however, it could very well be a closed/re-directed stdout. The NetBackup > client does fun things with stdout/stderr for logging and data transfer. I > will run some tests

[ovirt-users] Re: Bug in the engine-backup script when no attached TTY -- Easy fix

2023-01-17 Thread eshwayri
That is very useful. You are right; I was assuming a non-attached TTY; however, it could very well be a closed/re-directed stdout. The NetBackup client does fun things with stdout/stderr for logging and data transfer. I will run some tests tomorrow to check. The scenario is quite simple.

[ovirt-users] Re: Bug in the engine-backup script when no attached TTY -- Easy fix

2023-01-17 Thread Yedidyah Bar David
On Tue, Jan 17, 2023 at 11:37 PM wrote: > > The output() function. This line: > > printf "%s\n" "${m}" > > It will fail if there is no attached TTY, Are you sure it requires an attached _TTY_? Not merely stdout? It indeed requires a TTY in certain cases (see readdbpassword) but not in the

[ovirt-users] VM backup issue on oVirt 4.4.7

2023-01-17 Thread Don Dupuis
Hello, I am having an issue backing up vms using the backup_vm.py example script. The error I get is below: [ 0.0 ] Starting full backup for VM 'c656db00-065c-4fd0-b8b9-74a86dc864fc' Traceback (most recent call last): File "/opt/riva-config/backup_vm.py", line 547, in main() File

[ovirt-users] Bug in the engine-backup script when no attached TTY -- Easy fix

2023-01-17 Thread eshwayri
The output() function. This line: printf "%s\n" "${m}" It will fail if there is no attached TTY, which will set the exit code to 1, which in turn will trigger the cleanup() function notifying the engine that the backup failed. This ironically happens when it should be writing "Done." and

[ovirt-users] Re: 4.5.4 Hosted-Engine: change hosted-engine storage

2023-01-17 Thread Diego Ercolani
Thank you, I'm currently trying to accomplish what you reported. But I'm currently stuck: I launched this: hosted-engine --deploy --4 --restore-from-file=/root/deploy_hosted_engine_230117/230117-scopeall-backup.tar.gz

[ovirt-users] Re: 4.5.4 Hosted-Engine: change hosted-engine storage

2023-01-17 Thread Volenbovskyi, Konstantin
Hi, Check out https://access.redhat.com/solutions/6529691. I would say that you have done a few hacks that are in 'vicinity' of correct approach, but the correct approach is a bit simpler than you what you tried to come up with. The idea of procedure is that you should 'forget' about the

[ovirt-users] 4.5.4 Hosted-Engine: change hosted-engine storage

2023-01-17 Thread Diego Ercolani
ovirt-engine-appliance-4.5-20221206133948 Hello, I have some trouble with my Gluster instance where there is hosted-engine. I would like to copy data from that hosted engine and reverse to another hosted-engine storage (I will try NFS). I think the main method is to put ovirt in