kladderadeng opened a new issue, #10487: URL: https://github.com/apache/cloudstack/issues/10487
### problem Testing the NAS Backup feature in 4.20 at the moment. Host: Ubuntu 24.04 Apache Cloudstack 4.20.0.0 installed via the ACS Quickstart guide, so not compiled from source here! Hypervisor KVM QEMU emulator version 8.2.2 Libvirtd v 10.0.0 Guest: Windows Server 2022 ENU VirtIO Drivers / Guest Tools intalled in version 0.1.266-1 When the VM Instance is turned off, I can trigger a manual backup without an issue. It backs up to a Backup storage on a TrueNAS Scale instance, connection is via NFS. When the VM instance is turned on, I get an error message stating that the Backup failed on the ACS GUI. In /var/log/syslog, I get this: ``` 2025-03-01T17:58:06.571961+00:00 delle libvirtd[994]: unable to stat: /tmp/csbackup.rwEm9/i-2-10-VM/2025.03.01.17.58.06/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T17:58:06.572041+00:00 delle libvirtd[994]: Unable to restore security label on /tmp/csbackup.rwEm9/i-2-10-VM/2025.03.01.17.58.06/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2 2025-03-01T17:58:53.288822+00:00 delle libvirtd[994]: internal error: unable to execute QEMU command 'blockdev-add': Could not open '/tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2': Permission denied 2025-03-01T17:58:53.291118+00:00 delle libvirtd[994]: Path '/tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2' is not accessible: No such file or directory 2025-03-01T17:58:53.291218+00:00 delle libvirtd[994]: Unable to tear down cgroup access on /tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2 2025-03-01T17:58:53.294544+00:00 delle libvirtd[994]: internal error: child reported (status=125): unable to stat: /tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T17:58:53.294647+00:00 delle libvirtd[994]: unable to stat: /tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T17:58:53.297680+00:00 delle libvirtd[994]: internal error: child reported (status=125): unable to stat: /tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T17:58:53.297796+00:00 delle libvirtd[994]: unable to stat: /tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T17:58:53.297871+00:00 delle libvirtd[994]: Unable to restore security label on /tmp/csbackup.aJ7Nx/i-2-10-VM/2025.03.01.17.58.52/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2 ``` 2nd attempt a bit later looks pretty much the same: ``` 2025-03-01T19:46:40.135152+00:00 delle libvirtd[994]: internal error: unable to execute QEMU command 'blockdev-add': Could not open '/tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2': Permission denied 2025-03-01T19:46:40.136969+00:00 delle libvirtd[994]: Path '/tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2' is not accessible: No such file or directory 2025-03-01T19:46:40.137077+00:00 delle libvirtd[994]: Unable to tear down cgroup access on /tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2 2025-03-01T19:46:40.140287+00:00 delle libvirtd[994]: internal error: child reported (status=125): unable to stat: /tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T19:46:40.140409+00:00 delle libvirtd[994]: unable to stat: /tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T19:46:40.143245+00:00 delle libvirtd[994]: internal error: child reported (status=125): unable to stat: /tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T19:46:40.143333+00:00 delle libvirtd[994]: unable to stat: /tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2: No such file or directory 2025-03-01T19:46:40.143382+00:00 delle libvirtd[994]: Unable to restore security label on /tmp/csbackup.v5VyJ/i-2-10-VM/2025.03.01.19.46.39/root.dda8b221-33ea-4fd4-b8df-f8b2fc3b96b4.qcow2 ``` ### versions OS Ubuntu 24.04 Apache Cloudstack 4.20.0.0 installed via the ACS Quickstart guide, so not compiled from source here! Hypervisor KVM QEMU emulator version 8.2.2 Libvirtd v 10.0.0 ### The steps to reproduce the bug 1. Create a Backup repository using NFS 2. Creat a Backup offering 3. Assign the Backup offering to a Windows Server 2022 ENU VM, with the VirtIO drivers / guest tools installed 4. Turn on the VM, wait until all Services are started 5. Select the VM Instance and click on Start Backup to trigger a Backup job ### What to do about it? Backup works fine when the VM is off, so I suppose it has nothing to do with the Backup storage hosted on TrueNAS scale via NFS. However, the Log messages do not make much sense to me either, claiming that there is an issue accessing files in /tmp. Why should this be different than from taking an Offline Backup? Or is it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
