-
Notifications
You must be signed in to change notification settings - Fork 68
Description
I created a ClusterCatalog with a private image from redhat.registry.io, but it hung for a while without any signal about what's going on..
NAME LASTUNPACKED SERVING AGE
redhat-community-operators 1s True 14m
Notice the last unpacked (1s) vs the age (14m).
When I inspected the logs, I saw that the unpacker ran into intermittent issues, before it was able to pull the image successfully. For the first 14m though, there was no signal on the CR for what's going on (you can see the unpacker struggling if you inspect the controller logs though).
We should restructure our controller to be a state machine, so that the unpacking operation can be transitioned through the different states, instead of the entire operation being an all-in blocking operation.
The different states for the transition machine could be something like:
Initiated->Pulling->Unpacking->Unpacked
Metadata
Metadata
Assignees
Labels
Type
Projects
Status