Unable to restore VZ backup from PVEVMUser account

Jul 21, 2012
40
6
73
Spain
Hello,

I have searched around on the forum but I think that I am still missing something.

User gets "Permission check failed (403)" dialog when trying to restore an openVZ backup to an storage for which he has Datastore.Allocate permission.

My configuration files are as follows:

/etc/pve/user.cfg:
Code:
user:root@pam:1:0:::::
user:username@pve:1:0:::username@domain.com::



role:PVEDatastorePowerUser:Datastore.AllocateTemplate,Datastore.Allocate,Datastore.Audit,Datastore.AllocateSpace:

acl:1:/storage/backup:username@pve:PVEDatastorePowerUser:
acl:1:/storage/local:username@pve:PVEDatastorePowerUser:
acl:1:/vms/194006:username@pve:PVEVMUser:

/etc/pve/storage.cfg:
Code:
dir: local
        path /var/lib/vz
        content images,iso,vztmpl,backup,rootdir
        maxfiles 0

dir: backup
        path /mnt/backup
        content backup
        maxfiles 5

pveversion -v
Code:
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-19-pve
proxmox-ve-2.6.32: 2.3-93
pve-kernel-2.6.32-12-pve: 2.6.32-68
pve-kernel-2.6.32-19-pve: 2.6.32-93
pve-kernel-2.6.32-14-pve: 2.6.32-74
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-18
pve-firmware: 1.0-21
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-6
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-8
ksm-control-daemon: 1.1-1

Is this normal? Any hints?

Thanks.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!