Issues information
- OS:
- databases:
- Programming language and version: Python3
- Link to your project on Github/Gitlab:
Your issue
Deployment fails due to Liveness probe fails.
Describe here your issue
This is the deployment error I’m getting.
deployment error application z4a372285 : error => EngineError { tag: HelmChartUninstallError, event_details: EventDetails { provider_kind: None, organisation_id: QoveryIdentifier { raw_long_id: "z8894e310", short: "z8894e31" }, cluster_id: QoveryIdentifier { raw_long_id: "74ab17c0-f1d0-4356-8dd6-864f93f275c5", short: "74ab17c0" }, execution_id: QoveryIdentifier { raw_long_id: "cdb6f31c-c186-4287-985d-27a2ea198754-4-1656305823", short: "cdb6f31c" }, region: None, stage: Environment(Deploy), transmitter: Application("z4a372285", "z4a372285", "1dcf14e0411789d744463af8033e84bc532b6624") }, user_log_message: "Helm command `UPGRADE` for release application-z4a372285-z4a372285 terminated with an error: CommandError { full_details: Some(\"Error: release application-z4a372285-z4a372285 failed, and has been uninstalled due to atomic being set: Get \\\"https://FE6DA9DEB38A0F6C1BF92652E4A037F9.gr7.ap-south-1.eks.amazonaws.com/apis/apps/v1/namespaces/z780771fb-zcdb6f31c/deployments/app-z4a372285\\\": context deadline exceeded: Error while executing Helm command. / Full details: ExitStatusError(ExitStatus(unix_wait_status(256)))\"), message_safe: \"Helm error\" }", underlying_error: Some(CommandError { full_details: Some("Error: release application-z4a372285-z4a372285 failed, and has been uninstalled due to atomic being set: Get \"https://FE6DA9DEB38A0F6C1BF92652E4A037F9.gr7.ap-south-1.eks.amazonaws.com/apis/apps/v1/namespaces/z780771fb-zcdb6f31c/deployments/app-z4a372285\": context deadline exceeded: Error while executing Helm command. / Full details: ExitStatusError(ExitStatus(unix_wait_status(256)))"), message_safe: "Helm error" }), link: None, hint_message: None }
Dockerfile content (if any)
FROM nginx
RUN apt-get update && apt-get install python3 python3-pip supervisor -y
COPY $PWD/requirements.txt /requirements.txt
RUN pip3 install -r requirements.txt
ADD . /api
WORKDIR /api
RUN rm /etc/supervisor/supervisord.conf
RUN ln -Sm /api/nginx.conf /etc/nginx/conf.d/
RUN ln -Sm /api/supervisord.conf /etc/supervisor/conf.d/
RUN mkdir log
EXPOSE 5000
CMD ["supervisord"]