Uploaded image for project: 'A-MQ Messaging-as-a-Service'
  1. A-MQ Messaging-as-a-Service
  2. ENTMQMAAS-2361

OLM operator fails to upgrade from 1.4.4 to 1.5.0 on OCP 4.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 1.5.1
    • 1.5.0
    • None
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      To work around:

       

      oc delete subscription <name> -n <operator install namespace>
      oc delete --cascade=false csv amq-online.1.4.4 -n <operator install namespace>
      oc delete --cascade=false csv amq-online.1.5.0 -n <operator install namespace>

       The operator and all addresses will continue to work. Then, create a new subscription to allow upgrade to continue and allow updates.

      Show
      To work around:   oc delete subscription <name> -n < operator install namespace> oc delete --cascade= false csv amq-online.1.4.4 -n < operator install namespace> oc delete --cascade= false csv amq-online.1.5.0 -n < operator install namespace>  The operator and all addresses will continue to work. Then, create a new subscription to allow upgrade to continue and allow updates.
    • Hide
      • Create subscription of 1.4.4 with manual approval
      • Approve installation plan for 1.4.4
      • Wait for 1.4.4 installation to complete
      • Approve installation pan for 1.5.0
      • Console will show failure to upgrade and 2 CSVs installed

       

      Show
      Create subscription of 1.4.4 with manual approval Approve installation plan for 1.4.4 Wait for 1.4.4 installation to complete Approve installation pan for 1.5.0 Console will show failure to upgrade and 2 CSVs installed  

    Description

      When installing and upgrading the operator from 1.4.4 to 1.5.0 on OCP 4.4, the system is refusing to upgrade due to a change in CRD versions served.

       

      The catalog operator provides the error in the logs

       

      2848:2020-07-07T16:42:57.420931222Z E0707 16:42:57.420435       1 queueinformer_operator.go:290] sync {"update" "amq-online-infra/install-v2sxw"} failed: error missing existing CRD version(s) in new CRD: addressplans.admin.enmasse.io: New CRD (addressplans.admin.enmasse.io) must contain existing served versions (v1be 

       

       

      To work around:

       

      oc delete subscription <name> -n <operator install namespace>
      oc delete --cascade=false csv amq-online.1.4.4 -n <operator install namespace>
      oc delete --cascade=false csv amq-online.1.5.0 -n <operator install namespace>

       The operator and all addresses will continue to work.

       

      As the last step, recreate the subscription to receive updates and allow 1.5.0 installation to succeed.

      Attachments

        Activity

          People

            lulf@redhat.com Ulf Lilleengen (Inactive)
            lulf@redhat.com Ulf Lilleengen (Inactive)
            David Kornel David Kornel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: