Bug #1968014 “Install atop tasks consistently fail on hosts usin…” : Bugs : tripleo

The atop package is meant to be installed during the undercloud setup
for diagnostic purposes. Unfortunately it is not available in Centos8 Stream
or Centos 9[0] which are used as OS by many of our CI jobs.

The package is also not present in package manifests for RHEL 8[1] and RHEL7[2].

Taken together, this makes the task installing the package consistently fail.

While the failure is ignored, the task does query the package manager,
and the output pollutes the logs. Both with no benefit to the deployment itself
or to the operator.

Logs:
—–
https://zuul.opendev.org/t/openstack/build/a8e8cf7c5c0a4462914091b943a220c7

Trace:
——
2022-03-30 19:14:23.417402 | primary | TASK [undercloud-setup : Install atop from RDO build-deps repo when configured so (CentOS >= 8)] ***
2022-03-30 19:14:23.417496 | primary | Wednesday 30 March 2022 19:14:23 +0000 (0:00:00.052) 0:02:04.962 *******
2022-03-30 19:14:25.760139 | primary | fatal: [undercloud]: FAILED! => {“changed”: false, “failures”: [“No package atop available.”], “msg”: “Failed to install some of the specified packages”, “rc”: 1, “results”: []}
2022-03-30 19:14:25.760195 | primary | …ignoring
2022-03-30 19:14:25.768665 | primary |

[0] https://pkgs.org/search/?q=atop
[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/package_manifest/index
[2] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/package_manifest/index

Read more here: Source link