Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2063375

Summary: ptp operator upgrade from 4.9 to 4.10 stuck at pending due to service account requirements not met
Product: OpenShift Container Platform Reporter: yliu1
Component: NetworkingAssignee: Joseph Richard <josricha>
Networking sub component: ptp QA Contact: obochan <obochan>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: high CC: aputtur, keyoung, mcornea
Version: 4.10   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2068590 (view as bug list) Environment:
Last Closed: 2022-08-10 10:54:04 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: 2068590    

Description yliu1 2022-03-11 23:58:14 UTC
Description of problem:
Attempt to upgrade ptp operator from ptp-operator.4.9.0-202202211131 to ptp-operator.4.10.0-202203111548, 4.10 ptp csv get stuck at pending due to following requirements not met:

  message: one or more requirements couldn't be found
  phase: Pending
  reason: RequirementsNotMet
  requirementStatus:
....
  - group: ""
    kind: ServiceAccount
    message: Service account is owned by another ClusterServiceVersion
    name: linuxptp-daemon
    status: PresentNotSatisfied
    version: v1
  - group: ""
    kind: ServiceAccount
    message: Service account is owned by another ClusterServiceVersion
    name: ptp-operator
    status: PresentNotSatisfied
    version: v1
 

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

How reproducible:
100%

Steps to Reproduce:
1. Upgrade 4.9 operators to 4.10 (ptp, sriov, logging, local-storage, pao)
2. Check csv status
3.

Actual results:
ptp operator upgrade get stuck due to service account requirements not met

[kni@provisionhost-0-0 ~]$ oc get csv -n openshift-ptp 
NAME                                 DISPLAY                      VERSION               REPLACES                            PHASE
performance-addon-operator.v4.10.1   Performance Addon Operator   4.10.1                performance-addon-operator.v4.9.6   Succeeded
ptp-operator.4.10.0-202203111548     PTP Operator                 4.10.0-202203111548   ptp-operator.4.9.0-202202211131     Pending
ptp-operator.4.9.0-202202211131      PTP Operator                 4.9.0-202202211131                                        Replacing


Expected results:
All operators upgraded successfully


Additional info:
Happened on multiple clusters (virtual, BM, ipv4, ipv6)

Comment 2 Joseph Richard 2022-03-16 00:37:32 UTC
I suspect this is because of extra files in the bundle in 4.10 and master. I'm looking at removing those files now.

Comment 4 Joseph Richard 2022-03-24 23:07:14 UTC
One bug fix went in making change to bundle.  Still needs more designer testing before sending over to QA.

Comment 5 Joseph Richard 2022-03-25 18:14:50 UTC
Upgrade testing looked good.  Ready for QA and back-porting.

Comment 6 obochan 2022-03-27 07:01:06 UTC
moved to verified for merging the fix for 4.10

Comment 8 errata-xmlrpc 2022-08-10 10:54:04 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