-
Notifications
You must be signed in to change notification settings - Fork 64
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
Devfile Registry deployment on minikube with helm keeps crash looping #1295
Comments
Might possibly block #1197 if this bug is not fixed by the review testing. |
After some investigation found out the following: Cause of the FailureThe
Proposed fixFirst approach should be to update the github-action that sets up Another improvement could be made if we increase the memory inside the More detailed loggingAs |
I've created a PR with the proposed workaround. I've assigned the issue to me and as it has already a PR I've removed the refinement date, add it to the current sprint (because is a blocker) and story pointed with the time/complexity spent on this. |
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area registry
What versions of software are you using?
Go project
Operating System and version: N/A
Go Pkg Version: 1.18
Node.js project
Operating System and version: N/A
Node.js version: 18
Yarn version: 1.22.19
Project.json: https://github.com/devfile/devfile-web/blob/91b745246e20f760efd74758022420d7302becf6/package.json
Web browser
Operating System and version: N/A
Browser name and version: N/A
Bug Summary
Describe the bug:
Deploying the devfile registry using the helm chart on minikube results in the index server and registry viewer containers experiencing a repeating
CrashLoopBackOff
state for over 10 minutes, causing the integration testing on devfile registry under registry-support to timeout (has a 10 minute wait for deployment limit).To Reproduce:
minikube v1.21.0
using Kubernetesv1.21.0
with default settings.docker
, run integration testing script:bash .ci/run_tests_minikube_linux.sh
. Or follow steps 3-4 to run manually withpodman
or defaultnext
tag, skip to step 5 if using this stephelm install devfile-registry ./deploy/chart/devfile-registry --set global.ingress.domain=$(minikube ip).nip.io
--set devfileIndex.image=quay.io/<user>/devfile-index --set devfileIndex.tag=<tag_label>
to specify your own imagekubectl wait deploy/devfile-registry --for=condition=Available --timeout=600s
to wait for available conditionhelm install ... & kubectl wait ...
to best simulate the timing of the scriptExpected behavior
Deploys successfully within 10 minutes without experiencing frequent
CrashLoopBackOff
states.Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Full error log: devfile_registry_error.log
Error Message
Container State Details
Events
Additional context
Any workaround?
Increase the timeout limit of integration testing, this does not solve the problem of the devfile registry taking over 10 minutes to deploy.
Suggestion on how to fix the bug
Unknown at this time.
The text was updated successfully, but these errors were encountered: