commit | d513a7f5baac2dd9ceccd30707f796d7bb504975 | [log] [tgz] |
---|---|---|
author | Ken'ichi Ohmichi <ken-oomichi@wx.jp.nec.com> | Thu Jan 04 12:55:08 2018 -0800 |
committer | Ken'ichi Ohmichi <ken1ohmichi@gmail.com> | Mon Jan 08 18:19:05 2018 +0000 |
tree | eb0e5bd7c306560482fc0b014a651215838c1f79 | |
parent | 65e4f9b9d1f0c61636895cc133062bf0a6263848 [diff] |
Add NOTE related to 'on-demand' migration This comes from the review I3e4853146bb6e2a62205ffe690da081229215f54 Change-Id: I455286e31bf95484b1b2b300f9038ef0628899f9
diff --git a/tempest/scenario/test_volume_migrate_attached.py b/tempest/scenario/test_volume_migrate_attached.py index 5667fbb..978d887 100644 --- a/tempest/scenario/test_volume_migrate_attached.py +++ b/tempest/scenario/test_volume_migrate_attached.py
@@ -81,6 +81,8 @@ return source_body['name'], dest_body['name'] def _volume_retype_with_migration(self, volume_id, new_volume_type): + # NOTE: The 'on-demand' migration requires admin operation, so + # admin_volumes_client() should be used here. migration_policy = 'on-demand' self.admin_volumes_client.retype_volume( volume_id, new_type=new_volume_type,