[nova] Validation for requested host/node on server create

Matt Riedemann mriedemos at gmail.com
Thu Jun 6 19:20:33 UTC 2019


On 6/6/2019 7:53 AM, gmann at ghanshyammann.com wrote:
> +1 on option3. For more optimization, can we skip b) and c) for non-baremental case
>   assuming if there is Hostmapping then node also will be valid.

You won't know it's a baremetal node until you get the ComputeNode 
object and check the hypervisor_type, and at that point you've already 
validated that it exists.

-- 

Thanks,

Matt



More information about the openstack-discuss mailing list