Comment 4 for bug 1724589

Revision history for this message
Matt Riedemann (mriedem) wrote :

To deal with the issue in comment #2 above, before we get here:

https://github.com/openstack/nova/blob/e11a8687aef527eee9f7c733db6cccd5b902afbb/nova/virt/ironic/driver.py#L523

We'd have to check if the instance has an allocation in placement for the normalized_rc and if not, add it. That is at most redundant once per instance per compute service restart because of this:

https://github.com/openstack/nova/blob/e11a8687aef527eee9f7c733db6cccd5b902afbb/nova/virt/ironic/driver.py#L559

So we would only process that once.