(10:00:03 AM) mriedem: johnthetubaguy: one issue might be a chicken and egg with the custom RC inventory being available when we PUT /allocations/{consumer_uuid}
(10:00:20 AM) mriedem: because the inventory gets updated via the RT periodic
(10:01:01 AM) mriedem: so if i just set a custom rc on my ironic node, the periodic runs, it detects the new rc and will update inventory, but while in the driver we're migrating the instance because it's node has an rc now, if we try updating the allocation for that rc before the node RP inventory has that rc, it will fail with a 409
(10:01:07 AM) johnthetubaguy: mriedem: dang, yeah
(10:01:08 AM) mriedem: "409 Conflict if there is no available inventory in any of the resource providers for any specified resource classes or inventories are updated by another thread while attempting the operation."
(10:00:03 AM) mriedem: johnthetubaguy: one issue might be a chicken and egg with the custom RC inventory being available when we PUT /allocations/ {consumer_ uuid}
(10:00:20 AM) mriedem: because the inventory gets updated via the RT periodic
(10:01:01 AM) mriedem: so if i just set a custom rc on my ironic node, the periodic runs, it detects the new rc and will update inventory, but while in the driver we're migrating the instance because it's node has an rc now, if we try updating the allocation for that rc before the node RP inventory has that rc, it will fail with a 409
(10:01:07 AM) johnthetubaguy: mriedem: dang, yeah
(10:01:08 AM) mriedem: "409 Conflict if there is no available inventory in any of the resource providers for any specified resource classes or inventories are updated by another thread while attempting the operation."