update placement for os-traits 2.7.0 release

This change re enables checking the standard
trait count and updates placement to require
os-traits 2.7.0

Depends-on: https://review.opendev.org/c/openstack/requirements/+/826447
Change-Id: I3685c3caac3be4754d1f9e8479d8a047eaf8f3e8
This commit is contained in:
Sean Mooney 2022-01-26 14:40:33 +00:00
parent affb87af23
commit 89cc7332f5
3 changed files with 6 additions and 8 deletions

View File

@ -36,7 +36,7 @@ netifaces==0.10.4
os-client-config==1.29.0
os-resource-classes==1.1.0
os-service-types==1.2.0
os-traits==2.6.0
os-traits==2.7.0
oslo.concurrency==3.26.0
oslo.config==6.7.0
oslo.context==2.22.0

View File

@ -9,12 +9,10 @@ defaults:
openstack-api-version: placement 1.6
tests:
# FIXME(sean-k-mooney): commnet out to allow os-traits 2.7.0
# to be added to upper-constraints
#- name: what is at traits
# GET: /traits
# response_json_paths:
# $.traits.`len`: 294 # Number of standard traits
- name: what is at traits
GET: /traits
response_json_paths:
$.traits.`len`: 335 # Number of standard traits
- name: create a trait without custom namespace
PUT: /traits/TRAIT_X

View File

@ -22,5 +22,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.6.0 # Apache-2.0
os-traits>=2.7.0 # Apache-2.0
microversion-parse>=0.2.1 # Apache-2.0