Comment 3 for bug 1580621

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

Reviewed: https://review.openstack.org/315311
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f726163977367251b7466a3fbf351f5e128004b3
Submitter: Jenkins
Branch: master

commit f726163977367251b7466a3fbf351f5e128004b3
Author: liyingjun <email address hidden>
Date: Wed Apr 20 22:09:30 2016 +0800

    Optimize creating security_group

    When passing a source group_id for creating a new security group rule,
    the code is looking up that group twice. We should just look that up
    once at the beginning and reuse it so we don't have to hit the nova db
    or neutron twice for the same thing.

    Change-Id: I3ea4586d11b14da5f6d93e8d20f05171e7e6f0e8
    Closes-bug: #1580621