Bug 2030567 - Operator installation fails to parse operatorframework.io/initialization-resource annotation
Summary: Operator installation fails to parse operatorframework.io/initialization-reso...
Keywords:
Status: CLOSED DUPLICATE of bug 2030568
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Christoph Stäbler
QA Contact: Aleksandra Malykhin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-09 07:35 UTC by Christoph Stäbler
Modified: 2021-12-09 08:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-09 08:13:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes-nmstate pull 238 0 None Merged Upstream: <carry>: Fix JSON error in initialization resource 2021-12-09 07:37:19 UTC

Description Christoph Stäbler 2021-12-09 07:35:25 UTC
Description of problem:
When installing the latest version of the operator for 4.10 (202112020013), the installation logs the following message to the browser console:

Could not parse annotation operatorframework.io/initialization-resource as JSON:  SyntaxError: Unexpected token } in JSON at position 99

In addition an empty message box (titled error) pops up and doesn't disappear until the page is fully reloaded.
Anyhow the operator gets installed, but without adding the initialization resource.


Version-Release number of selected component (if applicable):
OCP 4.10 nightly
Operator version: http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation-test/ose-kubernetes-nmstate-operator-bundle-container-v4.10.0.202112020013.p0.g0cb3be2.assembly.stream-1/a0e26e63-2ad6-4b76-9b9f-2b01b2cf6a3a/index_images.yml



How reproducible:
always


Steps to Reproduce:
1. start a 4.10 cluster
2. install the operator following https://hackmd.io/0vbbJdZ7RXem69vCWI61ug?view (with the the iib of 141080 in step 7)
3. Try to install the operator via the marketplace


Actual results:
* error message on browsers console
* nmstate init resource doesn't get installed
* error popup

Expected results:
* operator installs without errors and creates the init resource

Comment 1 Christoph Stäbler 2021-12-09 07:38:20 UTC
PR https://github.com/openshift/kubernetes-nmstate/pull/238 got merged. Waiting for ART build to verify it.

Comment 2 Christoph Stäbler 2021-12-09 08:13:15 UTC

*** This bug has been marked as a duplicate of bug 2030568 ***


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