Description of problem: When an error happens in the InfraEnv controller loop, for example a non existing pull secret, the error in the conditions shows : 'Failed to create image: internal error' without the error message from the underlying error. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create an InfraEnv CR with a wrong pull secret name 2. Check InfraEnv conditions. Actual results: conditions: - lastTransitionTime: "2021-09-30T07:20:31Z" message: 'Failed to create image: internal error' reason: ImageCreationError status: "False" type: ImageCreated Expected results: conditions: - lastTransitionTime: "2021-09-30T07:20:31Z" message: 'Failed to create image: internal error: failed to get secret assisted-installer/pull-secret-nope from API: secrets "pull-secret-nope" not found"' reason: ImageCreationError status: "False" type: ImageCreated Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat Advanced Cluster Management 2.4 images and security updates), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4618