Comment 3 for bug 1764685

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

Reviewed: https://review.openstack.org/563972
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bc8c188fc1890d80a1b85866b3d31f51f0aceb38
Submitter: Zuul
Branch: stable/queens

commit bc8c188fc1890d80a1b85866b3d31f51f0aceb38
Author: Kevin_Zheng <email address hidden>
Date: Wed Jan 31 16:52:53 2018 +0800

    Improve performance when list instances with IP filter

    When list instances with IP filter, there is no need
    to try to get instances from BuildRequest, as building
    instances will not have IP address. Skip this db call
    can slightly improve performance.

    Closes-Bug: #1764685

    Change-Id: Ic02206e887e3fea7752d615bbed680510c482097
    (cherry picked from commit a3a94cf4ec3c0e41ab2a8a66dfc0e7adca2d2a8e)