/nodes/{node}/lxc/{vm_id}/interfaces not available

It does appear to be missing in V8 as well, along with some other endpoints mentioned in the API reference:

Code:
pve-manager/8.1.4/ec5affc9e41f1d79 (running kernel: 6.5.13-1-pve)
# pvesh get /nodes/pve7demo1/lxc/103/
/nodes/pve7demo1/lxc/103/clone         /nodes/pve7demo1/lxc/103/migrate       /nodes/pve7demo1/lxc/103/rrd           /nodes/pve7demo1/lxc/103/spiceproxy    /nodes/pve7demo1/lxc/103/vncproxy
/nodes/pve7demo1/lxc/103/config        /nodes/pve7demo1/lxc/103/pending       /nodes/pve7demo1/lxc/103/rrddata       /nodes/pve7demo1/lxc/103/status        /nodes/pve7demo1/lxc/103/vncwebsocket
/nodes/pve7demo1/lxc/103/firewall      /nodes/pve7demo1/lxc/103/resize        /nodes/pve7demo1/lxc/103/snapshot      /nodes/pve7demo1/lxc/103/termproxy     
root@pve7demo1:~# pvesh get /nodes/pve7demo1/lxc/103/

You can view available endpoints by tapping "tab" twice after starting with initial path in PVE shell.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
It does appear to be missing in V8 as well, along with some other endpoints mentioned in the API reference:

Code:
pve-manager/8.1.4/ec5affc9e41f1d79 (running kernel: 6.5.13-1-pve)
# pvesh get /nodes/pve7demo1/lxc/103/
/nodes/pve7demo1/lxc/103/clone         /nodes/pve7demo1/lxc/103/migrate       /nodes/pve7demo1/lxc/103/rrd           /nodes/pve7demo1/lxc/103/spiceproxy    /nodes/pve7demo1/lxc/103/vncproxy
/nodes/pve7demo1/lxc/103/config        /nodes/pve7demo1/lxc/103/pending       /nodes/pve7demo1/lxc/103/rrddata       /nodes/pve7demo1/lxc/103/status        /nodes/pve7demo1/lxc/103/vncwebsocket
/nodes/pve7demo1/lxc/103/firewall      /nodes/pve7demo1/lxc/103/resize        /nodes/pve7demo1/lxc/103/snapshot      /nodes/pve7demo1/lxc/103/termproxy    
root@pve7demo1:~# pvesh get /nodes/pve7demo1/lxc/103/

You can view available endpoints by tapping "tab" twice after starting with initial path in PVE shell.

the API endpoint does exist (if your PVE version is recent enough), it's just missing from the index, and hence from tab completion and "ls" in pvesh
 
it should be included in the index as well though, so there is a (small) bug there in any case :)
 
Thanks everyone for the pointers :) It works now!

I hadn't realized my install was so out of date. Luckily the upgrade went smoothly apart from some hiccups with a DKMS module, but just removing that allowed the kernel upgrade to complete.
 
  • Like
Reactions: fabian and bbgeek17

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!