You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/02 17:06:14 UTC

[GitHub] [superset] shemExelate opened a new issue #12895: unhealthy "app" and "worker" docker containers

shemExelate opened a new issue #12895:
URL: https://github.com/apache/superset/issues/12895


   after pulling latest and running `docker-compose up` inside `/docker` folder
   `docker ps -a` prints 
   ```
   CONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS                      PORTS                              NAMES
   0974b8deb211   apache/superset:latest-dev   "/usr/bin/docker-ent…"   15 minutes ago   Up 15 minutes (unhealthy)   8080/tcp, 0.0.0.0:8088->8088/tcp   superset_app
   998556009d30   apache/superset:latest-dev   "/usr/bin/docker-ent…"   15 minutes ago   Up 15 minutes (unhealthy)   8080/tcp                           superset_worker
   8a3b7fc9dd0e   node:12                      "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes                                                  superset_node
   e16fc861fbf8   apache/superset:latest-dev   "/usr/bin/docker-ent…"   15 minutes ago   Exited (0) 6 minutes ago                                       superset_init
   50c8ddf6536b   apache/superset:latest-dev   "/usr/bin/docker-ent…"   15 minutes ago   Exited (1) 15 minutes ago                                      superset_tests_worker
   b98e572ece92   postgres:10                  "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes               127.0.0.1:5432->5432/tcp           superset_db
   963658d2a1a8   redis:3.2                    "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes               127.0.0.1:6379->6379/tcp           superset_cache
   ```
   
   ### Expected results
   
   they should be healthy :)
   
   ### Actual results
   
   unhealthy, affects debugging 
   
   #### How to reproduce the bug
   
   1. git clone https://github.com/apache/superset.git
   2. cd superset/docker
   3. docker-compose up
   4. wait for init container to finish (also unhealthy)
   
   ### Environment
   
   dockerized
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nytai commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803049953


   something like this should work:
   https://stackoverflow.com/a/62364527/13977852


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ansidev commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
ansidev commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803052061


   > something like this should work:
   > https://stackoverflow.com/a/62364527/13977852
   
   Yes, I can do that. But we need a solution for everyone, not only me.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nytai commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803053135


   When you get it working, please open a PR :) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nytai commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803049133






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nytai commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803041338


   This may be due to a misconfigured health check for workers (celery beat and worker)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] stale[bot] commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-868936127


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ansidev commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
ansidev commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803040188


   Ref Link: https://github.com/amancevice/docker-superset/issues/51#issuecomment-759349896


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ansidev edited a comment on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
ansidev edited a comment on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803040188


   Ref Link: https://github.com/amancevice/docker-superset/issues/51#issuecomment-759349896
   This problem address: https://github.com/apache/superset/blob/fa072cd74e5320b4b8c0c234835d2d4fb677da9e/Dockerfile#L116


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ansidev commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
ansidev commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803042767


   > This may be due to a misconfigured health check for workers (celery beat and worker)
   
   I 've updated my comment. The problem came from `Dockerfile`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] ansidev commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
ansidev commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803046065


   > right, that healthcheck will work for the webapp contianer but not the worker containers since no server is running
   
   So the problem is we are using same Docker image for both `app` and `worker`. IMO, We should use separate Docker image for worker with different HEALTHCHECK command


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nytai commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
nytai commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803043623


   right, that healthcheck will work for the webapp contianer but not the worker containers since no server is running 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] nytai removed a comment on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
nytai removed a comment on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-803049152


   You can override the healthcheck command using docker-compose 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] amitmiran137 closed issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
amitmiran137 closed issue #12895:
URL: https://github.com/apache/superset/issues/12895


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kopernic-pl commented on issue #12895: unhealthy "app" and "worker" docker containers

Posted by GitBox <gi...@apache.org>.
kopernic-pl commented on issue #12895:
URL: https://github.com/apache/superset/issues/12895#issuecomment-824739317


   @nytai I've actually supressed runnig main servier HCs on non-main containers in composes - for starters, in my opinion at least partially closes this issue. Pls take a look.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org