Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator does not upgrade packagserver #706

Closed
sjenning opened this issue Feb 8, 2019 · 4 comments
Closed

operator does not upgrade packagserver #706

sjenning opened this issue Feb 8, 2019 · 4 comments

Comments

@sjenning
Copy link
Contributor

sjenning commented Feb 8, 2019

After a cluster upgrade from 4.0-2019-02-08-055616 to 4.0.0-0.alpha-2019-02-08-131655, the packageserver deployment is not upgraded

$ oc get clusterversion
NAME      VERSION                           AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.0.0-0.alpha-2019-02-08-131655   True        True          11m

$ oc get deployment olm-operator -oyaml
...
spec:
...
  template:
...
    spec:
      containers:
      - args:
        - -writeStatusName
        - operator-lifecycle-manager
        command:
        - /bin/olm
        env:
        - name: OPERATOR_NAMESPACE
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
        - name: OPERATOR_NAME
          value: olm-operator
        image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-02-08-131655@sha256:c379e068eca7768313ed026f8fac04057920526d388c42dfd585a3a0c4227677

$ oc get deployment packageserver -oyaml
...
spec:
...
  template:
...
    spec:
      containers:
      - command:
        - /bin/package-server
...
        image: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-02-08-055616@sha256:c379e068eca7768313ed026f8fac04057920526d388c42dfd585a3a0c4227677

@smarterclayton @derekwaynecarr

@njhale
Copy link
Member

njhale commented Feb 8, 2019

@sjenning The packageserver is packaged as an OLM operator. This means it's defined as a CSV in a configmap backed catalog and deployed via OLM Subscription. These are all defined in our top level ./manifests directory and should be getting replaced by CVO. It would help a lot if you could post the on cluster olm-operators CatalogSource as well as the backing ConfigMap of the same name.

@jpeeler
Copy link

jpeeler commented Feb 18, 2019

I was able to reproduce this and saw that the olm-operators configmap is getting updated, but the CSV/deployment is not.

@njhale
Copy link
Member

njhale commented Feb 18, 2019

This most likely has to do with us not generating a "replacement" CSV for packageserver - OLM doesn't know to upgrade the CSV.

@ecordell
Copy link
Member

Fixed by #722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants