]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
fog: suggest image names 1789/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 1 Sep 2022 21:50:47 +0000 (17:50 -0400)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 2 Sep 2022 14:03:45 +0000 (10:03 -0400)
commit8cfbf21b7caf9985c51db708ae4efa9413f424ce
tree6ba24f3d5fb8579b1f344c6bce6c112c4e452465
parentb58f2c18636eb10faa77ed3614abd00cb85dfc2c
fog: suggest image names

Improve the error message when the user specifies a missing OS version
for a machine type.

Old error message:

  RuntimeError: Could not find an image for rhel 7.9

New error message:

  RuntimeError: Fog has no cali_rhel_7.9 image.
                Available cali images: ['cali_rhel_8.6', 'cali_rhel_9.0']
teuthology/provision/fog.py
teuthology/provision/test/test_fog.py