-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.3.0
Description:
This is is an issue found when performing Quay operator upgrade via OLM, after edit the subscription of installed Quay 1.0.2 operator, the result is can't trigger operator upgrade to 1.1.0 via OLM. Possible reason is latest 1.1.0 CSV doesn't have "replaces: quay.v1.0.2"
Quay Operaor image: quay.io/quay/quay-rhel8-operator-catalog:1.1.0-6
Steps:
1. Install Quay 1.0.2 Operator from OCP console->OperatorHub
2. Install Quay 1.1.0 Catalogsource from "https://quay.io/repository/quay/quay-rhel8-operator-catalog?tag=latest&tab=tags"
3. edit subscription of installed Quay 1.0.2 Operator, replace "channel" to alpha, "source" to quay-operator
4. Save subscription edit
5. Check the stauts of installed Quay 1.0.2 Operator
6. Check CSV of installed Quay 1.0.2 Operator
Following Docs: https://docs.google.com/document/d/1uogznoHvyoy2QqiWmMjPYNoOGBx5De381m9vDvwbHZU/edit# Testing Operator Updates via OLM-->"Variant B - Switching catalogs"
After edit the subscription of "installed 1.0.2 quay operator", the CSV is still 1.0.2"
lizhang@lzha-mac Quay3.3_operator_testing % oc get csv
NAME DISPLAY VERSION REPLACES PHASE
quay.v1.0.2 Quay 1.0.2 Succeeded
Expected Results:
OLM will trigger upgrade "installed Quay 1.0.2 Operator" to 1.1.0
Actual Results:
OLM was failed to trigger the upgrade.