summaryrefslogtreecommitdiff
path: root/releasenotes/notes/forbidden-traits-in-nova-478f1884a06e50e7.yaml
blob: 4f7968d3db6a028a855fa535021c318a8694cecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
features:
  - |
    Added support for forbidden traits to the scheduler. A flavor extra spec
    is extended to support specifying the forbidden traits. The syntax of
    extra spec is ``trait:<trait_name>=forbidden``, for example:

    - trait:HW_CPU_X86_AVX2=forbidden
    - trait:STORAGE_DISK_SSD=forbidden

    The scheduler will pass the forbidden traits to the
    ``GET /allocation_candidates`` endpoint in the Placement API to include
    only resource providers that do not include the forbidden traits. Currently
    the only valid values are ``required`` and ``forbidden``. Any other values
    will be considered invalid.

    This requires that the Placement API version 1.22 is available before
    the ``nova-scheduler`` service can use this feature.

    The FilterScheduler is currently the only scheduler driver that supports
    this feature.