Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Bug: when needsUnpack returns false no status update happens #422

@joelanford

Description

@joelanford

In the operator-controller upgrade-e2e, we discovered an issue that causes the catalogd controller to leave stale conditions and fields set on a ClusterCatalog after an upgrade.

If a ClusterCatalog is serving and up-to-date prior to an upgrade, and then a catalogd upgrade occurs, the new catalogd sees that "everything looks good", and then immediately returns from reconcile.

Unfortunately everything is not good. In a transition from 0.29.0 to 0.30.0, one example of a thing that we fail to do is change the Unpacked condition type to Serving.

In order to fix this, we need to always be updating the status based on the known state of the catalog, no matter which code path we take through our reconcile function.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.v1.0Issues related to the initial stable release of OLMv1

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions