Comment 4 for bug 1740544

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tempest (master)

Reviewed: https://review.openstack.org/530508
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=65e4f9b9d1f0c61636895cc133062bf0a6263848
Submitter: Zuul
Branch: master

commit 65e4f9b9d1f0c61636895cc133062bf0a6263848
Author: Mohammed Naser <email address hidden>
Date: Fri Dec 29 21:22:24 2017 +0000

    Revert "Use a non admin privileges for retyping a volume"

    This reverts commit f5869b4557855af9450501c65e03bd16fd269036.

    When retyping a volume, it is possible that Cinder falls back to
    migrating a volume in order to complete the retype which is admin-only
    operation.

    This will result in a failure because Cinder will attempt to contact
    Nova using the credentials of the user which are not elevated, with
    Nova refusing to do the volume swap.

    Therefore, in order to effectively test this, we should stick to using
    the admin API as a retype can require a migration which is an
    admin-only operation.

    Related-Bug: #1740544
    Change-Id: I3e4853146bb6e2a62205ffe690da081229215f54