Bug 2106935

Summary: kubernetes-nmstate-operator fails to install with error "no channel heads (entries not replaced by another entry) found in channel"
Product: OpenShift Container Platform Reporter: David Guthrie <dguthrie>
Component: NetworkingAssignee: Christoph Stäbler <cstabler>
Networking sub component: kubernetes-nmstate-operator QA Contact: Aleksandra Malykhin <amalykhi>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: alosingh, cstabler, roarora
Version: 4.10Flags: cstabler: needinfo-
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: powerpc   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:52:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2117223    

Comment 1 David Guthrie 2022-07-13 22:07:31 UTC
Description of problem:

The nmstate operator fails to install with error 

   "message": "no channel heads (entries not replaced by another entry) found in channel \"stable\" of package \"kubernetes-nmstate-operator\"",

Version-Release number of selected component (if applicable):

On a newly installed OCP 4.10.15 bare metal cluster

How reproducible:

Always. Deleting and reinstalling the operator does not correct the issue.

Steps to Reproduce:
1.Create the subscription and wait


apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  annotations:
  name: kubernetes-nmstate-operator
  namespace: openshift-nmstate
spec:
  channel: stable
  installPlanApproval: Automatic
  name: kubernetes-nmstate-operator
  source: redhat-operators
  sourceNamespace: openshift-marketplace
  startingCSV: kubernetes-nmstate-operator.4.10.0-202205311508

Actual results:

    type: CatalogSourcesUnhealthy
  - message: no channel heads (entries not replaced by another entry) found in channel
      "stable" of package "kubernetes-nmstate-operator"
    reason: ErrorPreventedResolution
    status: "True"
    type: ResolutionFailed

Expected results:

The operator installs correctly


Additional info:

Comment 2 David Guthrie 2022-07-20 22:38:21 UTC
Confusingly, the only issue the appears to happening in the operation of the cluster is that argocd shows degraded resource. It's possible this is masking more operationally significant problems, but we haven't found any other networking issues on the cluster since some version of the nmstate operator did install.  We are hoping to get a response before any other problems appear.

Comment 17 errata-xmlrpc 2023-01-17 19:52:40 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 (Moderate: OpenShift Container Platform 4.12.0 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-2022:7399