Comment 5 for bug 1157437

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/25042
Committed: http://github.com/openstack/nova/commit/7ab98e935a63454d0736e6f8a7525a8e73cf6c04
Submitter: Jenkins
Branch: master

commit 7ab98e935a63454d0736e6f8a7525a8e73cf6c04
Author: Joe Gordon <email address hidden>
Date: Thu Mar 21 18:55:49 2013 +0000

    Remove unnecessary DB call to find EC2 AZs.

    Update get_availability_zone_by_host, so it doesn't need a list of services,
    and remove unneeded service_get_all_by_host calls. This removes N DB calls in
    the EC2 api when doing a DescribeInstances, where N is number if instances
    that are being described.

    Partially fix bug 1157437

    Change-Id: I0050ba736828faad94549bc6e55f4ca1d05dcbe7