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.
Reviewed: https:/ /review. openstack. org/530508 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=65e4f9b9d1f 0c61636895cc133 062bf0a6263848
Committed: https:/
Submitter: Zuul
Branch: master
commit 65e4f9b9d1f0c61 636895cc133062b f0a6263848
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 f5869b4557855af 9450501c65e03bd 16fd269036.
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 a62205ffe690da0 81229215f54
Change-Id: I3e4853146bb6e2