At this moment, only image_ssh_user is present in the config
of Tempest. It's set to cirros by default and used for
SSH connections in tests. However, several tests build
instances with image_ref_alt, but still use image_ssh_user to
connect, which results in failure if image_ref_alt is set to
a non-cirros image. They should use image_alt_ssh_user instead,
which can be set to whichever user the image_ref_alt needs in
either local.conf or during plugin installation.
Reviewed: https:/ /review. opendev. org/682902 /git.openstack. org/cgit/ openstack/ devstack/ commit/ ?id=d7d87b02022 12e21727f6ced4a 1eaa38a66808dd
Committed: https:/
Submitter: Zuul
Branch: master
commit d7d87b0202212e2 1727f6ced4a1eaa 38a66808dd
Author: Weronika Sikora <email address hidden>
Date: Wed Sep 18 13:45:53 2019 +0000
Set image_alt_ssh_user during stack
At this moment, only image_ssh_user is present in the config
of Tempest. It's set to cirros by default and used for
SSH connections in tests. However, several tests build
instances with image_ref_alt, but still use image_ssh_user to
connect, which results in failure if image_ref_alt is set to
a non-cirros image. They should use image_alt_ssh_user instead,
which can be set to whichever user the image_ref_alt needs in
either local.conf or during plugin installation.
Change-Id: I899909fb71a986 2c891e94ba54c6a 8fa137f9769
Partial-Bug: #1844535