Bug 2014618 - siteconfig-post job fails when adding a new site: ClusterDeployment is invalid: spec.installed: Invalid value: false:
Summary: siteconfig-post job fails when adding a new site: ClusterDeployment is invali...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.9.0
Assignee: Ian Miller
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-15 15:56 UTC by Marius Cornea
Modified: 2022-01-17 08:07 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-17 08:07:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ztp-site-generator.txt (22.69 KB, text/plain)
2021-10-15 15:58 UTC, Marius Cornea
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift-kni cnf-features-deploy pull 720 0 None Merged ztp: fixes issue when adding more clusters to a siteconfig 2022-01-06 18:17:26 UTC
Red Hat Product Errata RHBA-2022:0110 0 None None None 2022-01-17 08:07:49 UTC

Description Marius Cornea 2021-10-15 15:56:16 UTC
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

Comment 1 Marius Cornea 2021-10-15 15:58:21 UTC
Created attachment 1833489 [details]
ztp-site-generator.txt

Comment 2 Marius Cornea 2021-10-15 16:01:34 UTC
After triggering another sync manually the job reports no errors and the cluster deployment was triggered.

Comment 3 Marius Cornea 2021-10-15 16:01:39 UTC
After triggering another sync manually the job reports no errors and the cluster deployment was triggered.

Comment 4 Ian Miller 2022-01-06 18:17:26 UTC
Fixed in PR 720

Comment 8 errata-xmlrpc 2022-01-17 08:07:31 UTC
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


Note You need to log in before you can comment on or make changes to this bug.