listing instances with IPs is extremely inefficient after changes were
made to query the network manager for IP information for each instance.
I tried adding a network manager call that said 'give me IP information
for 'x' instances', but that was also too slow.
We need a solution that caches IP info from the network manager before
we can fully untie things. So, this reverts APIs to use
instance['fixed_ips'] which hasn't been untied in the DB yet.
Reviewed: https:/ /review. openstack. org/1123 github. com/openstack/ nova/commit/ 61e5b8e7da3b36d b9a09f80d62ebf2 e276bbe88b
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 61e5b8e7da3b36d b9a09f80d62ebf2 e276bbe88b
Author: Chris Behrens <email address hidden>
Date: Fri Oct 21 00:29:54 2011 -0700
Revert how APIs get IP address info for instances
Fixes bug 862839
listing instances with IPs is extremely inefficient after changes were
made to query the network manager for IP information for each instance.
I tried adding a network manager call that said 'give me IP information
for 'x' instances', but that was also too slow.
We need a solution that caches IP info from the network manager before 'fixed_ ips'] which hasn't been untied in the DB yet.
we can fully untie things. So, this reverts APIs to use
instance[
Change-Id: I37d21105d6306f 0a812c5eb0f0717 a5094cd17b9