#129 CentOS Stream 9 image is too old
Closed: Fixed by frantisekz. Opened by ksrot.

The image has low value for testing since the first thing one has to do is update >150 packages. It would be nice to make it more up-to-date since RHEL-9.0 has been released in the meantime.
E.g. it contains bash-5.1.8-2.el9 from 2021-08-09 while the latest build is bash-5.1.8-4.el9 from 2021-11-05. This is unpleasant also due to a fact that old builds have wrong IMA signatures.


@frantisekz any idea?

Its taken from https://pagure.io/testcloud/blob/master/f/testcloud/config.py (hardcoded url)

I've bumped up the images in https://pagure.io/testcloud/c/4cd97665bd948c3d818a30d61bfb7b9fd9e33234?branch=master ; don't you know if there is API-friendly way to query the latest stream images?

I am planning to do a minor testcloud release early next week if that works for you. If this is urgent change, I can do one today.

Thank you Frantisek.
It is not urgent.

@frantisekz How about scrapping link from https://cloud.centos.org/centos/9-stream/x86_64/images/ and finding latest qcow2 there matching ?
With fallback for hardcoded value in the case site structure is changed.

Among lines of
sorted(re.findall(r'CentOS-Stream-GenericCloud-9-[0-9.]+\.x86_64\.qcow2', requests.get('https://cloud.centos.org/centos/9-stream/x86_64/images/').text))[-1]

Commit 80ea9fbd fixes this issue

Metadata