Hi,
When trying to get the aio (Asyn IO) information from disk on VMs I cannot reach this information via API. I have tried pvesh and API (using tokens).
My environment is the following version
According to the API documentation I was hoping to be able to access the "Return object" for disk information in the format column
When using pvesh I get the following
Using the API accessing Tokens to the same location I am getting
I cannot event get a list of VMs
I was hopping to get more information via API rather than less. I am wondering is the reason for this is because I am using Token based authentication.
Perhaps the version of PVE doesn't return this information.
Any advise would be appreciated.
When trying to get the aio (Asyn IO) information from disk on VMs I cannot reach this information via API. I have tried pvesh and API (using tokens).
My environment is the following version
Code:
[hypervisor]:root@node:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.35-1-pve)
pve-manager: 7.2-4 (running version: 7.2-4/ca9d43cc)
pve-kernel-5.15: 7.2-3
pve-kernel-helper: 7.2-3
pve-kernel-5.4: 6.4-15
pve-kernel-5.15.35-1-pve: 5.15.35-3
pve-kernel-5.4.174-2-pve: 5.4.174-2
ceph-fuse: 15.2.17-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.1-8
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-1
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-2
libpve-storage-perl: 7.2-4
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.1-1
proxmox-backup-file-restore: 2.2.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-2
pve-ha-manager: 3.3-4
pve-i18n: 2.7-2
pve-qemu-kvm: 6.2.0-7
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1-1~bpo11+1
vncterm: 1.7-1
According to the API documentation I was hoping to be able to access the "Return object" for disk information in the format column
When using pvesh I get the following
pvesh get /nodes/[NODE]/qemu/[VMID]/config
Using the API accessing Tokens to the same location I am getting
Code:
data:null
I cannot event get a list of VMs
/api2/json/nodes/[NODE]/qemu
(obviously queries via API, I do get a list of VMs via pvesh)
Code:
data:[]
I was hopping to get more information via API rather than less. I am wondering is the reason for this is because I am using Token based authentication.
Perhaps the version of PVE doesn't return this information.
Any advise would be appreciated.
Last edited: