Backup failure notice

Discussion in 'Installation, Update and Configuration' started by Theloneus, Jul 2, 2014.

  1. Theloneus

    Theloneus Kilo Poster

    Messages:
    13
    Hello,

    I am receiving errors when backups run, the backups are successful but they say error due to this:

    Code:
    Operation with the Hardware Node is finished with errors: Failed to remove old backup: 241a25de-05c9-4582-83c0-c51cf664e633@{b17d4498-13f7-4a49-9e3c-2518b1ba9f89}.
    Any way to fix this issue?
     
  2. IP^__^

    IP^__^ Odin Team

    Messages:
    80
    Hello,

    1) You can check that backup exists on the storage (the default backup location for VMs is /var/parallels/backups/, for containers - /vz/backups/)
    2) If this location points to remote storage please check that it is accessible.
    3) If there is no backup with such UUID go to step 5 (there is no folder like /var/parallels/backups/\{241a25de-05c9-4582-83c0-c51cf664e633\}/\{b17d4498-13f7-4a49-9e3c-2518b1ba9f89\}/ or other depends on your configuration).
    4) If there is such backup, just remove the appropriate directory.
    5) After that restart PVA Agent in order to refresh backup list, wait for a few minutes and retry to create the backup.
     
  3. Theloneus

    Theloneus Kilo Poster

    Messages:
    13
    There is no backup with that uuid.
    Restarting the pvamn and pvacc services and running a backup still causes the same error.
    Additionally, it keeps changing the permissions on the backup folder to 777, which doesn't seem like a great idea.
     
  4. IP^__^

    IP^__^ Odin Team

    Messages:
    80
    Please try to restart pvaagent on the node with backups instead of pvamn and pvacc services.
    About the permissions - this looks quite strange, nothing should be changed automatically, especially to 777:
    # vzabackup --view-folder localhost
    path = /vz/backups/
    login =
    # ls -ld /vz/backups/
    drwxr-xr-x 12 root root 4096 Jun 24 17:18 /vz/backups/
     
  5. Theloneus

    Theloneus Kilo Poster

    Messages:
    13
    After a pvaagent restart things seem to be resolved on the error, but it is still changing permissions on the folder to 777 for some reason. It is a backup for a virtual machine if that makes a difference.
     
  6. IP^__^

    IP^__^ Odin Team

    Messages:
    80
    pvaagent does not change permissions on the folder, please check if this folder is on some fileshare (cifs, nfs), probably settings on this share change these permissions.
     
  7. Theloneus

    Theloneus Kilo Poster

    Messages:
    13
    That may be so, but here is a little more about this permissions changing.

    We have 5 nodes that all backup to a NAS drive on node 1.

    All the nodes with normal containers backup fine, without any changing permissions. There are no VMs on these nodes. Nodes 1,2,3, and 5
    When the node with the Virtual Machine runs its backup, it changes the folder permissions to 777 sometime during this process, and only for the VM backup. Node 4

    The drive is mounted in fstab on Node 1:
    /dev/sde /mnt/backups ext4 _netdev 0 0

    It's not a huge issue, but it is weird.
     
  8. IP^__^

    IP^__^ Odin Team

    Messages:
    80
    Thanks for the detailed explanation. This behavior reproduced on our environment as well and we are thinking to change this behavior in one of the future updates.
     

Share This Page