Comment 5 for bug 1565108

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

Reviewed: https://review.openstack.org/306003
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=3dfc046375851f7852513574d52a405004f6a853
Submitter: Jenkins
Branch: stable/mitaka

commit 3dfc046375851f7852513574d52a405004f6a853
Author: liyingjun <email address hidden>
Date: Thu Mar 31 08:13:49 2016 +0800

    Fix KeyError when rename to a name is already in use

    When a user attempts to rename a project via the PATCH
    v3/projects/{project_id} API, and the new name is already in-use, rather
    than return a nice error explaining that the name is in use, keystone
    blows up and raises `KeyError: 'is_domain'` in
    _generate_project_name_conflict_msg.

    Change-Id: I56fcd8fe1258e2d1de3e541144649ef619f86a7b
    Closes-bug: #1565108
    (cherry picked from commit c1be6883f250e6bc0ad1b43eb516186f74a477f1)