-
Notifications
You must be signed in to change notification settings - Fork 101
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
Intermittent "Stats server temporarily unavailable" after BBR unlock #115
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/162668570 The labels on this github issue will be updated when the story is started. |
Hi @ljfranklin, If we could declare something like "diego's bbs need to be unlocked" that error wouldn't happen... BBR doesn't let us define unlock order dependencies, right? We can add the sleep to make your life easier but it feels pretty shoddy... |
@cwlbraa this error could also be due to various loggregator components not being healthy yet (either trafficcontroller or log-cache). Neither bbs nor trafficcontroller/log-cache have a durable database so I don't think they are even UAA has gotten good mileage from their sleep for what it's worth. 🤷♂️ Agree it doesn't feel the best, though... |
@cwlbraa you can specify order dependencies with |
do what works, i guess? ¯\(ツ)/¯ |
Do you happen to have logs from the We want to make sure that we're adding a sleep for the right reason since the feedback cycle on these things can be pretty long. |
We believe this PR addresses this issue, @ljfranklin: It doesn't actually address the |
Thanks for submitting an issue to
capi-release
. We are always trying to improve! To help us, please fill out the following template.Issue
We intermittently see the BBR DRATs suite fail in our CI. The underlying cause is we have components which wait for CAPI's BBR unlock script to finish, then attempt to make API requests to CAPI. Occasionally (several times a week for PAS RelEng), one of these components will get the following response from CAPI:
Could the CAPI BBR unlock scripts be updated to ensure that all necessary components are ready prior to starting? Or is this a Diego issue? Honestly I wouldn't be opposed to a
sleep 60
at the end of your script to brute force avoid these edge cases.Context
Send additional questions to PAS RelEng team.
Steps to Reproduce
Attempt to run
cf app FOO
immediately after CAPI unlock script exits. This is an intermittent error so might not fail every time.Expected result
cf app
returns app infoCurrent result
Sometimes
cf app
returnsStats server temporarily unavailable.
Possible Fix
sleep 60
to the CAPI unlock script :)The text was updated successfully, but these errors were encountered: