-
Notifications
You must be signed in to change notification settings - Fork 30
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
Not possible to access init container logs #745
Comments
I am having the same issue, cannot see logs from init containers at all. I tried: result: |
Hi, we are working on a fix for this issue. Will update here when the fix is completed. |
@vinisoto is the fix applied for this issue? |
We are experiencing exactly the same issue. Our database migration script fails but we are not able to view the logs which makes debugging really hard. @vinisoto any update? We are in the progress of migrating ~30 backend services from AKS to container apps. Would really appreciate an update regarding this issue. Depending on the timeframe we might need to delay the roll out. |
By the way for us this problem got resolved somehow by itself somewhere around early autumn. I can see log messages coming from the init container in the regular Console Logs section. |
@kobeyy - this issue should be resolved. If you are still experiencing issues, please send us an email at |
Not sure if this is related since mine is within ACIs. The Azure dashboard itself always shows "Loading..." when the init containers are still running ( $ az container logs --name <container_group> --container-name <container_name> --resource-group <resource_group>
# (ContainerGroupDeploymentNotReady) The container group '<container_group>' is not ready for the operation.
# Code: ContainerGroupDeploymentNotReady
# Message: The container group '<container_group>' is not ready for the operation. In the Azure dashboard the logs are shown when |
Issue persists as of Dec 2024. It's confusing at best whether this is resolved or being worked on. Confirmed Workaround: export to log analytics This issue was opened May 2023. Latest update was Dec 2023:
This issue remains open to this day (Dec 2024) despite being "resolved". #1336 was opened Nov 2024 and appears to be the same issue. Last update on Nov 7 was:
|
This issue is a: (mark with an x)
Issue description
A clear and concise description of the observed issue.
Steps to reproduce
initContainers
similar toTo be fair, I did see the logs 1 time out of 20 deployments, and I am not sure what made it work. I tried all different combinations of
ENTRYPOINT
,command
,command
+args
Expected behavior [What you expected to happen.]
I expect to go to Console Logs and see init container execution logs in order to debug the problem
Actual behavior [What actually happened.]
The logs are nowhere to be found
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: