Skip to content
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

Un-idle targets in service auto idler is not working correctly #1083

Closed
shreddedbacon opened this issue May 16, 2019 · 1 comment · Fixed by #1158
Closed

Un-idle targets in service auto idler is not working correctly #1083

shreddedbacon opened this issue May 16, 2019 · 1 comment · Fixed by #1158

Comments

@shreddedbacon
Copy link
Member

The idle-services.sh script currently sets all the un-idle targets for services so that services un-idle at the same time, but it does not appear to work correctly.

https://github.com/amazeeio/lagoon/blob/master/services/auto-idler/idle-services.sh#L95-L102

When an endpoint is requested, only that service is un-idled initially before the other endpoints are requested.

@shreddedbacon
Copy link
Member Author

This may be caused by the version of OC in use in the image.
https://bugzilla.redhat.com/show_bug.cgi?id=1524305

https://github.com/amazeeio/lagoon/blob/596dcce013f50823826b3db368a4402813513cea/images/oc/Dockerfile#L35

When the service idler tries to add the idling.alpha.openshift.io/unidle-targets=${ALL_IDLED_SERVICES_JSON} it can't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant