Comment 6 for bug 862839

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/1123
Committed: http://github.com/openstack/nova/commit/61e5b8e7da3b36db9a09f80d62ebf2e276bbe88b
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 61e5b8e7da3b36db9a09f80d62ebf2e276bbe88b
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
    we can fully untie things. So, this reverts APIs to use
    instance['fixed_ips'] which hasn't been untied in the DB yet.

    Change-Id: I37d21105d6306f0a812c5eb0f0717a5094cd17b9