---- On Fri, 11 Oct 2024 08:27:00 -0700 Albert Braden wrote ---
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?
In microversion 2.88, hypervisor APIs field has been cleaned up and /os-hypervisors/statistics API was removed because of duplicate responses. How to fetch the relevant information for the removed hypervisor in placement, please go through the below specs where Stephen wrote a very good explanation of each removed field alternate in placement. - https://specs.openstack.org/openstack/nova-specs/specs/wallaby/implemented/m... -gmann
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.ht... 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
openstack server list --all-projects --unlocked --os-compute-api-version 2.73
Wallaby (locked flag is ignored): openstack server list --all-projects --locked --os-compute-api-version 2.73
openstack server list --all-projects --unlocked --os-compute-api-version 2.73
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 |