Merge "Remove deprecated scenario image option"

This commit is contained in:
Zuul 2020-08-17 13:07:18 +00:00 committed by Gerrit Code Review
commit 0546a91d6a
2 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
Remove ``CONF.scenario.img_dir`` option as it is being removed from
Tempest after ~4 year deprecation period.
``CONF.scenario.img_file`` option needs to contain the full path to an
image to upload to glance.

View File

@ -128,8 +128,7 @@ lock_path = {{ tempest_venv_bin | dirname }}/locks
[scenario]
img_dir = {{ tempest_image_dir }}
img_file = {{ tempest_images[0]['url'] | basename }}
img_file = {{ tempest_image_dir }}/{{ tempest_images[0]['url'] | basename }}
img_container_format = bare
img_disk_format = {{ tempest_images[0]['format'] }}