Bug 2102344

Summary: [SSO] sso operator cannot be upgraded from 1.0.0 to 1.0.1 or 1.1
Product: OpenShift Container Platform Reporter: RamaKasturi <knarra>
Component: kube-schedulerAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.10CC: mfojtik
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:50:54 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:

Description RamaKasturi 2022-06-29 18:12:30 UTC
Description of problem:
When trying to upgrade sso operator from 1.0.0 to 1.0.1 i see that nothing happens with respect to upgrade. The reason i see it does not happen is because of no skipVersion being present in the csv of the operator

[knarra@knarra ~]$ oc describe csv secondaryscheduleroperator.v1.0.0 -n openshift-secondary-scheduler-operator
Name:         secondaryscheduleroperator.v1.0.0
Namespace:    openshift-secondary-scheduler-operator
Labels:       operators.coreos.com/openshift-secondary-scheduler-operator.openshift-secondary-sche=
Annotations:  alm-examples:
                [
                  {
                    "apiVersion": "operator.openshift.io/v1",
                    "kind": "SecondaryScheduler",
                    "metadata": {
                      "name": "cluster",
                      "namespace": "openshift-secondary-scheduler-operator"
                    },
                    "spec": {
                      "managementState": "Managed",
                      "schedulerConfig": "secondary-scheduler-config"
                    }
                  }
                ]
              capabilities: Basic Install
              categories: OpenShift Optional
              certified: false
              containerImage:
                registry.redhat.io/openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8@sha256:cdb403a1ca9c73a3a1d5ae4fb4773b283603ff...
              createdAt: 2021/07/22
              description: Runs a secondary scheduler in an OpenShift cluster.
              olm.operatorGroup: openshift-secondary-scheduler-operator-m45vl
              olm.operatorNamespace: openshift-secondary-scheduler-operator
              olm.targetNamespaces: openshift-secondary-scheduler-operator
              operatorframework.io/properties:
                {"properties":[{"type":"olm.gvk","value":{"group":"operator.openshift.io","kind":"SecondaryScheduler","version":"v1"}},{"type":"olm.packag...
              operators.openshift.io/valid-subscription: ["OpenShift Kubernetes Engine", "OpenShift Container Platform", "OpenShift Platform Plus"]
              repository: https://github.com/openshift/secondary-scheduler-operator
              support: Red Hat, Inc.
API Version:  operators.coreos.com/v1alpha1
Kind:         ClusterServiceVersion
Metadata:
  Creation Timestamp:  2022-06-29T13:44:59Z
  Generation:          1
  Managed Fields:
    API Version:  operators.coreos.com/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:alm-examples:
          f:capabilities:
          f:categories:
          f:certified:
          f:containerImage:
          f:createdAt:
          f:description:
          f:operatorframework.io/properties:
          f:operators.openshift.io/valid-subscription:
          f:repository:
          f:support:
      f:spec:
        .:
        f:apiservicedefinitions:
        f:cleanup:
          .:
          f:enabled:
        f:customresourcedefinitions:
          .:
          f:owned:
        f:description:
        f:displayName:
        f:icon:
        f:install:
          .:
          f:spec:
            .:
            f:clusterPermissions:
            f:deployments:
          f:strategy:
        f:installModes:
        f:keywords:
        f:labels:
          .:
          f:olm-owner-enterprise-app:
          f:olm-status-descriptors:
        f:links:
        f:maintainers:
        f:maturity:
        f:minKubeVersion:
        f:provider:
          .:
          f:name:
        f:relatedImages:
        f:version:
    Manager:      catalog
    Operation:    Update
    Time:         2022-06-29T13:44:59Z
    API Version:  operators.coreos.com/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:status:
        .:
        f:cleanup:
        f:conditions:
        f:lastTransitionTime:
        f:lastUpdateTime:
        f:message:
        f:phase:
        f:reason:
        f:requirementStatus:
    Manager:      olm
    Operation:    Update
    Subresource:  status
    Time:         2022-06-29T13:44:59Z
    API Version:  operators.coreos.com/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          f:olm.operatorGroup:
          f:olm.operatorNamespace:
          f:olm.targetNamespaces:
        f:labels:
          .:
          f:operators.coreos.com/openshift-secondary-scheduler-operator.openshift-secondary-sche:
    Manager:         olm
    Operation:       Update
    Time:            2022-06-29T13:45:00Z
  Resource Version:  102626
  UID:               ec7d29ec-600e-4a56-9583-eebc47c4eeb2
Spec:
  Apiservicedefinitions:
  Cleanup:
    Enabled:  false
  Customresourcedefinitions:
    Owned:
      Description:   SecondaryScheduler is the schema for the secondaryschedulers API
      Display Name:  Secondary Scheduler
      Kind:          SecondaryScheduler
      Name:          secondaryschedulers.operator.openshift.io
      Version:       v1
  Description:       The Secondary Scheduler Operator provides the ability to use a customized scheduler image that was developed using the scheduler plugin framework as a secondary scheduler in OpenShift.

## Secondary Scheduler Configuration

Once the Secondary Scheduler Operator is installed, you can configure the plugins to run for your secondary scheduler.

The configuration of the secondary scheduler is defined through a config map that wraps the KubeSchedulerConfiguration YAML file in "config.yaml".

## Additional Parameters

Additionally, the following parameters can be configured:

* `schedulerConfig` - Set the config map configuration for the secondary scheduler.
* `schedulerImage` - Set the default operand image for the secondary scheduler.

  Display Name:  Secondary Scheduler Operator for Red Hat OpenShift
  Icon:
    base64data:  iVBORw0KGgoAAAANSUhEUgAAAJIAAACSCAYAAACue5OOAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAkqADAAQAAAABAAAAkgAAAACRw8kvAAAoEklEQVR4Ae1dB1zU5Rv/HsexQUBAUWS4R2q5Z5qjrJxp5v4X5Spny5FlaZmaqdlw5MqVDUstTS1HllszF+bGCQ6GAsrm/zzvj9+P4zjuDu6Au8Pn4/Eb7/i97/M+vuOZqiwCPISHGDATAw5mln9Y/CEGBAYcH+LBMAbi4uIQEXEKpyMiEHE6ApGXLiE+Po5+8fS7i+TkB3BxcaWfM/1c4OXlheDgEISEhiIkJBRVqlR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++eJ98gfMJ0B7AbgiJB4P1fL5dsxpz587GVTp1GYMKAe5oXj8Udav7o1qQO5lmq+FBrmw06nQ4OmTQDJZG9h20J6K/mSpnydYtk23dHBCbkCm8uf13KR5HIm7g0ImrYGenhoCXsaee6oRx4ycSv6i2oaw2l2ZXhCRjn3WF+Ai/hojqt82bxPInp5XElRXt+vTph779+okjfkm0oai/aZeEpI20uLg4rFv3I3bu3I79+/YjISFH3VU7n6Xvq1StilYtW6NL164iNoql67e2+uyekLQRzmZDJ04cx549f+PA/v04f/68sADhDbs5wA7hw8IqkwvAuuSjsiVatGhplmWKOW0pqbKlipD0IZmXwWvXrpGN2kVhq3b33l1hu5aUKNuxJQmHXLKdm2zzxkH9wipXFgTEcU9KO5R6QirtBGCp/tuc0NZSHX9Yj2Ux8H+wGc0MXDg3PgAAAABJRU5ErkJggg==
    Mediatype:   image/png
  Install:
    Spec:
      Cluster Permissions:
        Rules:
          API Groups:
            operator.openshift.io
          Resources:
            secondaryschedulers
            secondaryschedulers/status
          Verbs:
            *
          API Groups:
            
          Resources:
            serviceaccounts
            configmaps
            events
          Verbs:
            *
          API Groups:
            rbac.authorization.k8s.io
          Resources:
            clusterrolebindings
          Verbs:
            *
          API Groups:
            apps
          Resources:
            deployments
          Verbs:
            *
        Service Account Name:  secondary-scheduler-operator
      Deployments:
        Name:  secondary-scheduler-operator
        Spec:
          Replicas:  1
          Selector:
            Match Labels:
              Name:  secondary-scheduler-operator
          Strategy:
          Template:
            Metadata:
              Creation Timestamp:  <nil>
              Labels:
                Name:  secondary-scheduler-operator
            Spec:
              Containers:
                Args:
                  operator
                Command:
                  secondary-scheduler-operator
                Env:
                  Name:  WATCH_NAMESPACE
                  Value From:
                    Field Ref:
                      Field Path:   metadata.namespace
                  Name:             OPERATOR_NAME
                  Value:            secondary-scheduler-operator
                Image:              registry.redhat.io/openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8@sha256:cdb403a1ca9c73a3a1d5ae4fb4773b283603ff1d8a0f08d3009291f07480ecf6
                Image Pull Policy:  Always
                Name:               secondary-scheduler-operator
                Ports:
                  Container Port:  60000
                  Name:            metrics
                  Protocol:        TCP
                Resources:
                  Requests:
                    Cpu:             10m
                    Memory:          50Mi
              Service Account:       openshift-secondary-scheduler-operator
              Service Account Name:  secondary-scheduler-operator
    Strategy:                        deployment
  Install Modes:
    Supported:  true
    Type:       OwnNamespace
    Supported:  true
    Type:       SingleNamespace
    Supported:  false
    Type:       MultiNamespace
    Supported:  false
    Type:       AllNamespaces
  Keywords:
    secondary
    scheduling
    workload
  Labels:
    Olm - Owner - Enterprise - App:  secondary-scheduler-operator
    Olm - Status - Descriptors:      secondary-scheduler-operator.v1.0.0
  Links:
    Name:  Source Code
    URL:   https://github.com/openshift/secondary-scheduler-operator
  Maintainers:
    Email:           support
    Name:            Red Hat
  Maturity:          beta
  Min Kube Version:  1.20.10
  Provider:
    Name:  Red Hat, Inc.
  Related Images:
    Image:  registry.redhat.io/openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8@sha256:cdb403a1ca9c73a3a1d5ae4fb4773b283603ff1d8a0f08d3009291f07480ecf6
    Name:   secondary-scheduler-operator-rhel8-cdb403a1ca9c73a3a1d5ae4fb4773b283603ff1d8a0f08d3009291f07480ecf6-annotation
    Image:  registry.redhat.io/openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8@sha256:cdb403a1ca9c73a3a1d5ae4fb4773b283603ff1d8a0f08d3009291f07480ecf6
    Name:   secondary-scheduler-operator
  Version:  1.0.0
Status:
  Cleanup:
  Conditions:
    Last Transition Time:  2022-06-29T13:44:59Z
    Last Update Time:      2022-06-29T13:44:59Z
    Message:               requirements not yet checked
    Phase:                 Pending
    Reason:                RequirementsUnknown
    Last Transition Time:  2022-06-29T13:44:59Z
    Last Update Time:      2022-06-29T13:44:59Z
    Message:               all requirements found, attempting install
    Phase:                 InstallReady
    Reason:                AllRequirementsMet
    Last Transition Time:  2022-06-29T13:45:00Z
    Last Update Time:      2022-06-29T13:45:00Z
    Message:               waiting for install components to report healthy
    Phase:                 Installing
    Reason:                InstallSucceeded
    Last Transition Time:  2022-06-29T13:45:00Z
    Last Update Time:      2022-06-29T13:45:00Z
    Message:               installing: waiting for deployment secondary-scheduler-operator to become ready: waiting for spec update of deployment "secondary-scheduler-operator" to be observed...
    Phase:                 Installing
    Reason:                InstallWaiting
    Last Transition Time:  2022-06-29T13:45:09Z
    Last Update Time:      2022-06-29T13:45:09Z
    Message:               install strategy completed with no errors
    Phase:                 Succeeded
    Reason:                InstallSucceeded
  Last Transition Time:    2022-06-29T13:45:09Z
  Last Update Time:        2022-06-29T13:45:09Z
  Message:                 install strategy completed with no errors
  Phase:                   Succeeded
  Reason:                  InstallSucceeded
  Requirement Status:
    Group:    operators.coreos.com
    Kind:     ClusterServiceVersion
    Message:  CSV minKubeVersion (1.20.10) less than server version (v1.23.3+e419edf)
    Name:     secondaryscheduleroperator.v1.0.0
    Status:   Present
    Version:  v1alpha1
    Group:    apiextensions.k8s.io
    Kind:     CustomResourceDefinition
    Message:  CRD is present and Established condition is true
    Name:     secondaryschedulers.operator.openshift.io
    Status:   Present
    Uuid:     f190fc6c-74e9-40e5-85c8-225fb17e8957
    Version:  v1
    Dependents:
      Group:    rbac.authorization.k8s.io
      Kind:     PolicyRule
      Message:  cluster rule:{"verbs":["*"],"apiGroups":["operator.openshift.io"],"resources":["secondaryschedulers","secondaryschedulers/status"]}
      Status:   Satisfied
      Version:  v1
      Group:    rbac.authorization.k8s.io
      Kind:     PolicyRule
      Message:  cluster rule:{"verbs":["*"],"apiGroups":[""],"resources":["serviceaccounts","configmaps","events"]}
      Status:   Satisfied
      Version:  v1
      Group:    rbac.authorization.k8s.io
      Kind:     PolicyRule
      Message:  cluster rule:{"verbs":["*"],"apiGroups":["rbac.authorization.k8s.io"],"resources":["clusterrolebindings"]}
      Status:   Satisfied
      Version:  v1
      Group:    rbac.authorization.k8s.io
      Kind:     PolicyRule
      Message:  cluster rule:{"verbs":["*"],"apiGroups":["apps"],"resources":["deployments"]}
      Status:   Satisfied
      Version:  v1
    Group:      
    Kind:       ServiceAccount
    Message:    
    Name:       secondary-scheduler-operator
    Status:     Present
    Version:    v1
Events:         <none>


Version-Release number of selected component (if applicable):
secondaryscheduleroperator.v1.0.0

How reproducible:
Always

Steps to Reproduce:
1. Install SSO 1.0.0
2. Now edit the subscription and set the source to qe-app-registry to get the latest image
3.

Actual results:
i do not see any upgrade actually taking place


Expected results:
upgrade should work fine from 1.0.0 to 1.0.1 & 1.1

Additional info:
Just compared SSO operator csv with descheduler operator csv and i see that the param which is missing for sso is skipVersion and hope that should be the cause for upgrade not happening.

Comment 2 RamaKasturi 2022-07-07 16:36:26 UTC
Verified bug with the latest SSO operator and i could successfully upgrade from 1.0.0 to 1.0.1.

[knarra@knarra Openshift]$ oc get csv -n openshift-secondary-scheduler-operator
NAME                                DISPLAY                                              VERSION   REPLACES   PHASE
elasticsearch-operator.5.4.2        OpenShift Elasticsearch Operator                     5.4.2                Succeeded
secondaryscheduleroperator.v1.0.0   Secondary Scheduler Operator for Red Hat OpenShift   1.0.0                Succeeded
[knarra@knarra Openshift]$ #oc edit subscription 
[knarra@knarra Openshift]$ oc get subscription -n openshift-secondary-scheduler-operator
NAME                                     PACKAGE                                  SOURCE             CHANNEL
openshift-secondary-scheduler-operator   openshift-secondary-scheduler-operator   redhat-operators   stable
[knarra@knarra Openshift]$ oc edit subscription openshift-secondary-scheduler-operator -n openshift-secondary-scheduler-operator
subscription.operators.coreos.com/openshift-secondary-scheduler-operator edited
[knarra@knarra Openshift]$ oc get ip -n openshift-secondary-scheduler-operator
NAME            CSV                                 APPROVAL    APPROVED
install-j2q6g   secondaryscheduleroperator.v1.0.0   Automatic   true
install-nl5w5   secondaryscheduleroperator.v1.0.1   Automatic   true
install-xf7pz   secondaryscheduleroperator.v1.0.0   Automatic   true
[knarra@knarra Openshift]$ oc get ip -n openshift-secondary-scheduler-operator
NAME            CSV                                 APPROVAL    APPROVED
install-j2q6g   secondaryscheduleroperator.v1.0.0   Automatic   true
install-nl5w5   secondaryscheduleroperator.v1.0.1   Automatic   true
install-xf7pz   secondaryscheduleroperator.v1.0.0   Automatic   true
[knarra@knarra Openshift]$ oc get csv -n openshift-secondary-scheduler-operator
NAME                                DISPLAY                                              VERSION   REPLACES                            PHASE
elasticsearch-operator.5.4.2        OpenShift Elasticsearch Operator                     5.4.2                                         Succeeded
secondaryscheduleroperator.v1.0.1   Secondary Scheduler Operator for Red Hat OpenShift   1.0.1     secondaryscheduleroperator.v1.0.0   Succeeded

 Also see skipRange is set: olm.skipRange: '>=1.0.0 <1.0.1'

Based on the above moving bug to verified state.

Comment 5 errata-xmlrpc 2023-01-17 19:50:54 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