Support Traits in the Ironic Driver

Registered by John Garbutt on 2017-09-25

The plan is for ironic to report both resource classes and traits for each node. This means the virt driver now should report not only the inventory of resources, but also the traits associated with each resource provider (i.e. each ironic node).

Blueprint information

Status:
Complete
Approver:
Dan Smith
Priority:
Medium
Drafter:
John Garbutt
Direction:
Approved
Assignee:
Mark Goddard
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-rc1
Started by
Matt Riedemann on 2017-10-05
Completed by
Matt Riedemann on 2018-02-01

Related branches

Sprints

Whiteboard

Spec is uploaded here: https://review.openstack.org/#/c/507052

Gerrit topic: https://review.openstack.org/#q,topic:bp/ironic-driver-traits,n,z

Addressed by: https://review.openstack.org/507052
    Support traits in the Ironic driver

Addressed by: https://review.openstack.org/508116
    WIP: Send traits to ironic on server boot

Addressed by: https://review.openstack.org/509812
    Rename ironic-driver-traits spec

This is currently blocked waiting on Ironic spec https://review.openstack.org/#/c/504531/ -- mriedem 20171009
Ironic spec above now approved. Mark Goddard going to look into this for me. -- johnthetubaguy 20180102

Addressed by: https://review.openstack.org/532287
    Add get_traits() method to ComputeDriver

Addressed by: https://review.openstack.org/532288
    Implement get_traits() for the ironic virt driver

Addressed by: https://review.openstack.org/532289
    Add has_any_traits() to provider tree

Addressed by: https://review.openstack.org/532290
    Call get_traits() in the resource tracker

Addressed by: https://review.openstack.org/532539
    Add support to scheduler client for setting traits

Addressed by: https://review.openstack.org/534375
    DNM Remove generation from set_traits_for_provider

Gerrit topic: https://review.openstack.org/#q,topic:bp/nested-resource-providers,n,z

Addressed by: https://review.openstack.org/532564
    SchedulerReportClient.set_traits_for_provider

Addressed by: https://review.openstack.org/538047
    Add functional tests for virt driver get_traits() method

Addressed by: https://review.openstack.org/538498
    Convert driver supported capabilities to compute node provider traits

Gerrit topic: https://review.openstack.org/#q,topic:bug/1746209,n,z

Addressed by: https://review.openstack.org/539505
    Update docstring for get_traits virt driver method

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.