Comment 11 for bug 1296913

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

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

commit c447d6c043256d84999e096256fa96a04466fc1e
Author: Russell Bryant <email address hidden>
Date: Thu Mar 27 18:45:16 2014 +0000

    Add InstanceGroup.get_by_name()

    Legacy behavior of the 'group' scheduler hint was that the value was
    treated as a name for the group. To preserve the old behavior, the
    InstanceGroup object needs to be able to look up a group by name.

    Since we're so close to doing an RC, just use the db API methods
    available now but leave a note that this should be optimized later
    with a db.api query that looks up the group by name.

    Change-Id: I1b8c72b29a9a44a171aaa231aeb3533ccf41f7c2
    Partial-bug: #1296913