yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74833
[Bug 1793556] Re: ironic: power sync loop makes way too many API calls
Reviewed: https://review.openstack.org/602127
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9d5fb1b58e908ccacbbbf29341918d0b0588a36f
Submitter: Zuul
Branch: master
commit 9d5fb1b58e908ccacbbbf29341918d0b0588a36f
Author: Jim Rollenhagen <jim@xxxxxxxxxxxxxxxxxx>
Date: Wed Sep 12 12:11:30 2018 -0600
ironic: stop hammering ironic API in power sync loop
Use our node cache to look up the node for an instance, if we have it.
If we can't find it, fall back to hitting ironic's API.
This should be relatively up-to-date info, as it is refreshed on every
resource tracker loop.
Closes-Bug: #1793556
Change-Id: I0069cbc327d952d42dbb8fe54949faab89995a7e
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1793556
Title:
ironic: power sync loop makes way too many API calls
Status in OpenStack Compute (nova):
Fix Released
Bug description:
The ironic driver does not use its local cache of node data for the
get_info call, which is used during the instance power sync. This
results in N API calls per power sync loop, where N is the number of
instances managed by the compute service doing the sync.
We should aim to use the cache and reduce this to one or less API
calls.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1793556/+subscriptions
References