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

"wait_for_status=yellow" does never get reached #8

Open
bap-dev opened this issue Oct 25, 2024 · 0 comments
Open

"wait_for_status=yellow" does never get reached #8

bap-dev opened this issue Oct 25, 2024 · 0 comments

Comments

@bap-dev
Copy link

bap-dev commented Oct 25, 2024

In edusharing-repository-service the check in the entrypoint.sh wait_for_status=yellow for the search-elastic index does never get caught, because at least in our cluster the status jumps to green very fast. I changed yellow to green and replaced also the missing env in that container with existing ones. Also a general question is why is it better to check for yellow states instead of green states?
Here is my command section in the statefulset of the repository-service, which starts the container without errors:

... containers: - name: {{ include "edusharing_common_lib.names.name" . }}-server image: {{ include "edusharing_common_lib.images.image" . }}{{ .Values.image.name }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.global.image.pullPolicy }} command: - "/bin/bash" - "-c" - | sed -i 's/REPOSITORY_SEARCH_ELASTIC_INDEX_HOST/EDUSHARING_REPOSITORY_SEARCH_ELASTIC_INDEX_SERVICE_HOST/g' /opt/alfresco/bin/plugins/plugin-elastic/entrypoint.sh sed -i 's/REPOSITORY_SEARCH_ELASTIC_INDEX_PORT/EDUSHARING_REPOSITORY_SEARCH_ELASTIC_INDEX_SERVICE_PORT/g' /opt/alfresco/bin/plugins/plugin-elastic/entrypoint.sh sed -i 's/wait_for_status=yellow/wait_for_status=green/' /opt/alfresco/bin/plugins/plugin-elastic/entrypoint.sh /opt/alfresco/bin/entrypoint.sh /opt/bitnami/scripts/tomcat/run.sh ....
cheers

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

No branches or pull requests

1 participant