Proxmox version: 5.2-8/fdf39912
I'm trying to find out, which node a vm is currently routed to, so I thought this command might be useful:
pvesh get /cluster/ha/resources/vm:101
However, it only sends back the following error message:
Use of uninitialized value in string eq at /usr/share/perl5/PVE/CLIFormatter.pm line 390.
Use of uninitialized value $type in string eq at /usr/share/perl5/PVE/CLIFormatter.pm line 403.
Use of uninitialized value $type in string eq at /usr/share/perl5/PVE/CLIFormatter.pm line 414.
HASH(0x55ae953ed8b0)
The VM is listed as a resource when I run
pvesh get /cluster/ha/resources/
I double checked and I have the required permissions:
Check: ["perm","/",["Sys.Audit"]]
I can see the desired details through the web interface.
I assume the error is a bug in the API. Meanwhile, is there any other way to find out programatically which node a VM should be routed to according to Proxmox?
I'm trying to find out, which node a vm is currently routed to, so I thought this command might be useful:
pvesh get /cluster/ha/resources/vm:101
However, it only sends back the following error message:
Use of uninitialized value in string eq at /usr/share/perl5/PVE/CLIFormatter.pm line 390.
Use of uninitialized value $type in string eq at /usr/share/perl5/PVE/CLIFormatter.pm line 403.
Use of uninitialized value $type in string eq at /usr/share/perl5/PVE/CLIFormatter.pm line 414.
HASH(0x55ae953ed8b0)
The VM is listed as a resource when I run
pvesh get /cluster/ha/resources/
I double checked and I have the required permissions:
Check: ["perm","/",["Sys.Audit"]]
I can see the desired details through the web interface.
I assume the error is a bug in the API. Meanwhile, is there any other way to find out programatically which node a VM should be routed to according to Proxmox?