Bug 2058647
| Summary: | missing deployment with name=odf-operator-controller-manager' after upgrade to ODF 4.10 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Petr Balogh <pbalogh> |
| Component: | odf-operator | Assignee: | Nitin Goyal <nigoyal> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Balogh <pbalogh> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10 | CC: | jrivera, mmuench, muagarwa, ocs-bugs, odf-bz-bot |
| Target Milestone: | --- | Keywords: | Automation, Regression, UpgradeBlocker |
| Target Release: | ODF 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.10.0-175 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-21 09:12:49 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
Petr Balogh
2022-02-25 14:19:32 UTC
```
message: 'install strategy failed: Deployment.apps "odf-operator-controller-manager"
is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"odf-operator"},
MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable'
```
Root cause:
Olm is not able to upgrade the operator because of the conflict in the labels which were replaced recently because of another UI bug BZ2043034. I will update the fix after testing it out.
After discussing it with Afreen we decided to make the changes in the CSI addons and reverted the odf changes. This BZ was caused by a fix for https://bugzilla.redhat.com/show_bug.cgi?id=2043034 We are reverting that fix, once the revert PR is merged this BZ can be moved to ON_QA I see it's failing now here: https://ceph-downstream-jenkins-csb-storage.apps.ocp4.prod.psi.redhat.com/job/ocs-ci/895 with: - message: 'constraints not satisfiable: clusterserviceversion odf-operator.v4.9.3 exists and is not referenced by a subscription, subscription odf-operator requires @existing/openshift-storage//odf-operator.v4.10.0, subscription odf-operator exists, @existing/openshift-storage//odf-operator.v4.10.0 and @existing/openshift-storage//odf-operator.v4.9.3 originate from package odf-operator' reason: ConstraintsNotSatisfiable https://ceph-downstream-jenkins-csb-storage.apps.ocp4.prod.psi.redhat.com/job/ocs-ci/895/artifact/logs/failed_testcase_ocs_logs_1646113868/test_upgrade_ocs_logs/ocp_must_gather/quay-io-openshift-origin-must-gather-sha256-482074a79249dbe3d59fe9ec36f31499d27f4523d8909ab2e8e87e60a65b817a/namespaces/openshift-storage/operators.coreos.com/subscriptions/odf-operator.yaml/*view*/ So if build: 4.10.0-172 supposed to already fix that we still have some issue which might be different bug or it was not reverted/fixed properly. Build #172 doesn't have the fix, that is why I didn't move the BZ to ON_QA Because of a build issue this build din't pick the latest commits, we need to wait for the next build. What I see here it looks that issue was fixed: https://ceph-downstream-jenkins-csb-storage.apps.ocp4.prod.psi.redhat.com/job/ocs-ci/909/console Marking as verified. |