[SOLVED] Allow users to resize virtual disks or: which privileges are included in role PVEVMAdmin?

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hello!
I have started user management with this guide.
However, I'm facing this issue:
No other user except for System administrator (=root) can resize virtual disks of any VM.

Can you please advise which role must be assigned to a user to grant this permission?

THX
 
role PVEVMAdmin

Hello Dietmar,
this actually meets my expectation.
However, it is not working.

This means I have executed the following steps:
pveum groupadd vmadmin -comment "VM Administrators"
pveum usermod d038783@pam -group vmadmin
pveum aclmod /pool/test -group test -role PVEVMAdmin

This is confirmed in /etc/pve/user.cfg:
root@ld4257:/etc/pve/priv# more /etc/pve/user.cfg
user:root@pam:1:0:::tho.schneider@xxx.com:::
user:d038783@pam:1:0:Thomas:Schneider:tho.schneider@xxx.com:::
group:vmuser::VM Users:
group:admin::System Administrators:
group:vmadmin:d038783@pam:VM Administrators:
pool:test:Test VMs:113,115,114::
acl:1:/:mad:admin:Administrator:
acl:1:/pool/test:mad:testadmin:pVEAdmin:
acl:1:/pool/test:mad:vmadmin:pVEVMAdmin:
acl:1:/pool/test:mad:vmuser:pVEVMUser:
root@ld4257:/etc/pve/priv#


However I get this error when trying to resize virtual disk (see attachment):
Permission check failed (/storage/pve_vm, Datastore.AllocateSpace) (403)
 

Attachments

  • 2018-09-24_15-54-56.png
    2018-09-24_15-54-56.png
    9.8 KB · Views: 9
you would also have to put the storage into the pool
 

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!