-
Notifications
You must be signed in to change notification settings - Fork 71
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
Bug: App environment not reliably updated after restart #3217
Comments
danail-branekov
changed the title
Flake/Bug: App environment not updated after restart
Bug: App environment not reliably updated after restart
Apr 17, 2024
danail-branekov
added a commit
that referenced
this issue
Apr 24, 2024
* The CFServiceBinding becomes ready when the underlying servicebinding.io bindings become ready * The rest of the CFServiceBinding status conditions have been removed (as other controllers and API should only care whether the binding is ready or not) * Introduce a reusable `ReadyConditionBuilder` utility used to set the object status issue: #3217 Co-authored-by: Georgi Sabev <[email protected]>
georgethebeatle
added a commit
that referenced
this issue
Apr 25, 2024
* The CFServiceBinding becomes ready when the underlying servicebinding.io bindings become ready * The rest of the CFServiceBinding status conditions have been removed (as other controllers and API should only care whether the binding is ready or not) * Introduce a reusable `ReadyConditionBuilder` utility used to set the object status issue: #3217 Co-authored-by: Georgi Sabev <[email protected]>
danail-branekov
added a commit
that referenced
this issue
Apr 25, 2024
* The CFServiceBinding becomes ready when the underlying servicebinding.io bindings become ready * The rest of the CFServiceBinding status conditions have been removed (as other controllers and API should only care whether the binding is ready or not) * Introduce a reusable `ReadyConditionBuilder` utility used to set the object status issue: #3217 Co-authored-by: Georgi Sabev <[email protected]>
danail-branekov
added a commit
that referenced
this issue
Apr 25, 2024
* The CFServiceBinding becomes ready when the underlying servicebinding.io bindings become ready * The rest of the CFServiceBinding status conditions have been removed (as other controllers and API should only care whether the binding is ready or not) * Introduce a reusable `ReadyConditionBuilder` utility used to set the object status issue: #3217 Co-authored-by: Georgi Sabev <[email protected]>
danail-branekov
added a commit
that referenced
this issue
Apr 30, 2024
* The app controller sets the ready state if all of the criteria below are met: - app service bindings (if any) become ready - the app actual state is equal to the desired state - the current droplet is set * The app repository waits for the app `Ready` state in `SetAppDesiredState` to ensure synchronous app stop/start * The condition awaiter verifies that the condition observed generation matches the object generation. Thus we ensure that the condition is not outdated. Co-authored-by: Georgi Sabev <[email protected]> fixes: #3217
danail-branekov
added a commit
that referenced
this issue
Apr 30, 2024
* The app controller sets the ready state if all of the criteria below are met: - app service bindings (if any) become ready - the app actual state is equal to the desired state - the current droplet is set * The app repository waits for the app `Ready` state in `SetAppDesiredState` to ensure synchronous app stop/start * The condition awaiter verifies that the condition observed generation matches the object generation. Thus we ensure that the condition is not outdated. Co-authored-by: Georgi Sabev <[email protected]> fixes: #3217
danail-branekov
added a commit
that referenced
this issue
Apr 30, 2024
* The app controller sets the ready state if all of the criteria below are met: - app service bindings (if any) become ready - the app actual state is equal to the desired state - the current droplet is set * The app repository waits for the app `Ready` state in `SetAppDesiredState` to ensure synchronous app stop/start * The condition awaiter verifies that the condition observed generation matches the object generation. Thus we ensure that the condition is not outdated. Co-authored-by: Georgi Sabev <[email protected]> fixes: #3217
github-project-automation
bot
moved this from 🔄 In progress
to ✅ Done
in Korifi - Backlog
Apr 30, 2024
marsteg
pushed a commit
to marsteg/korifi
that referenced
this issue
May 6, 2024
* The app controller sets the ready state if all of the criteria below are met: - app service bindings (if any) become ready - the app actual state is equal to the desired state - the current droplet is set * The app repository waits for the app `Ready` state in `SetAppDesiredState` to ensure synchronous app stop/start * The condition awaiter verifies that the condition observed generation matches the object generation. Thus we ensure that the condition is not outdated. Co-authored-by: Georgi Sabev <[email protected]> fixes: cloudfoundry#3217
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are occasionally seeing the following flake in e2e tests:
The error looks like this:
In #3036 we make the app restart synchronous. However it is possible that the app is started and ready, but the servicebinding.io resources are not yet in the Ready state (meanging that the pod env is not updated).
We think that introducing Ready states in cfservicebinding, cfapp and making the relevant controllers synchronize on the Ready state of their dependent resouces could fix this issue. Related to #2098
The text was updated successfully, but these errors were encountered: