Bug 2089696 - CR reconciliation is stuck in daemonset lifecycle
Summary: CR reconciliation is stuck in daemonset lifecycle
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Special Resource Operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.11.0
Assignee: yevgeny shnaidman
QA Contact: Constantin Vultur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-24 09:19 UTC by Constantin Vultur
Modified: 2022-08-10 11:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:13:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift special-resource-operator pull 216 0 None open Bug 2089696: Fixing lifecycle availablity for DaemonSet 2022-05-25 06:57:52 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:13:54 UTC

Description Constantin Vultur 2022-05-24 09:19:58 UTC
Description of problem:
The daemonset lifecycle got stuck while deploying simple-kmod with the latest bundle

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

How reproducible:


Steps to Reproduce:
1. deploy SRO bundle from branch release-4.11
2. Create ns and configmap for simple-kmod
3. deploy simple-kmod

Actual results:
Deployment for simple-kmod errors out with error:

Status:
  Conditions:
    Last Transition Time:  2022-05-24T09:09:31Z
    Message:               
    Reason:                ErrorHasOccurred
    Status:                False
    Type:                  Progressing
    Last Transition Time:  2022-05-23T12:45:32Z
    Message:               
    Reason:                ErrorHasOccurred
    Status:                False
    Type:                  Ready
    Last Transition Time:  2022-05-24T09:09:31Z
    Message:               failed to deploy SpecialResource's chart: failed to reconcile SpecialResource /simple-kmod: cannot reconcile hardware states: failed to create state templates/1000-driver-container.yaml: failed to create resources from yaml for chart simple-kmod: failed to create object from YAML: failed to execute after crud for object simple-kmod/simple-kmod-driver-container-e383247e62b56585: failed to wait for resource, object simple-kmod/simple-kmod-driver-container-e383247e62b56585: waiting too long for resource DaemonSet simple-kmod/simple-kmod-driver-container-e383247e62b56585: lifecycle availability of the DaemonSet simple-kmod/simple-kmod-driver-container-e383247e62b56585 is not verified yet: old pod simple-kmod/simple-kmod-driver-container-e383247e62b56585-gvkrj is still running 
    Reason:                FailedToDeployChart
    Status:                True
    Type:                  Errored
  State:                   Errored: failed to deploy SpecialResource's chart: failed to reconcile SpecialResource /simple-kmod: cannot reconcile hardware states: failed to create state templates/1000-driver-container.yaml: failed to create resources from yaml for chart simple-kmod: failed to create object from YAML: failed to execute after crud for object simple-kmod/simple-kmod-driver-container-e383247e62b56585: failed to wait for resource, object simple-kmod/simple-kmod-driver-container-e383247e62b56585: waiting too long for resource DaemonSet simple-kmod/simple-kmod-driver-container-e383247e62b56585: lifecycle availability of the DaemonSet simple-kmod/simple-kmod-driver-container-e383247e62b56585 is not verified yet: old pod simple-kmod/simple-kmod-driver-container-e383247e62b56585-gvkrj is still running 
Events:                    <none>



Expected results:
deployment to succeed

Additional info:

Comment 2 Constantin Vultur 2022-06-10 11:56:44 UTC
With the latest bundle from release-4.11 and over a an intensive create/delete of multiple charts the 
"lifecycle availability of the DaemonSet" was not seen anymore.

Marking as Verified

Comment 4 errata-xmlrpc 2022-08-10 11:13: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 (Important: OpenShift Container Platform 4.11.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:5069


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