Bug 1854417 - service-catalog-apiserver and service-catalog-controller-manager are not upgrading to the newest version.
Summary: service-catalog-apiserver and service-catalog-controller-manager are not upgr...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Catalog
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jesus M. Rodriguez
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On: 1854412
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-07 13:02 UTC by Simon
Modified: 2020-07-07 15:54 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-07 15:54:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Simon 2020-07-07 13:02:59 UTC
Description of problem:
During upgrade 4.3.28 -> 4.4.11 -> 4.5.0-rc.6
service-catalog-apiserver and service-catalog-controller-manager are still 4.4.11 version


Version-Release number of selected component (if applicable):
4.5.0-rc.6

How reproducible:
so one try on AWS


Steps to Reproduce:
1. Create IPI AWS cluster with OCP 4.3.28:

install-config.yaml:
---
apiVersion: v1
controlPlane:
  hyperthreading: Enabled
  name: master
  platform: {}
  replicas: 3
compute:
- hyperthreading: Enabled
  name: worker
  platform: {}
  replicas: 3
metadata:
  name: skrodas-ipi76
platform:
  aws:
    region: us-east-2
pullSecret: HIDDEN
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  serviceNetwork:
  - 172.30.0.0/16
  machineCIDR: 10.0.0.0/16
  networkType: OpenShiftSDN
publish: External
baseDomain: qe.devcluster.openshift.com
sshKey: SSH-KEY

2. Upgrade to 4.4.11 and then to 4.5.0-rc.6

oc patch clusterversion/version --patch '{"spec":{"channel": "stable-4","upstream":"https://openshift-release.svc.ci.openshift.org/graph"}}' --type=merge
oc adm upgrade --to-image=quay.io/openshift-release-dev/ocp-release:4.4.11-x86_64 --allow-explicit-upgrade --force
# when success then:

oc adm upgrade --to-image=quay.io/openshift-release-dev/ocp-release:4.5.0-rc.6-x86_64 --allow-explicit-upgrade --force
3.

Actual results:
$ oc get clusterversions.config.openshift.io
NAME      VERSION      AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-rc.6   True        False         14h     Cluster version is 4.5.0-rc.6

$ oc get co
NAME                                       VERSION      AVAILABLE   PROGRESSING   DEGRADED   SINCE
authentication                             4.5.0-rc.6   True        False         False      17h
cloud-credential                           4.5.0-rc.6   True        False         False      18h
cluster-autoscaler                         4.5.0-rc.6   True        False         False      18h
config-operator                            4.5.0-rc.6   True        False         False      15h
console                                    4.5.0-rc.6   True        False         False      14h
csi-snapshot-controller                    4.5.0-rc.6   True        False         False      14h
dns                                        4.5.0-rc.6   True        False         False      18h
etcd                                       4.5.0-rc.6   True        False         False      17h
image-registry                             4.5.0-rc.6   True        False         False      18h
ingress                                    4.5.0-rc.6   True        False         False      16h
insights                                   4.5.0-rc.6   True        False         False      18h
kube-apiserver                             4.5.0-rc.6   True        False         False      18h
kube-controller-manager                    4.5.0-rc.6   True        False         False      17h
kube-scheduler                             4.5.0-rc.6   True        False         False      17h
kube-storage-version-migrator              4.5.0-rc.6   True        False         False      14h
machine-api                                4.5.0-rc.6   True        False         False      18h
machine-approver                           4.5.0-rc.6   True        False         False      15h
machine-config                             4.5.0-rc.6   True        False         False      18h
marketplace                                4.5.0-rc.6   True        False         False      14h
monitoring                                 4.5.0-rc.6   True        False         False      14h
network                                    4.5.0-rc.6   True        False         False      18h
node-tuning                                4.5.0-rc.6   True        False         False      15h
openshift-apiserver                        4.5.0-rc.6   True        False         False      16h
openshift-controller-manager               4.5.0-rc.6   True        False         False      17h
openshift-samples                          4.5.0-rc.6   True        False         False      15h
operator-lifecycle-manager                 4.5.0-rc.6   True        False         False      18h
operator-lifecycle-manager-catalog         4.5.0-rc.6   True        False         False      18h
operator-lifecycle-manager-packageserver   4.5.0-rc.6   True        False         False      14h
service-ca                                 4.5.0-rc.6   True        False         False      18h
service-catalog-apiserver                  4.4.11       True        False         False      18h
service-catalog-controller-manager         4.4.11       True        False         False      18h
storage                                    4.5.0-rc.6   True        False         False      15h

$ oc describe co service-catalog-apiserver
Name:         service-catalog-apiserver
Namespace:
Labels:       <none>
Annotations:  <none>
API Version:  config.openshift.io/v1
Kind:         ClusterOperator
Metadata:
  Creation Timestamp:  2020-07-06T18:06:58Z
  Generation:          1
  Resource Version:    38533
  Self Link:           /apis/config.openshift.io/v1/clusteroperators/service-catalog-apiserver
  UID:                 62cf6f88-caf0-421a-a1f1-89e59bae42ad
Spec:
Status:
  Conditions:
    Last Transition Time:  2020-07-06T18:06:59Z
    Reason:                AsExpected
    Status:                False
    Type:                  Degraded
    Last Transition Time:  2020-07-06T18:06:59Z
    Reason:                AsExpected
    Status:                False
    Type:                  Progressing
    Last Transition Time:  2020-07-06T18:06:59Z
    Message:               Available: the apiserver is in the desired state (Removed).
    Reason:                AsExpected
    Status:                True
    Type:                  Available
    Last Transition Time:  2020-07-06T18:06:59Z
    Message:               Upgradeable: the apiserver is in a removed state, upgrades are possible.
    Reason:                AsExpected
    Status:                True
    Type:                  Upgradeable
  Extension:               <nil>
  Related Objects:
    Group:
    Name:      openshift-config
    Resource:  namespaces
    Group:
    Name:      openshift-config-managed
    Resource:  namespaces
    Group:
    Name:      openshift-service-catalog-apiserver-operator
    Resource:  namespaces
    Group:
    Name:      openshift-service-catalog-apiserver
    Resource:  namespaces
    Group:     apiregistration.k8s.io
    Name:      v1beta1.servicecatalog.k8s.io
    Resource:  apiservices
  Versions:
    Name:     operator
    Version:  4.4.11
Events:       <none>

$ oc describe co service-catalog-controller-manager
Name:         service-catalog-controller-manager
Namespace:
Labels:       <none>
Annotations:  <none>
API Version:  config.openshift.io/v1
Kind:         ClusterOperator
Metadata:
  Creation Timestamp:  2020-07-06T18:06:55Z
  Generation:          1
  Resource Version:    38306
  Self Link:           /apis/config.openshift.io/v1/clusteroperators/service-catalog-controller-manager
  UID:                 2d21ea60-969d-49cf-bfcd-b0b94ce22d64
Spec:
Status:
  Conditions:
    Last Transition Time:  2020-07-06T18:06:55Z
    Reason:                AsExpected
    Status:                False
    Type:                  Degraded
    Last Transition Time:  2020-07-06T18:06:55Z
    Message:               Progressing: the controller manager is in a removed state, therefore no changes are being applied.
    Reason:                AsExpected
    Status:                False
    Type:                  Progressing
    Last Transition Time:  2020-07-06T18:06:55Z
    Message:               Available: the controller manager is not initially installed, operator is available, switch to Managed to enable.
    Reason:                AsExpected
    Status:                True
    Type:                  Available
    Last Transition Time:  2020-07-06T18:06:55Z
    Message:               Upgradeable: the controller manager is in a removed state, upgrades are possible.
    Reason:                AsExpected
    Status:                True
    Type:                  Upgradeable
  Extension:               <nil>
  Related Objects:
    Group:     operator.openshift.io
    Name:      cluster
    Resource:  servicecatalogcontrollermanagers
    Group:
    Name:      openshift-service-catalog-controller-manager-operator
    Resource:  namespaces
    Group:
    Name:      openshift-service-catalog-controller-manager
    Resource:  namespaces
  Versions:
    Name:     operator
    Version:  4.4.11
Events:       <none>


Expected results:
All cluster operators should be in 4.5.0-rc.6 version.

Comment 2 Scott Dodson 2020-07-07 13:48:31 UTC
Should probably just be a dupe of 1854412 but linking them up via dependency for now.

Comment 3 Jesus M. Rodriguez 2020-07-07 15:54:50 UTC
This bug is caused by the removal of the svcat operator images identified in bug 1854412. The service catalog should NOT be upgraded in 4.5 they will be removed by the jobs during an upgrade once their images are reinstated. Closing as notabug.


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