From c4e89253a52839a514bd87fdebc4785fe0e64146 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Tue, 2 Aug 2022 15:05:36 +1000 Subject: [PATCH] Update placement for os-traits 2.8.0 release This change re enables checking the standard trait count and updates placement to require os-traits 2.8.0 Depends-on: https://review.opendev.org/c/openstack/requirements/+/851423 Change-Id: If5c07703d7c236c9fe0eb70e31ef1afb1d3c7a3d --- placement/tests/functional/gabbits/traits.yaml | 9 ++++----- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/placement/tests/functional/gabbits/traits.yaml b/placement/tests/functional/gabbits/traits.yaml index 2f4086bee..486159047 100644 --- a/placement/tests/functional/gabbits/traits.yaml +++ b/placement/tests/functional/gabbits/traits.yaml @@ -9,11 +9,10 @@ defaults: openstack-api-version: placement 1.6 tests: -# FIXME(tonyb): commnet out to allow os-traits 2.8.0 -# - name: what is at traits -# GET: /traits -# response_json_paths: -# $.traits.`len`: 335 # Number of standard traits +- name: what is at traits + GET: /traits + response_json_paths: + $.traits.`len`: 344 # Number of standard traits - name: create a trait without custom namespace PUT: /traits/TRAIT_X diff --git a/requirements.txt b/requirements.txt index 33f2ea6e7..d57ef034f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,5 +26,5 @@ oslo.middleware>=3.31.0 # Apache-2.0 oslo.upgradecheck>=1.3.0 # Apache-2.0 # NOTE(efried): Sync lower-constraints.txt for os-traits & os-resource-classes. os-resource-classes>=1.1.0 # Apache-2.0 -os-traits>=2.7.0 # Apache-2.0 +os-traits>=2.8.0 # Apache-2.0 microversion-parse>=0.2.1 # Apache-2.0