I tested on a local lab environment and got a little problem, which is a little weird.
For testing, i have one Proxmox Server DC1 and one Proxmox Backup Server pbs-00
Inside the Proxmox Backup Server, i create a new user dc1@pbs who communicates with Proxmox and Proxmox backup Server in Proxmox Datacenter => Storage add like new type Proxmox Backup Server and add all information needed from Proxmox Backup Server who can link. And that part was completed successfully.
When i want to manually trigger any other VM how can create and store the backup on pbs-00 that works perfectly, but Inside Proxmox i manually trigger to create a backup that has been stored on pbs-00 but i get an error only on this tree VM machine.
When i go inside the Proxmox Backup Server and on Server Administration in Syslog see this
But when inside Proxmox on Datacenter => Storage add type Proxmox Backup Server when add user root@pam with fallow information and trigger to backup this VM all works perfectly.
I need to say the user dc1@pbs has Permissions Patch / like root and Rule Admin
If someone can help that would be nice, how can be resolve this strange case problem?
Thank you,
For testing, i have one Proxmox Server DC1 and one Proxmox Backup Server pbs-00
Inside the Proxmox Backup Server, i create a new user dc1@pbs who communicates with Proxmox and Proxmox backup Server in Proxmox Datacenter => Storage add like new type Proxmox Backup Server and add all information needed from Proxmox Backup Server who can link. And that part was completed successfully.
When i want to manually trigger any other VM how can create and store the backup on pbs-00 that works perfectly, but Inside Proxmox i manually trigger to create a backup that has been stored on pbs-00 but i get an error only on this tree VM machine.
Code:
INFO: starting new backup job: vzdump 200 --storage pbs-00 --notification-mode auto --mode snapshot --notes-template '{{guestname}}' --node dc1 --remove 0
INFO: Starting Backup of VM 200 (qemu)
INFO: Backup started at 2024-07-29 23:10:18
INFO: status = running
INFO: VM Name: Ubuntu
INFO: include disk 'sata0' 'local:200/vm-200-disk-0.raw' 10G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/200/2024-07-29T21:10:18Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 200 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (dc1@pbs != root@pam)
INFO: aborting backup job
INFO: resuming VM again
ERROR: Backup of VM 200 failed - VM 200 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (dc1@pbs != root@pam)
INFO: Failed at 2024-07-29 23:10:19
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
Code:
INFO: starting new backup job: vzdump 300 --notes-template '{{guestname}}' --node dc1 --remove 0 --storage pbs-00 --mode snapshot --notification-mode auto
INFO: Starting Backup of VM 300 (qemu)
INFO: Backup started at 2024-07-29 23:10:02
INFO: status = running
INFO: VM Name: Debian
INFO: include disk 'scsi0' 'local:300/vm-300-disk-0.raw' 10G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/300/2024-07-29T21:10:02Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 300 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (dc1@pbs != root@pam)
INFO: aborting backup job
INFO: resuming VM again
ERROR: Backup of VM 300 failed - VM 300 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (dc1@pbs != root@pam)
INFO: Failed at 2024-07-29 23:10:02
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
Code:
INFO: starting new backup job: vzdump 400 --mode snapshot --notification-mode auto --storage pbs-00 --remove 0 --notes-template '{{guestname}}' --node dc1
INFO: Starting Backup of VM 400 (qemu)
INFO: Backup started at 2024-07-29 23:09:44
INFO: status = running
INFO: VM Name: Fedora
INFO: include disk 'scsi0' 'local:400/vm-400-disk-0.raw' 10G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/400/2024-07-29T21:09:44Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 400 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (dc1@pbs != root@pam)
INFO: aborting backup job
INFO: resuming VM again
ERROR: Backup of VM 400 failed - VM 400 qmp command 'backup' failed - backup connect failed: command error: backup owner check failed (dc1@pbs != root@pam)
INFO: Failed at 2024-07-29 23:09:45
INFO: Backup job finished with errors
INFO: notified via target `mail-to-root`
TASK ERROR: job errors
When i go inside the Proxmox Backup Server and on Server Administration in Syslog see this
Code:
Jul 29 23:10:19 pbs-00 proxmox-backup-proxy[22514]: GET //api2/json/backup?backup-id=200&backup-time=1722287418&backup-type=vm&benchmark=false&debug=false&store=Storage: 400 Bad Request: [client [::ffff:91.192.103.5]:41912] backup owner check failed (dc1@pbs != root@pam)
Code:
Jul 29 23:10:02 pbs-00 proxmox-backup-proxy[22514]: GET //api2/json/backup?backup-id=300&backup-time=1722287402&backup-type=vm&benchmark=false&debug=false&store=Storage: 400 Bad Request: [client [::ffff:91.192.103.5]:40706] backup owner check failed (dc1@pbs != root@pam)
Code:
Jul 29 23:09:45 pbs-00 proxmox-backup-proxy[22514]: GET //api2/json/backup?backup-id=400&backup-time=1722287384&backup-type=vm&benchmark=false&debug=false&store=Storage: 400 Bad Request: [client [::ffff:91.192.103.5]:52694] backup owner check failed (dc1@pbs != root@pam)
But when inside Proxmox on Datacenter => Storage add type Proxmox Backup Server when add user root@pam with fallow information and trigger to backup this VM all works perfectly.
I need to say the user dc1@pbs has Permissions Patch / like root and Rule Admin
If someone can help that would be nice, how can be resolve this strange case problem?
Thank you,