pvesh get error with nested pools

trasgu

New Member
Oct 15, 2026
2
0
1
Hello.
I'm using nested pools on PVE since last year.

I've created 2 levels of pools Pool_Level1 and Pool_Level1/Pool_Level2
I'm using CLI pool creation with pvesh without any problem, but when I tried to access them via CLI also, I get an error on level 2 pools.

In deep, when I try to get info from Pool_Level1 with pvesh get /pools/Pool_Level1 it works with any problem.

But when I try to get the same info from Pool_Level1/Pool_Level2 with pvesh get /pools/Pool_Level1/Pool_Level2 it gives me this error:
No 'get' handler defined for '/pools/Pool_Level1/Pool_Level2'

I've got the same error with whatever pool of level 2 I have tried. From GUI I can access to the pool info without any problem, but I need to access it by CLI for scripting purposes.
Does anybody deal with this situation? I've tried to inspect the perl code of PVE components but I've get lost with the internal components.

I'm using Proxmox VE 9.2.21.

Any help would be appreciated.

Thanks.
 
because of the `/`, you need to pass the poolid as parameter, not as part of the path:

Code:
pvesh get /pools --poolid Pool_Level1/Pool_Level2

should work.
 
Oh Thanks. It worked. I was using an old syntax, Next time I will be more precise with the current syntax.
Thank you again.