several tests fail when image_ref_alt is set to non-cirros image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Medium
|
Weronika Sikora | ||
tempest |
Fix Released
|
Medium
|
Weronika Sikora |
Bug Description
Devstack allows uploading guest images during the stacking process. The user might choose to upload both cirros and a different OS (ie. xenial) with DOWNLOAD_
That would result in failures of a few tests that use image_ref_alt, namely:
tempest.
tempest.
tempest.
The tests throw an tempest.
I propose a change that sets a new variable, image_alt_ssh_user, in tempest.conf during the stacking process and replaces uses of image_ssh_user with image_alt_ssh_user in those tests that require it. That way, if the user chooses to upload non-cirros guest images, they can also set this variable in local.conf to an appropriate username to avoid breaking tests. The default value would be set to cirros to avoid breaking the tests in any other scenario.
The steps to reproduce the issue:
Set DOWNLOAD_
Set IMAGE_URLS to a cirros image and IMAGE_URLS+= to non-cirros image, ie. xenial-
Run tempest tests
The aforementioned tests would fail with tempest.
summary: |
- several tests fail with image_ref_alt set to non-cirros image + several tests fail when image_ref_alt is set to non-cirros image |
description: | updated |
Changed in devstack: | |
assignee: | nobody → Weronika Sikora (shushuda) |
Changed in tempest: | |
assignee: | nobody → Weronika Sikora (shushuda) |
Changed in tempest: | |
importance: | Undecided → Medium |
Changed in devstack: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/682902
Review: https:/