Thank you Pierre! That fixed the "long" issue for now. When I look up the placement CLI I find this document:

https://docs.openstack.org/placement/latest/cli/index.html

I don't see anything here about getting hypervisor stats. What's the recommended new method?

Albert
On Thursday, October 10, 2024 at 06:13:35 AM EDT, Pierre Riteau <pierre@stackhpc.com> wrote:


Hello,

I don't know about your first issue, but your second one is due to a Nova microversion change in Wallaby which removed various fields from the os-hypervisors API: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#maximum-in-wallaby
It is recommended to use Placement instead, but you can still get long output using any API version below 2.88 (e.g. --os-compute-api-version 2.87).

Cheers,
Pierre Riteau (priteau)

On Wed, 9 Oct 2024 at 22:49, Albert Braden <ozzzo@yahoo.com> wrote:
After rebuilding our Train clusters on Wallaby we are seeing some API issues. It appears that flags that work in Train are still documented in Wallaby, but are ignored. Do we have something setup wrong, or are we encountering bugs? The first thing is the “locked” list:

Train:
openstack server list --all-projects --locked --os-compute-api-version 2.73
<empty list because nothing is locked>
openstack server list --all-projects --unlocked --os-compute-api-version 2.73
<list of every VM in the cluster>

Wallaby (locked flag is ignored):
openstack server list --all-projects --locked --os-compute-api-version 2.73
<list of every VM in the cluster>
openstack server list --all-projects --unlocked --os-compute-api-version 2.73
<list of every VM in the cluster>

The second problem is the hypervisor list. We can’t get “long” output in Wallaby:

Train:
openstack hypervisor list --long
|  ID | Hypervisor Hostname             | Hypervisor Type | Host IP        | State | vCPUs Used | vCPUs | Memory MB Used | Memory MB |

Wallaby (long flag is ignored):
openstack hypervisor list --long
| ID                                   | Hypervisor Hostname             | Hypervisor Type | Host IP        | State |