[GH-ISSUE #66] POSSIBLE PROBLEM PERMISSION #62

Closed
opened 2026-02-26 17:44:13 +03:00 by kerem · 2 comments
Owner

Originally created by @nikitauchaev on GitHub (Jun 13, 2022).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/66

What happened?

Any use of cv4pve-autosnap with any user (including root) crashes with an error:

POSSIBLE PROBLEM PERMISSION 'VM.Audit'
POSSIBLE PROBLEM PERMISSION 'Datastore.Audit'

The required rights have been granted.
Moreover, I repeat, I have already tried to do this as root, the effect is the same.
I tried to recreate the user, roles, assign rights from /, etc., nothing gives effect.

When running with a debug, it gives all the information about nodes, storages and vms.
I transmit the user's username and password explicitly, I do not use tokens.
But I did exactly the same thing all the time before and didn't get any problems. Also, the conclusion of the debag says that all the information is obtained correctly, i.e. the problem is not in the user's authorization.

Expected behavior

At the exit, I would like to get a tool that I have been using for years (by the way, thank you, an excellent utility). To understand what is the reason for such an error and how I can avoid its repetition.

Relevant log output

root@pve03:~# cv4pve-autosnap --host="$SNAP_HOST" --username="$SNAP_USER" --password="$SNAP_PASS" --vmid="$SNAP_VMID" snap --label="hourly" --keep="$SNAP_KEEP_HOURLY" --debug
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      Login: service.snapshot@pve
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      Method: POST, Url: https://127.0.0.1:8006/api2/json/access/ticket
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      Parameters:
      password : password
      username : service.snapshot
      realm : pve
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      StatusCode:          OK
      ReasonPhrase:        OK
      IsSuccessStatusCode: True
trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      {
        "data": {
          "ticket": "PVE:service.snapshot@pve:62A6D26E::L4AHQclMDfMuQewh+qG2Lk9NyCu3muCGHZcSnzDjWSRIlcOP6+Xnszhh1fequHPEwoXY0uh5EuZ99J+N4ZqoKPkVnXLyswmneB0/bkjzUk0/Hc60/U0+pQSUWG2UxZEJxXN/SFjgQ3HFkD/QJVMHg
1cLO/ncjNpYryXaBw+4sSzum92qKQW/vJvV8bQjTEZ8wPZYrOpLCfVVUJM+jfemODXGyg3S2Xq52VKTAf5Sx/s2o5HGOTupPoEALmA6/WsQ/axm5z0BsUUYVPP0NUJcRgcF664HKzvQ4xL/SY7lsOj1vTx80P7WfXIdfpKf6Oo97aCbz7yntEOrrEXfvkKbxw==",
          "CSRFPreventionToken": "62A6D26E:5htWFOiKX62Z9uFm3EXaEYihFPpyiGFzo3tUyXCmhHA",
          "username": "service.snapshot@pve",
          "cap": {
            "nodes": {},
            "storage": {
              "Datastore.Audit": 1
            },
            "dc": {},
            "access": {},
            "vms": {
              "VM.Snapshot": 1,
              "VM.Audit": 1
            },
            "sdn": {}
          }
        }
      }
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      Method: GET, Url: https://127.0.0.1:8006/api2/json/version
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      StatusCode:          OK
      ReasonPhrase:        OK
      IsSuccessStatusCode: True
trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      {
        "data": {
          "repoid": "ca9d43cc",
          "release": "7.2",
          "version": "7.2-4"
        }
      }
ACTION Snap
PVE Version:      7.2-4
VMs:              -100
Label:            hourly
Keep:             23
State:            False
Timeout:          30 sec.
Timestamp format: yyMMddHHmmss
Max % Storage :   95%
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      Method: GET, Url: https://127.0.0.1:8006/api2/json/cluster/resources?type=vm
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      StatusCode:          OK
      ReasonPhrase:        OK
      IsSuccessStatusCode: True
trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      {
        "data": [
          {
            "maxmem": 1073741824,
            "netin": 14028046871,
            "netout": 115428745,
            "cpu": 0.195060163504881,
            "name": "SHARE03",
            "diskwrite": 0,
            "maxdisk": 8589934592,
            "mem": 151810048,
            "maxcpu": 1,
            "node": "pve01",
            "uptime": 3247,
            "diskread": 0,
            "disk": 895746048,
            "status": "running",
            "template": 0,
            "vmid": 100,
            "type": "lxc",
            "id": "lxc/100"
          },
          {
            "name": "SHARE04",
            "diskwrite": 27623424,
            "maxdisk": 8589934592,
            "netin": 10631883692,
            "maxmem": 536870912,
            "cpu": 0.000593584711588838,
            "netout": 17201829835,
            "template": 0,
            "vmid": 101,
            "disk": 777125888,
            "status": "running",
            "type": "lxc",
            "id": "lxc/101",
            "node": "pve03",
            "mem": 50872320,
            "maxcpu": 1,
            "uptime": 1761519,
            "diskread": 5201920
          },
          {
            "netin": 46755665016,
            "maxmem": 4294967296,
            "cpu": 0.0755386433724866,
            "netout": 2460030313,
            "diskwrite": 175027709952,
            "name": "VSS01",
            "maxdisk": 107374182400,
            "node": "pve03",
            "maxcpu": 4,
            "mem": 3975503872,
            "diskread": 139886694400,
            "uptime": 1640521,
            "vmid": 102,
            "template": 0,
            "disk": 0,
            "status": "running",
            "type": "qemu",
            "id": "qemu/102"
          },
          {
            "maxdisk": 107374182400,
            "name": "INFRA01",
            "diskwrite": 22095235072,
            "cpu": 0.0376501755610501,
            "netout": 1813073047,
            "netin": 12814622373,
            "maxmem": 6291456000,
            "type": "qemu",
            "id": "qemu/103",
            "template": 0,
            "vmid": 103,
            "disk": 0,
            "status": "running",
            "uptime": 606832,
            "diskread": 45388606464,
            "node": "pve03",
            "mem": 3511238656,
            "maxcpu": 4
          },
          {
            "status": "running",
            "disk": 0,
            "template": 0,
            "vmid": 104,
            "id": "qemu/104",
            "type": "qemu",
            "maxcpu": 4,
            "mem": 3819606016,
            "node": "pve03",
            "uptime": 1761509,
            "diskread": 2196816479744,
            "name": "DEV3v2",
            "diskwrite": 213896632320,
            "maxdisk": 161061273600,
            "maxmem": 8589934592,
            "netin": 276000886544,
            "netout": 2144151673205,
            "cpu": 0.354578868574953
          },
          {
            "name": "AD02",
            "diskwrite": 110512220160,
            "maxdisk": 107374182400,
            "maxmem": 4294967296,
            "netin": 19507256391,
            "netout": 12254161282,
            "cpu": 0.103895421168467,
            "status": "running",
            "disk": 0,
            "template": 0,
            "vmid": 105,
            "type": "qemu",
            "id": "qemu/105",
            "mem": 2197262336,
            "maxcpu": 1,
            "node": "pve03",
            "uptime": 1761505,
            "diskread": 181828413440
          },
          {
            "type": "qemu",
            "id": "qemu/106",
            "disk": 0,
            "status": "running",
            "vmid": 106,
            "template": 0,
            "diskread": 39165849600,
            "uptime": 1761501,
            "mem": 9564827648,
            "maxcpu": 8,
            "node": "pve03",
            "maxdisk": 118111600640,
            "diskwrite": 32378792960,
            "name": "TSQL01",
            "netout": 9669206331,
            "cpu": 0.0708919444899519,
            "maxmem": 23119003648,
            "netin": 51112907845
          },
          {
            "type": "qemu",
            "id": "qemu/107",
            "vmid": 107,
            "template": 0,
            "status": "running",
            "disk": 0,
            "diskread": 17888599552,
            "uptime": 1024299,
            "node": "pve03",
            "maxcpu": 8,
            "mem": 3097214976,
            "maxdisk": 107374182400,
            "diskwrite": 28965746688,
            "name": "SAPP02",
            "cpu": 0.0153698501499223,
            "netout": 4625795387,
            "netin": 11591570885,
            "maxmem": 34359738368
          },
          {
            "node": "pve04",
            "mem": 15628681216,
            "maxcpu": 2,
            "uptime": 1761836,
            "diskread": 261019742208,
            "template": 0,
            "vmid": 108,
            "status": "running",
            "disk": 0,
            "id": "qemu/108",
            "type": "qemu",
            "netin": 20563206815,
            "maxmem": 17179869184,
            "cpu": 0.0796726994932491,
            "netout": 19436116013,
            "name": "SQL03",
            "diskwrite": 210784392704,
            "maxdisk": 107374182400
          },
          {
            "maxcpu": 5,
            "mem": 7075803136,
            "node": "pve04",
            "diskread": 21219334656,
            "uptime": 1761831,
            "disk": 0,
            "status": "running",
            "vmid": 109,
            "template": 0,
            "id": "qemu/109",
            "type": "qemu",
            "maxmem": 12884901888,
            "netin": 48747375203,
            "netout": 42621623523,
            "cpu": 0.0799589487129853,
            "diskwrite": 78638296576,
            "name": "IIS02",
            "maxdisk": 107374182400
          },
          {
            "template": 0,
            "vmid": 110,
            "disk": 0,
            "status": "stopped",
            "id": "qemu/110",
            "type": "qemu",
            "node": "pve04",
            "maxcpu": 1,
            "mem": 0,
            "uptime": 0,
            "diskread": 0,
            "name": "IIS03",
            "diskwrite": 0,
            "maxdisk": 107374182400,
            "netin": 0,
            "maxmem": 4294967296,
            "cpu": 0,
            "netout": 0
          },
          {
            "maxmem": 8589934592,
            "netin": 10847641205,
            "netout": 802172611,
            "cpu": 0.0190832813157483,
            "diskwrite": 33070579712,
            "name": "JENKINS01",
            "maxdisk": 107374182400,
            "maxcpu": 2,
            "mem": 2538127360,
            "node": "pve04",
            "diskread": 17820821504,
            "uptime": 1761826,
            "status": "running",
            "disk": 0,
            "vmid": 111,
            "template": 0,
            "type": "qemu",
            "id": "qemu/111"
          },
          {
            "node": "pve04",
            "maxcpu": 2,
            "mem": 358916096,
            "uptime": 1761820,
            "diskread": 20381696,
            "template": 0,
            "vmid": 112,
            "disk": 1402077184,
            "status": "running",
            "type": "lxc",
            "id": "lxc/112",
            "netin": 11014912245,
            "maxmem": 4294967296,
            "cpu": 0.00434994431557467,
            "netout": 424518998,
            "name": "ZABBIX01",
            "diskwrite": 143745024,
            "maxdisk": 32212254720
          },
          {
            "uptime": 1761817,
            "diskread": 319488,
            "node": "pve04",
            "mem": 119787520,
            "maxcpu": 2,
            "id": "lxc/113",
            "type": "lxc",
            "template": 0,
            "vmid": 113,
            "status": "running",
            "disk": 1228800000,
            "cpu": 0.00474539379880873,
            "netout": 33479412,
            "netin": 10550053531,
            "maxmem": 8589934592,
            "maxdisk": 32212254720,
            "name": "PROMETHEUS01",
            "diskwrite": 18792448
          },
          {
            "netin": 10866979448,
            "maxmem": 8589934592,
            "cpu": 0.00751354018144715,
            "netout": 253777236,
            "name": "LK01",
            "diskwrite": 72753152,
            "maxdisk": 32212254720,
            "node": "pve04",
            "maxcpu": 2,
            "mem": 514740224,
            "uptime": 1761814,
            "diskread": 4087808,
            "template": 0,
            "vmid": 114,
            "disk": 2628648960,
            "status": "running",
            "id": "lxc/114",
            "type": "lxc"
          },
          {
            "netin": 10586215540,
            "maxmem": 6442450944,
            "cpu": 0.00563515513608536,
            "netout": 44022278,
            "name": "GRAFANA01",
            "diskwrite": 12951552,
            "maxdisk": 32212254720,
            "node": "pve04",
            "mem": 125587456,
            "maxcpu": 2,
            "uptime": 1761811,
            "diskread": 196608,
            "template": 0,
            "vmid": 115,
            "status": "running",
            "disk": 1321730048,
            "type": "lxc",
            "id": "lxc/115"
          },
          {
            "netout": 0,
            "cpu": 0,
            "maxmem": 34359738368,
            "netin": 0,
            "maxdisk": 32212254720,
            "name": "ELASTIC01",
            "diskwrite": 0,
            "uptime": 0,
            "diskread": 0,
            "maxcpu": 2,
            "mem": 0,
            "node": "pve04",
            "id": "lxc/116",
            "type": "lxc",
            "disk": 0,
            "status": "stopped",
            "template": 0,
            "vmid": 116
          },
          {
            "netin": 10756513724,
            "maxmem": 17179869184,
            "cpu": 0.0113306982812255,
            "netout": 141296026,
            "name": "S1C03",
            "diskwrite": 30297943040,
            "maxdisk": 107374182400,
            "node": "pve04",
            "maxcpu": 8,
            "mem": 3026554880,
            "uptime": 1761809,
            "diskread": 15250472960,
            "template": 0,
            "vmid": 117,
            "disk": 0,
            "status": "running",
            "id": "qemu/117",
            "type": "qemu"
          },
          {
            "status": "running",
            "disk": 0,
            "vmid": 118,
            "template": 0,
            "id": "qemu/118",
            "type": "qemu",
            "mem": 1881190400,
            "maxcpu": 6,
            "node": "pve03",
            "diskread": 11933940224,
            "uptime": 1761491,
            "diskwrite": 26279782912,
            "name": "SAPP03",
            "maxdisk": 107374182400,
            "maxmem": 12884901888,
            "netin": 11002933510,
            "netout": 39607258,
            "cpu": 0.0114380280185469
          },
          {
            "diskread": 0,
            "uptime": 0,
            "node": "pve05",                                                                                                                                                                       [560/1991]
            "mem": 0,
            "maxcpu": 12,
            "type": "qemu",
            "id": "qemu/119",
            "vmid": 119,
            "template": 0,
            "disk": 0,
            "status": "stopped",
            "cpu": 0,
            "netout": 0,
            "netin": 0,
            "maxmem": 21474836480,
            "maxdisk": 644245094400,
            "diskwrite": 0,
            "name": "BITRIX02-TRANSFERED"
          },
          {
            "maxdisk": 107374182400,
            "name": "ASTERISK06-TRANSFERED",
            "diskwrite": 0,
            "netout": 0,
            "cpu": 0,
            "maxmem": 4294967296,
            "netin": 0,
            "type": "qemu",
            "id": "qemu/120",
            "status": "stopped",
            "disk": 0,
            "template": 0,
            "vmid": 120,
            "uptime": 0,
            "diskread": 0,
            "mem": 0,
            "maxcpu": 2,
            "node": "pve04"
          },
          {
            "node": "pve05",
            "mem": 0,
            "maxcpu": 2,
            "diskread": 0,
            "uptime": 0,
            "vmid": 121,
            "template": 0,
            "status": "stopped",
            "disk": 0,
            "type": "qemu",
            "id": "qemu/121",
            "netin": 0,
            "maxmem": 4294967296,
            "cpu": 0,
            "netout": 0,
            "diskwrite": 0,
            "name": "COLLABORA01",
            "maxdisk": 21688745984
          },
          {
            "maxdisk": 32426164224,
            "name": "NEXTCLOUD01",
            "diskwrite": 0,
            "netout": 0,
            "cpu": 0,
            "maxmem": 2147483648,
            "netin": 0,
            "type": "qemu",
            "id": "qemu/122",
            "disk": 0,
            "status": "stopped",
            "template": 0,
            "vmid": 122,
            "uptime": 0,
            "diskread": 0,
            "maxcpu": 1,
            "mem": 0,
            "node": "pve05"
          },
          {
            "status": "running",                                                                                                                                                                   [482/1991]
            "disk": 0,
            "template": 0,
            "vmid": 123,
            "id": "qemu/123",
            "type": "qemu",
            "maxcpu": 4,
            "mem": 4007911424,
            "node": "pve05",
            "uptime": 2741386,
            "diskread": 1727257088,
            "name": "BITRIX03",
            "diskwrite": 264968760832,
            "maxdisk": 64424509440,
            "maxmem": 12821987328,
            "netin": 15046644719,
            "netout": 141855626,
            "cpu": 0.0263145153678886
          },
          {
            "maxdisk": 53687091200,
            "diskwrite": 65354331648,
            "name": "AUTOINTELLECT01",
            "cpu": 0.00502368020659692,
            "netout": 2179636493,
            "netin": 19581381868,
            "maxmem": 8589934592,
            "type": "qemu",
            "id": "qemu/124",
            "vmid": 124,
            "template": 0,
            "disk": 0,
            "status": "running",
            "diskread": 48928850944,
            "uptime": 1448203,
            "node": "pve05",
            "maxcpu": 4,
            "mem": 2596474880
          },
          {
            "cpu": 0.011153954367305,
            "netout": 2016741039,
            "netin": 11552521475,
            "maxmem": 12884901888,
            "maxdisk": 53687091200,
            "diskwrite": 53389701120,
            "name": "SAPP04",
            "diskread": 32589406208,
            "uptime": 1179613,
            "node": "pve02",
            "maxcpu": 4,
            "mem": 3439960064,
            "id": "qemu/125",
            "type": "qemu",
            "vmid": 125,
            "template": 0,
            "disk": 0,
            "status": "running"
          },
          {
            "type": "qemu",
            "id": "qemu/126",
            "status": "running",
            "disk": 0,
            "vmid": 126,
            "template": 0,
            "diskread": 42052599296,
            "uptime": 1001966,
            "mem": 11315175424,
            "maxcpu": 4,
            "node": "pve05",
            "maxdisk": 53687091200,
            "diskwrite": 90593978368,
            "name": "SAPP06",
            "netout": 56516293381,
            "cpu": 0.254772353334558,
            "maxmem": 25769803776,
            "netin": 83211686950
"maxdisk": 2361393152,
            "name": "UB2004-CLOUDINIT-TEMPLATE",
            "diskwrite": 0
          },
          {
            "netin": 0,
            "maxmem": 4294967296,
            "cpu": 0,
            "netout": 0,
            "diskwrite": 0,
            "name": "WINSRV19-FULL-TEMPLATE-UPGRADE01",
            "maxdisk": 34359738368,
            "node": "pve05",
            "maxcpu": 2,
            "mem": 0,
            "diskread": 0,
            "uptime": 0,
            "vmid": 998,
            "template": 1,
            "status": "stopped",
            "disk": 0,
            "type": "qemu",
            "id": "qemu/998"
          }
        ]
      }
----- POSSIBLE PROBLEM PERMISSION 'VM.Audit' -----
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      Method: GET, Url: https://127.0.0.1:8006/api2/json/cluster/resources?type=storage
dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      StatusCode:          OK
      ReasonPhrase:        OK
      IsSuccessStatusCode: True
trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0]
      {
        "data": [
          {
            "id": "storage/pve04/local-zfs",
            "maxdisk": 461876768768,
            "type": "storage",
            "content": "images,rootdir",
            "status": "available",
            "disk": 149247201280,
            "plugintype": "zfspool",
            "node": "pve04",
            "storage": "local-zfs",
            "shared": 0
          },
          {
            "node": "pve02",
            "shared": 0,
            "storage": "local-zfs",
            "plugintype": "zfspool",
            "status": "available",
            "disk": 562787356672,
            "content": "images,rootdir",
            "maxdisk": 2523480272896,
            "type": "storage",
            "id": "storage/pve02/local-zfs"
          },
          {
            "type": "storage",
            "maxdisk": 965518577664,
            "id": "storage/pve05/local-zfs",
            "content": "images,rootdir",
            "status": "available",
            "disk": 444814647296,
            "plugintype": "zfspool",
            "node": "pve05",
            "storage": "local-zfs",
            "shared": 0
          },
          {
            "id": "storage/pve01/local-zfs",
            "maxdisk": 7094926553088,
            "type": "storage",
            "status": "available",
            "disk": 7037292924928,
            "content": "images,rootdir",
            "plugintype": "zfspool",
            "shared": 0,
            "storage": "local-zfs",
            "node": "pve01"
          },
          {
            "plugintype": "zfspool",
            "shared": 0,
            "storage": "local-zfs",
            "node": "pve03",
            "maxdisk": 18083780710400,
            "id": "storage/pve03/local-zfs",
            "type": "storage",
            "disk": 9949684187136,
            "status": "available",
            "content": "images,rootdir"
          },
          {
            "storage": "PBS01",
            "shared": 1,
            "node": "pve04",
            "plugintype": "pbs",
            "content": "backup",
            "disk": 2660231151616,
            "status": "available",
            "maxdisk": 2717865607168,
            "id": "storage/pve04/PBS01",
            "type": "storage"
          },
          {
          },                                                                                                                                                                                       [180/1991]
          {
            "shared": 1,
            "storage": "PBS01",
            "node": "pve02",
            "plugintype": "pbs",
            "status": "available",
            "disk": 2660231151616,
            "content": "backup",
            "maxdisk": 2717639639040,
            "id": "storage/pve02/PBS01",
            "type": "storage"
          },
          {
            "shared": 1,
            "storage": "PBS01",
            "node": "pve05",
            "plugintype": "pbs",
            "disk": 2660231151616,
            "status": "available",
            "content": "backup",
            "maxdisk": 2717537271808,
            "type": "storage",
            "id": "storage/pve05/PBS01"
          },
          {
            "plugintype": "pbs",
            "shared": 1,
            "storage": "PBS01",
            "node": "pve01",
            "id": "storage/pve01/PBS01",
            "maxdisk": 2717858136064,
            "type": "storage",
            "status": "available",
            "disk": 2660231151616,
            "content": "backup"
          },
          {
            "plugintype": "pbs",
            "node": "pve03",
            "storage": "PBS01",
            "shared": 1,
            "maxdisk": 2717868359680,
            "type": "storage",
            "id": "storage/pve03/PBS01",
            "content": "backup",
            "disk": 2660231151616,
            "status": "available"
          },
          {
            "shared": 0,
            "storage": "local",
            "node": "pve04",
            "plugintype": "dir",
            "status": "available",
            "disk": 31276834816,
            "content": "backup,vztmpl,iso",
            "type": "storage",
            "maxdisk": 61031231488,
            "id": "storage/pve04/local"
          },
          {
            "content": "backup,vztmpl,iso",
            "disk": 2700607488,
            "status": "available",
            "type": "storage",
            "maxdisk": 1963393417216,
            "id": "storage/pve02/local",
            "node": "pve02",
            "storage": "local",
            "shared": 0,
            "plugintype": "dir"
          },
          {
            "maxdisk": 26023809024,
            "type": "storage",
            "id": "storage/pve05/local",
            "disk": 17288175616,
            "status": "available",
            "content": "backup,vztmpl,iso",
            "plugintype": "dir",
            "shared": 0,
            "storage": "local",
            "node": "pve05"
          },
          {
            "node": "pve01",
            "shared": 0,
            "storage": "local",
            "plugintype": "dir",
            "disk": 2254569472,
            "status": "available",
            "content": "backup,vztmpl,iso",
            "maxdisk": 59895447552,
            "type": "storage",
            "id": "storage/pve01/local"
          },
          {
            "node": "pve03",
            "storage": "local",
            "shared": 0,
            "plugintype": "dir",
            "content": "backup,vztmpl,iso",
            "status": "available",
            "disk": 8415485952,
            "id": "storage/pve03/local",
            "maxdisk": 61031231488,
            "type": "storage"
          },
          {
            "plugintype": "zfspool",
            "storage": "FAST01",
            "shared": 0,
            "node": "pve04",
            "maxdisk": 495263416320,
            "id": "storage/pve04/FAST01",
            "type": "storage",
            "content": "images,rootdir",
            "disk": 184348790784,
            "status": "available"
          },
          {
            "content": "images,rootdir",
            "disk": 39383818240,
            "status": "available",
            "type": "storage",
            "maxdisk": 241390583808,
            "id": "storage/pve05/FAST01",
            "storage": "FAST01",
            "shared": 0,
            "node": "pve05",
            "plugintype": "zfspool"
          },
          {
            "type": "storage",
            "maxdisk": 9494607691776,
            "id": "storage/pve04/PBS03",
            "content": "backup",
            "disk": 1360511238144,
            "status": "available",
            "plugintype": "pbs",
            "node": "pve04",
            "storage": "PBS03",
            "shared": 1
          },
          {
            "status": "available",
            "disk": 1360511238144,
            "content": "backup",
            "type": "storage",
            "maxdisk": 9494607691776,
            "id": "storage/pve02/PBS03",
            "shared": 1,
            "storage": "PBS03",
            "node": "pve02",
            "plugintype": "pbs"
          },
          {
            "maxdisk": 9494294953984,
            "type": "storage",
            "id": "storage/pve05/PBS03",
            "content": "backup",
            "status": "available",
            "disk": 1360511238144,
            "plugintype": "pbs",
            "storage": "PBS03",
            "shared": 1,
            "node": "pve05"
          },
          {
            "content": "backup",
            "disk": 1360511238144,
            "status": "available",
            "maxdisk": 9494607691776,
            "type": "storage",
            "id": "storage/pve01/PBS03",
            "node": "pve01",
            "storage": "PBS03",
            "shared": 1,
            "plugintype": "pbs"
          },
          {
            "id": "storage/pve03/PBS03",
            "maxdisk": 9494607691776,
            "type": "storage",
            "status": "available",
            "disk": 1360511238144,
            "content": "backup",
            "plugintype": "pbs",
            "node": "pve03",
            "shared": 1,
            "storage": "PBS03"
          },
          {
            "id": "storage/pve04/PBS02",
            "maxdisk": 805306368000,
            "type": "storage",
            "disk": 370357960704,
            "status": "available",
            "content": "backup",
            "plugintype": "pbs",
            "shared": 1,
            "storage": "PBS02",
            "node": "pve04"
          },
          {
            "plugintype": "pbs",
            "shared": 1,
            "storage": "PBS02",
            "node": "pve02",
            "type": "storage",
            "maxdisk": 805306368000,
            "id": "storage/pve02/PBS02",
            "status": "available",
            "disk": 370357960704,
            "content": "backup"
          },
          {
            "disk": 370357960704,
            "status": "available",
            "content": "backup",
            "maxdisk": 805306368000,
            "id": "storage/pve05/PBS02",
            "type": "storage",
            "node": "pve05",
            "shared": 1,
            "storage": "PBS02",
            "plugintype": "pbs"
          },
          {
            "id": "storage/pve01/PBS02",
            "maxdisk": 805306368000,
            "type": "storage",
            "content": "backup",
            "disk": 370357960704,
            "status": "available",
            "plugintype": "pbs",
            "node": "pve01",
            "storage": "PBS02",
            "shared": 1
          },
          {
            "plugintype": "pbs",
            "node": "pve03",
            "storage": "PBS02",
            "shared": 1,
            "maxdisk": 805306368000,
            "type": "storage",
            "id": "storage/pve03/PBS02",
            "content": "backup",
            "disk": 370357960704,
            "status": "available"
          }
        ]
      }
----- POSSIBLE PROBLEM PERMISSION 'Datastore.Audit' -----
Total execution 00:00:00.1837675

Proxmox VE Version

7.2-4

Version (bug)

1.14.4

Version (working)

No response

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request
Originally created by @nikitauchaev on GitHub (Jun 13, 2022). Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/66 ### What happened? Any use of cv4pve-autosnap with any user (including root) crashes with an error: POSSIBLE PROBLEM PERMISSION 'VM.Audit' POSSIBLE PROBLEM PERMISSION 'Datastore.Audit' The required rights have been granted. Moreover, I repeat, I have already tried to do this as root, the effect is the same. I tried to recreate the user, roles, assign rights from /, etc., nothing gives effect. When running with a debug, it gives all the information about nodes, storages and vms. I transmit the user's username and password explicitly, I do not use tokens. But I did exactly the same thing all the time before and didn't get any problems. Also, the conclusion of the debag says that all the information is obtained correctly, i.e. the problem is not in the user's authorization. ### Expected behavior At the exit, I would like to get a tool that I have been using for years (by the way, thank you, an excellent utility). To understand what is the reason for such an error and how I can avoid its repetition. ### Relevant log output ```shell root@pve03:~# cv4pve-autosnap --host="$SNAP_HOST" --username="$SNAP_USER" --password="$SNAP_PASS" --vmid="$SNAP_VMID" snap --label="hourly" --keep="$SNAP_KEEP_HOURLY" --debug dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] Login: service.snapshot@pve dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] Method: POST, Url: https://127.0.0.1:8006/api2/json/access/ticket dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] Parameters: password : password username : service.snapshot realm : pve dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] StatusCode: OK ReasonPhrase: OK IsSuccessStatusCode: True trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0] { "data": { "ticket": "PVE:service.snapshot@pve:62A6D26E::L4AHQclMDfMuQewh+qG2Lk9NyCu3muCGHZcSnzDjWSRIlcOP6+Xnszhh1fequHPEwoXY0uh5EuZ99J+N4ZqoKPkVnXLyswmneB0/bkjzUk0/Hc60/U0+pQSUWG2UxZEJxXN/SFjgQ3HFkD/QJVMHg 1cLO/ncjNpYryXaBw+4sSzum92qKQW/vJvV8bQjTEZ8wPZYrOpLCfVVUJM+jfemODXGyg3S2Xq52VKTAf5Sx/s2o5HGOTupPoEALmA6/WsQ/axm5z0BsUUYVPP0NUJcRgcF664HKzvQ4xL/SY7lsOj1vTx80P7WfXIdfpKf6Oo97aCbz7yntEOrrEXfvkKbxw==", "CSRFPreventionToken": "62A6D26E:5htWFOiKX62Z9uFm3EXaEYihFPpyiGFzo3tUyXCmhHA", "username": "service.snapshot@pve", "cap": { "nodes": {}, "storage": { "Datastore.Audit": 1 }, "dc": {}, "access": {}, "vms": { "VM.Snapshot": 1, "VM.Audit": 1 }, "sdn": {} } } } dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] Method: GET, Url: https://127.0.0.1:8006/api2/json/version dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] StatusCode: OK ReasonPhrase: OK IsSuccessStatusCode: True trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0] { "data": { "repoid": "ca9d43cc", "release": "7.2", "version": "7.2-4" } } ACTION Snap PVE Version: 7.2-4 VMs: -100 Label: hourly Keep: 23 State: False Timeout: 30 sec. Timestamp format: yyMMddHHmmss Max % Storage : 95% dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] Method: GET, Url: https://127.0.0.1:8006/api2/json/cluster/resources?type=vm dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] StatusCode: OK ReasonPhrase: OK IsSuccessStatusCode: True trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0] { "data": [ { "maxmem": 1073741824, "netin": 14028046871, "netout": 115428745, "cpu": 0.195060163504881, "name": "SHARE03", "diskwrite": 0, "maxdisk": 8589934592, "mem": 151810048, "maxcpu": 1, "node": "pve01", "uptime": 3247, "diskread": 0, "disk": 895746048, "status": "running", "template": 0, "vmid": 100, "type": "lxc", "id": "lxc/100" }, { "name": "SHARE04", "diskwrite": 27623424, "maxdisk": 8589934592, "netin": 10631883692, "maxmem": 536870912, "cpu": 0.000593584711588838, "netout": 17201829835, "template": 0, "vmid": 101, "disk": 777125888, "status": "running", "type": "lxc", "id": "lxc/101", "node": "pve03", "mem": 50872320, "maxcpu": 1, "uptime": 1761519, "diskread": 5201920 }, { "netin": 46755665016, "maxmem": 4294967296, "cpu": 0.0755386433724866, "netout": 2460030313, "diskwrite": 175027709952, "name": "VSS01", "maxdisk": 107374182400, "node": "pve03", "maxcpu": 4, "mem": 3975503872, "diskread": 139886694400, "uptime": 1640521, "vmid": 102, "template": 0, "disk": 0, "status": "running", "type": "qemu", "id": "qemu/102" }, { "maxdisk": 107374182400, "name": "INFRA01", "diskwrite": 22095235072, "cpu": 0.0376501755610501, "netout": 1813073047, "netin": 12814622373, "maxmem": 6291456000, "type": "qemu", "id": "qemu/103", "template": 0, "vmid": 103, "disk": 0, "status": "running", "uptime": 606832, "diskread": 45388606464, "node": "pve03", "mem": 3511238656, "maxcpu": 4 }, { "status": "running", "disk": 0, "template": 0, "vmid": 104, "id": "qemu/104", "type": "qemu", "maxcpu": 4, "mem": 3819606016, "node": "pve03", "uptime": 1761509, "diskread": 2196816479744, "name": "DEV3v2", "diskwrite": 213896632320, "maxdisk": 161061273600, "maxmem": 8589934592, "netin": 276000886544, "netout": 2144151673205, "cpu": 0.354578868574953 }, { "name": "AD02", "diskwrite": 110512220160, "maxdisk": 107374182400, "maxmem": 4294967296, "netin": 19507256391, "netout": 12254161282, "cpu": 0.103895421168467, "status": "running", "disk": 0, "template": 0, "vmid": 105, "type": "qemu", "id": "qemu/105", "mem": 2197262336, "maxcpu": 1, "node": "pve03", "uptime": 1761505, "diskread": 181828413440 }, { "type": "qemu", "id": "qemu/106", "disk": 0, "status": "running", "vmid": 106, "template": 0, "diskread": 39165849600, "uptime": 1761501, "mem": 9564827648, "maxcpu": 8, "node": "pve03", "maxdisk": 118111600640, "diskwrite": 32378792960, "name": "TSQL01", "netout": 9669206331, "cpu": 0.0708919444899519, "maxmem": 23119003648, "netin": 51112907845 }, { "type": "qemu", "id": "qemu/107", "vmid": 107, "template": 0, "status": "running", "disk": 0, "diskread": 17888599552, "uptime": 1024299, "node": "pve03", "maxcpu": 8, "mem": 3097214976, "maxdisk": 107374182400, "diskwrite": 28965746688, "name": "SAPP02", "cpu": 0.0153698501499223, "netout": 4625795387, "netin": 11591570885, "maxmem": 34359738368 }, { "node": "pve04", "mem": 15628681216, "maxcpu": 2, "uptime": 1761836, "diskread": 261019742208, "template": 0, "vmid": 108, "status": "running", "disk": 0, "id": "qemu/108", "type": "qemu", "netin": 20563206815, "maxmem": 17179869184, "cpu": 0.0796726994932491, "netout": 19436116013, "name": "SQL03", "diskwrite": 210784392704, "maxdisk": 107374182400 }, { "maxcpu": 5, "mem": 7075803136, "node": "pve04", "diskread": 21219334656, "uptime": 1761831, "disk": 0, "status": "running", "vmid": 109, "template": 0, "id": "qemu/109", "type": "qemu", "maxmem": 12884901888, "netin": 48747375203, "netout": 42621623523, "cpu": 0.0799589487129853, "diskwrite": 78638296576, "name": "IIS02", "maxdisk": 107374182400 }, { "template": 0, "vmid": 110, "disk": 0, "status": "stopped", "id": "qemu/110", "type": "qemu", "node": "pve04", "maxcpu": 1, "mem": 0, "uptime": 0, "diskread": 0, "name": "IIS03", "diskwrite": 0, "maxdisk": 107374182400, "netin": 0, "maxmem": 4294967296, "cpu": 0, "netout": 0 }, { "maxmem": 8589934592, "netin": 10847641205, "netout": 802172611, "cpu": 0.0190832813157483, "diskwrite": 33070579712, "name": "JENKINS01", "maxdisk": 107374182400, "maxcpu": 2, "mem": 2538127360, "node": "pve04", "diskread": 17820821504, "uptime": 1761826, "status": "running", "disk": 0, "vmid": 111, "template": 0, "type": "qemu", "id": "qemu/111" }, { "node": "pve04", "maxcpu": 2, "mem": 358916096, "uptime": 1761820, "diskread": 20381696, "template": 0, "vmid": 112, "disk": 1402077184, "status": "running", "type": "lxc", "id": "lxc/112", "netin": 11014912245, "maxmem": 4294967296, "cpu": 0.00434994431557467, "netout": 424518998, "name": "ZABBIX01", "diskwrite": 143745024, "maxdisk": 32212254720 }, { "uptime": 1761817, "diskread": 319488, "node": "pve04", "mem": 119787520, "maxcpu": 2, "id": "lxc/113", "type": "lxc", "template": 0, "vmid": 113, "status": "running", "disk": 1228800000, "cpu": 0.00474539379880873, "netout": 33479412, "netin": 10550053531, "maxmem": 8589934592, "maxdisk": 32212254720, "name": "PROMETHEUS01", "diskwrite": 18792448 }, { "netin": 10866979448, "maxmem": 8589934592, "cpu": 0.00751354018144715, "netout": 253777236, "name": "LK01", "diskwrite": 72753152, "maxdisk": 32212254720, "node": "pve04", "maxcpu": 2, "mem": 514740224, "uptime": 1761814, "diskread": 4087808, "template": 0, "vmid": 114, "disk": 2628648960, "status": "running", "id": "lxc/114", "type": "lxc" }, { "netin": 10586215540, "maxmem": 6442450944, "cpu": 0.00563515513608536, "netout": 44022278, "name": "GRAFANA01", "diskwrite": 12951552, "maxdisk": 32212254720, "node": "pve04", "mem": 125587456, "maxcpu": 2, "uptime": 1761811, "diskread": 196608, "template": 0, "vmid": 115, "status": "running", "disk": 1321730048, "type": "lxc", "id": "lxc/115" }, { "netout": 0, "cpu": 0, "maxmem": 34359738368, "netin": 0, "maxdisk": 32212254720, "name": "ELASTIC01", "diskwrite": 0, "uptime": 0, "diskread": 0, "maxcpu": 2, "mem": 0, "node": "pve04", "id": "lxc/116", "type": "lxc", "disk": 0, "status": "stopped", "template": 0, "vmid": 116 }, { "netin": 10756513724, "maxmem": 17179869184, "cpu": 0.0113306982812255, "netout": 141296026, "name": "S1C03", "diskwrite": 30297943040, "maxdisk": 107374182400, "node": "pve04", "maxcpu": 8, "mem": 3026554880, "uptime": 1761809, "diskread": 15250472960, "template": 0, "vmid": 117, "disk": 0, "status": "running", "id": "qemu/117", "type": "qemu" }, { "status": "running", "disk": 0, "vmid": 118, "template": 0, "id": "qemu/118", "type": "qemu", "mem": 1881190400, "maxcpu": 6, "node": "pve03", "diskread": 11933940224, "uptime": 1761491, "diskwrite": 26279782912, "name": "SAPP03", "maxdisk": 107374182400, "maxmem": 12884901888, "netin": 11002933510, "netout": 39607258, "cpu": 0.0114380280185469 }, { "diskread": 0, "uptime": 0, "node": "pve05", [560/1991] "mem": 0, "maxcpu": 12, "type": "qemu", "id": "qemu/119", "vmid": 119, "template": 0, "disk": 0, "status": "stopped", "cpu": 0, "netout": 0, "netin": 0, "maxmem": 21474836480, "maxdisk": 644245094400, "diskwrite": 0, "name": "BITRIX02-TRANSFERED" }, { "maxdisk": 107374182400, "name": "ASTERISK06-TRANSFERED", "diskwrite": 0, "netout": 0, "cpu": 0, "maxmem": 4294967296, "netin": 0, "type": "qemu", "id": "qemu/120", "status": "stopped", "disk": 0, "template": 0, "vmid": 120, "uptime": 0, "diskread": 0, "mem": 0, "maxcpu": 2, "node": "pve04" }, { "node": "pve05", "mem": 0, "maxcpu": 2, "diskread": 0, "uptime": 0, "vmid": 121, "template": 0, "status": "stopped", "disk": 0, "type": "qemu", "id": "qemu/121", "netin": 0, "maxmem": 4294967296, "cpu": 0, "netout": 0, "diskwrite": 0, "name": "COLLABORA01", "maxdisk": 21688745984 }, { "maxdisk": 32426164224, "name": "NEXTCLOUD01", "diskwrite": 0, "netout": 0, "cpu": 0, "maxmem": 2147483648, "netin": 0, "type": "qemu", "id": "qemu/122", "disk": 0, "status": "stopped", "template": 0, "vmid": 122, "uptime": 0, "diskread": 0, "maxcpu": 1, "mem": 0, "node": "pve05" }, { "status": "running", [482/1991] "disk": 0, "template": 0, "vmid": 123, "id": "qemu/123", "type": "qemu", "maxcpu": 4, "mem": 4007911424, "node": "pve05", "uptime": 2741386, "diskread": 1727257088, "name": "BITRIX03", "diskwrite": 264968760832, "maxdisk": 64424509440, "maxmem": 12821987328, "netin": 15046644719, "netout": 141855626, "cpu": 0.0263145153678886 }, { "maxdisk": 53687091200, "diskwrite": 65354331648, "name": "AUTOINTELLECT01", "cpu": 0.00502368020659692, "netout": 2179636493, "netin": 19581381868, "maxmem": 8589934592, "type": "qemu", "id": "qemu/124", "vmid": 124, "template": 0, "disk": 0, "status": "running", "diskread": 48928850944, "uptime": 1448203, "node": "pve05", "maxcpu": 4, "mem": 2596474880 }, { "cpu": 0.011153954367305, "netout": 2016741039, "netin": 11552521475, "maxmem": 12884901888, "maxdisk": 53687091200, "diskwrite": 53389701120, "name": "SAPP04", "diskread": 32589406208, "uptime": 1179613, "node": "pve02", "maxcpu": 4, "mem": 3439960064, "id": "qemu/125", "type": "qemu", "vmid": 125, "template": 0, "disk": 0, "status": "running" }, { "type": "qemu", "id": "qemu/126", "status": "running", "disk": 0, "vmid": 126, "template": 0, "diskread": 42052599296, "uptime": 1001966, "mem": 11315175424, "maxcpu": 4, "node": "pve05", "maxdisk": 53687091200, "diskwrite": 90593978368, "name": "SAPP06", "netout": 56516293381, "cpu": 0.254772353334558, "maxmem": 25769803776, "netin": 83211686950 "maxdisk": 2361393152, "name": "UB2004-CLOUDINIT-TEMPLATE", "diskwrite": 0 }, { "netin": 0, "maxmem": 4294967296, "cpu": 0, "netout": 0, "diskwrite": 0, "name": "WINSRV19-FULL-TEMPLATE-UPGRADE01", "maxdisk": 34359738368, "node": "pve05", "maxcpu": 2, "mem": 0, "diskread": 0, "uptime": 0, "vmid": 998, "template": 1, "status": "stopped", "disk": 0, "type": "qemu", "id": "qemu/998" } ] } ----- POSSIBLE PROBLEM PERMISSION 'VM.Audit' ----- dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] Method: GET, Url: https://127.0.0.1:8006/api2/json/cluster/resources?type=storage dbug: Corsinvest.ProxmoxVE.Api.PveClientBase[0] StatusCode: OK ReasonPhrase: OK IsSuccessStatusCode: True trce: Corsinvest.ProxmoxVE.Api.PveClientBase[0] { "data": [ { "id": "storage/pve04/local-zfs", "maxdisk": 461876768768, "type": "storage", "content": "images,rootdir", "status": "available", "disk": 149247201280, "plugintype": "zfspool", "node": "pve04", "storage": "local-zfs", "shared": 0 }, { "node": "pve02", "shared": 0, "storage": "local-zfs", "plugintype": "zfspool", "status": "available", "disk": 562787356672, "content": "images,rootdir", "maxdisk": 2523480272896, "type": "storage", "id": "storage/pve02/local-zfs" }, { "type": "storage", "maxdisk": 965518577664, "id": "storage/pve05/local-zfs", "content": "images,rootdir", "status": "available", "disk": 444814647296, "plugintype": "zfspool", "node": "pve05", "storage": "local-zfs", "shared": 0 }, { "id": "storage/pve01/local-zfs", "maxdisk": 7094926553088, "type": "storage", "status": "available", "disk": 7037292924928, "content": "images,rootdir", "plugintype": "zfspool", "shared": 0, "storage": "local-zfs", "node": "pve01" }, { "plugintype": "zfspool", "shared": 0, "storage": "local-zfs", "node": "pve03", "maxdisk": 18083780710400, "id": "storage/pve03/local-zfs", "type": "storage", "disk": 9949684187136, "status": "available", "content": "images,rootdir" }, { "storage": "PBS01", "shared": 1, "node": "pve04", "plugintype": "pbs", "content": "backup", "disk": 2660231151616, "status": "available", "maxdisk": 2717865607168, "id": "storage/pve04/PBS01", "type": "storage" }, { }, [180/1991] { "shared": 1, "storage": "PBS01", "node": "pve02", "plugintype": "pbs", "status": "available", "disk": 2660231151616, "content": "backup", "maxdisk": 2717639639040, "id": "storage/pve02/PBS01", "type": "storage" }, { "shared": 1, "storage": "PBS01", "node": "pve05", "plugintype": "pbs", "disk": 2660231151616, "status": "available", "content": "backup", "maxdisk": 2717537271808, "type": "storage", "id": "storage/pve05/PBS01" }, { "plugintype": "pbs", "shared": 1, "storage": "PBS01", "node": "pve01", "id": "storage/pve01/PBS01", "maxdisk": 2717858136064, "type": "storage", "status": "available", "disk": 2660231151616, "content": "backup" }, { "plugintype": "pbs", "node": "pve03", "storage": "PBS01", "shared": 1, "maxdisk": 2717868359680, "type": "storage", "id": "storage/pve03/PBS01", "content": "backup", "disk": 2660231151616, "status": "available" }, { "shared": 0, "storage": "local", "node": "pve04", "plugintype": "dir", "status": "available", "disk": 31276834816, "content": "backup,vztmpl,iso", "type": "storage", "maxdisk": 61031231488, "id": "storage/pve04/local" }, { "content": "backup,vztmpl,iso", "disk": 2700607488, "status": "available", "type": "storage", "maxdisk": 1963393417216, "id": "storage/pve02/local", "node": "pve02", "storage": "local", "shared": 0, "plugintype": "dir" }, { "maxdisk": 26023809024, "type": "storage", "id": "storage/pve05/local", "disk": 17288175616, "status": "available", "content": "backup,vztmpl,iso", "plugintype": "dir", "shared": 0, "storage": "local", "node": "pve05" }, { "node": "pve01", "shared": 0, "storage": "local", "plugintype": "dir", "disk": 2254569472, "status": "available", "content": "backup,vztmpl,iso", "maxdisk": 59895447552, "type": "storage", "id": "storage/pve01/local" }, { "node": "pve03", "storage": "local", "shared": 0, "plugintype": "dir", "content": "backup,vztmpl,iso", "status": "available", "disk": 8415485952, "id": "storage/pve03/local", "maxdisk": 61031231488, "type": "storage" }, { "plugintype": "zfspool", "storage": "FAST01", "shared": 0, "node": "pve04", "maxdisk": 495263416320, "id": "storage/pve04/FAST01", "type": "storage", "content": "images,rootdir", "disk": 184348790784, "status": "available" }, { "content": "images,rootdir", "disk": 39383818240, "status": "available", "type": "storage", "maxdisk": 241390583808, "id": "storage/pve05/FAST01", "storage": "FAST01", "shared": 0, "node": "pve05", "plugintype": "zfspool" }, { "type": "storage", "maxdisk": 9494607691776, "id": "storage/pve04/PBS03", "content": "backup", "disk": 1360511238144, "status": "available", "plugintype": "pbs", "node": "pve04", "storage": "PBS03", "shared": 1 }, { "status": "available", "disk": 1360511238144, "content": "backup", "type": "storage", "maxdisk": 9494607691776, "id": "storage/pve02/PBS03", "shared": 1, "storage": "PBS03", "node": "pve02", "plugintype": "pbs" }, { "maxdisk": 9494294953984, "type": "storage", "id": "storage/pve05/PBS03", "content": "backup", "status": "available", "disk": 1360511238144, "plugintype": "pbs", "storage": "PBS03", "shared": 1, "node": "pve05" }, { "content": "backup", "disk": 1360511238144, "status": "available", "maxdisk": 9494607691776, "type": "storage", "id": "storage/pve01/PBS03", "node": "pve01", "storage": "PBS03", "shared": 1, "plugintype": "pbs" }, { "id": "storage/pve03/PBS03", "maxdisk": 9494607691776, "type": "storage", "status": "available", "disk": 1360511238144, "content": "backup", "plugintype": "pbs", "node": "pve03", "shared": 1, "storage": "PBS03" }, { "id": "storage/pve04/PBS02", "maxdisk": 805306368000, "type": "storage", "disk": 370357960704, "status": "available", "content": "backup", "plugintype": "pbs", "shared": 1, "storage": "PBS02", "node": "pve04" }, { "plugintype": "pbs", "shared": 1, "storage": "PBS02", "node": "pve02", "type": "storage", "maxdisk": 805306368000, "id": "storage/pve02/PBS02", "status": "available", "disk": 370357960704, "content": "backup" }, { "disk": 370357960704, "status": "available", "content": "backup", "maxdisk": 805306368000, "id": "storage/pve05/PBS02", "type": "storage", "node": "pve05", "shared": 1, "storage": "PBS02", "plugintype": "pbs" }, { "id": "storage/pve01/PBS02", "maxdisk": 805306368000, "type": "storage", "content": "backup", "disk": 370357960704, "status": "available", "plugintype": "pbs", "node": "pve01", "storage": "PBS02", "shared": 1 }, { "plugintype": "pbs", "node": "pve03", "storage": "PBS02", "shared": 1, "maxdisk": 805306368000, "type": "storage", "id": "storage/pve03/PBS02", "content": "backup", "disk": 370357960704, "status": "available" } ] } ----- POSSIBLE PROBLEM PERMISSION 'Datastore.Audit' ----- Total execution 00:00:00.1837675 ``` ### Proxmox VE Version 7.2-4 ### Version (bug) 1.14.4 ### Version (working) _No response_ ### On what operating system are you experiencing the issue? Linux ### Pull Request - [ ] I would like to do a Pull Request
kerem 2026-02-26 17:44:13 +03:00
Author
Owner

@franklupo commented on GitHub (Jun 16, 2022):

Hi,
why use vmid -100 ?

best regards

<!-- gh-comment-id:1157325992 --> @franklupo commented on GitHub (Jun 16, 2022): Hi, why use vmid **-100** ? best regards
Author
Owner

@franklupo commented on GitHub (Jun 17, 2022):

News?

<!-- gh-comment-id:1159134960 --> @franklupo commented on GitHub (Jun 17, 2022): News?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-autosnap#62
No description provided.