Description of problem: siteconfig-post job fails when adding a new site Version-Release number of selected component (if applicable): 4.8.15 How reproducible: 100% Steps to Reproduce: 1. Ad a new site with: http://registry.kni-qe-0.lab.eng.rdu2.redhat.com:3000/kni-qe/ztp-site-configs/commit/647e1e13a25fb887b6c28cd03b0c299284a9b621 2.Check clusters application Actual results: The ClusterDeployment "kni-qe-1" is invalid: spec.installed: Invalid value: false: cannot make uninstalled once installed kni-qe-1 is the already existing cluster. Expected results: No failures and deployment of the new cluster is triggered without errors. Additional info: Attaching the log
Created attachment 1833489 [details] ztp-site-generator.txt
After triggering another sync manually the job reports no errors and the cluster deployment was triggered.
Fixed in PR 720
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 (OpenShift Container Platform 4.9.15 bug fix 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/RHBA-2022:0110