summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-01-27 14:55:20 -0500
committerAdam Spiers <aspiers@suse.com>2019-02-28 23:28:19 +0000
commit7ce265ebc5937a922efabedbfcec4fa0733ea511 (patch)
treeddfae435cb725042b3ec18f3381c6e18348b51c6 /requirements.txt
parenta8c065dea946599a1b07d003cd21409c4cd58df0 (diff)
downloadnova-7ce265ebc5937a922efabedbfcec4fa0733ea511.tar.gz
Convert driver supported capabilities to compute node provider traits
This builds on the ProviderTree work in the compute driver and resource tracker to take the supported capabilities from a driver and turn those into standard traits on the compute node resource provider. This is a simple way to expose in a REST API (Placement in this case) what a compute node, via its driver, supports. This is also something easy that we can do in lieu of a full-blown compute capabilities REST API in nova, which we've talked about for years but never actually done anything about. We can later build on this to add a request filter which will mark certain types of boot-from-volume requests as requiring specific capabilities, like for volume multiattach and tagged devices. Any traits provided by the driver will be automatically added during startup or a periodic update of a compute node: https://pasteboard.co/I3iqqNm.jpg Similarly any traits later retracted by the driver will be automatically removed. However any traits associated with capabilities which are inappropriately added to or removed from the resource provider by the admin via the Placement API will not be reverted until the compute service's provider cache is reset. The new call graph is shown in this sequence diagram: https://pasteboard.co/I25qICd.png Co-Authored-By: Adam Spiers <aspiers@suse.com> Related to blueprint placement-req-filter Related to blueprint expose-host-capabilities Change-Id: I15364d37fb7426f4eec00ca4eaf99bec50e964b6
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index 8a3e2423b3..cdedbbcaf5 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -57,7 +57,7 @@ psutil>=3.2.2 # BSD
oslo.versionedobjects>=1.33.3 # Apache-2.0
os-brick>=2.6.1 # Apache-2.0
os-resource-classes>=0.1.0 # Apache-2.0
-os-traits>=0.4.0 # Apache-2.0
+os-traits>=0.8.0 # Apache-2.0
os-vif>=1.14.0 # Apache-2.0
os-win>=3.0.0 # Apache-2.0
castellan>=0.16.0 # Apache-2.0