-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Over 10 minutes of delay for operator upgrade to initiate after CatalogSource image is updated. #947
Comments
Thanks for the report @sacharya! When a catalog is updated, we spend some time trying to connect and waiting for the connection to become healthy. If that doesn't happen fast enough, we back off and wait a while longer - this is the 10m delay you're seeing. We already have a fix for this issue staged and ready to merge, which you can track here: #906 . This triggers OLM to check anytime the state of the grpc connection changes, so updates to a catalog should roll out as soon as the connection is healthy, instead of sometimes taking 10m. |
@ecordell I pulled down #906 on top of master and I still see the delay during install and upgrade. Before upgrade
Now change the image on CatalogSource to a new image. The image and lastSync time gets updated.
The subscription doesn't change for a while. Eventually:
|
You shouldn't see this issue on master anymore - please re-open if you do. |
Based on the discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1770192 8 minutes may not be enough. According to this: operator-framework/operator-lifecycle-manager#947 operator-framework/operator-lifecycle-manager#1098 operator-framework/operator-lifecycle-manager#974 https://bugzilla.redhat.com/show_bug.cgi?id=1737081 More than 10 minutes have been seen. Trying 15 minutes. We may need even more? Signed-off-by: Michael Adam <[email protected]>
Start with a CatalogSource and Subscription that is working. Etcd ClusterServiceVersion will be created successfully.
Change the image field on the CatalogSource to point to a new image, which has an additional CSV.
It takes over 10 minutes before OLM acts on the change, new upgrade is initiated and etcdoperator is actually upgraded. The installplans do not get updated during that time. Eventually:
From the catalog-operator logs:
The text was updated successfully, but these errors were encountered: