Hi,
I'm testing "fence_pve" [1] stonith agent right now, it works fine with root@pam user, but not with dedicated one.
I've created new role "Stonith-role" with "VM.PowerMgmt" and "VM.Audit" permissions and attached it to hitman@pam user, I can login with this user in Proxmox GUI and stop/start VM without problem, but using "fence_pve" I'm getting timeout.
but "status" action actually works
Does anybody knows what missing?
[1] https://www.mankier.com/8/fence_pve
I'm testing "fence_pve" [1] stonith agent right now, it works fine with root@pam user, but not with dedicated one.
I've created new role "Stonith-role" with "VM.PowerMgmt" and "VM.Audit" permissions and attached it to hitman@pam user, I can login with this user in Proxmox GUI and stop/start VM without problem, but using "fence_pve" I'm getting timeout.
Code:
redis1:~# fence_pve --action=reboot --ip=192.168.122.6 --username=hitman@pam --password=secret --plug=100
Failed: Timed out waiting to power OFF
but "status" action actually works
Code:
redis1:~# fence_pve --action=status --ip=192.168.122.6 --username=hitman@pam --password=secret --plug=100
Status: ON
Does anybody knows what missing?
[1] https://www.mankier.com/8/fence_pve