+++ This bug was initially created as a clone of Bug #1968406 +++ Description of problem: In case we set bad json in install config override, error is not accurate enough. message: 'The Spec could not be synced due to an input error: invalid character ''{'' looking for beginning of object key string' It should explain that error is in install-config annotation Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from alazar on 20210607T12:41:00 *** Bug 1968405 has been marked as a duplicate of this bug. *** --- Additional comment from mfilanov on 20210608T13:35:22 we call a specific api to update the install config so in this case we can probably wrap the error and reply a more detailed error for the user, for example if the error is 4xx then we will wrap it. Need to check how to handle updateState without breaking the internal logic that check the error type. maybe add optional wrap message to the function.
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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:2438