Comment 6 for bug 1361476

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

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

commit 6abb88befe2914040e3307b0bc5dfd13683db8b2
Author: jichenjc <email address hidden>
Date: Sun Sep 21 03:16:32 2014 +0800

    Check flavor type before add tenant access

    Currently we allow tenant access for public flavor, however,
    we can't query it after that because flavor is public.
    This patch adds check for add access function to raise exception
    if the flavor is public.

    Also, a nit change is use methods introduced in
    793bcc07b9ae41b3de2c146cf69117632c88e27b to get flavor.

    APIImpact: Adds new 2.7 API microversion due to new error condition
               in flavor access API
    Implements blueprint check-flavor-type-before-add-tenant
    Closes-Bug: #1361476

    Change-Id: I461175e9969a0dd5b2b7ef75ea7d9f36f3a306d0