← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2120862] Re: Following implementation of flavor extra_specs validations, cpu cpu_max_* specs are rejected.

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/957732
Committed: https://opendev.org/openstack/nova/commit/4119634bf1f35f2c6ac3c388b5f53d509bd4ed48
Submitter: "Zuul (22348)"
Branch:    master

commit 4119634bf1f35f2c6ac3c388b5f53d509bd4ed48
Author: Stephen Finucane <stephenfin@xxxxxxxxxx>
Date:   Mon Aug 18 16:13:46 2025 +0100

    api: Fix validators for hw:cpu_max_* extra specs
    
    We also fix a typo.
    
    Change-Id: I38d03a860ccef6d1efb19b3c465411a352bb7971
    Signed-off-by: Stephen Finucane <stephenfin@xxxxxxxxxx>
    Closes-bug: #2120862


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2120862

Title:
  Following implementation of flavor extra_specs validations, cpu
  cpu_max_* specs are rejected.

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Following implementation of flavor extra_specs validations, cpu
  max_cpu_* specs are rejected.

  (tempest) stack@aio:/opt/stack/tempest$ openstack --os-compute-api-version 2.86 flavor set ds4G   --property hw:cpu_max_sockets=2   --property hw:cpu_max_cores=8   --property hw:cpu_max_threads=1
  Failed to set flavor properties: BadRequestException: 400: Client Error for url: https://192.168.121.208/compute/v2.1/flavors/d4/os-extra_specs, Validation failed; extra spec 'hw:cpu_max_sockets' does not appear to be a valid extra spec.
  Command Failed: One or more of the operations failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2120862/+subscriptions



References