Comment 2 for bug 1742467

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

As for the two GET calls to /inventories every periodic task run:

(9:44:36 AM) mriedem: _update_available_resource is the call from the compute periodic task,
(9:44:41 AM) mriedem: which calls _init_compute_node
(9:44:51 AM) mriedem: when we already have the compute node, it calls _update
(9:45:00 AM) mriedem: which eventually does the update_inventory_attempt stuff in the report client
(9:45:10 AM) mriedem: then at the end of _update_available_resource,
(9:45:12 AM) mriedem: we call _update again
(9:45:21 AM) mriedem: so that's your 2 inventory updates
(9:45:34 AM) mriedem: which, johnthetubaguy changed in queens
(9:45:44 AM) mriedem: or wait,no
(9:46:05 AM) mriedem: https://review.openstack.org/#/c/520024/
(9:46:12 AM) mriedem: that would fix the double GET inventories