Bug 2063375 - ptp operator upgrade from 4.9 to 4.10 stuck at pending due to service account requirements not met
Summary: ptp operator upgrade from 4.9 to 4.10 stuck at pending due to service account...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 4.11.0
Assignee: Joseph Richard
QA Contact: obochan
URL:
Whiteboard:
Depends On:
Blocks: 2068590
TreeView+ depends on / blocked
 
Reported: 2022-03-11 23:58 UTC by yliu1
Modified: 2022-08-10 10:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2068590 (view as bug list)
Environment:
Last Closed: 2022-08-10 10:54:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ptp-operator pull 179 0 None open Bug 2063375: Fixup bundle 2022-03-24 14:43:11 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:54:22 UTC

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


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