The ironic node traits spec calls out that traits added to instance_info.traits should be validated against the node's traits. All traits in instance_info.traits should exist in the node's traits. This protects us against race conditions between traits being removed from a node in ironic, and the node's resource provider's traits being updated in placement. This change adds validation to do_node_deploy() and validate_driver_interfaces() in the conductor manager, ensuring that all instance traits are also node traits. Change-Id: I956f8285fe428b2bdf8822e4a308f5c2a1675836 Closes-Bug: #1755146 Related-Bug: #1722194
436 B
436 B