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

Encountered errors while bringing up the project - unhealthy #101

Open
lucafolin opened this issue Aug 25, 2020 · 7 comments
Open

Encountered errors while bringing up the project - unhealthy #101

lucafolin opened this issue Aug 25, 2020 · 7 comments

Comments

@lucafolin
Copy link

Hi when I run: docker-compose up I receive this error:

`compose.parallel.feed_queue: Pending: set([<Service: webapp>, <Service: storage>])
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={u'label': [u'com.docker.compose.project=lodestone', u'com.docker.compose.service=rabbitmq', u'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.25/containers/json?all=0&limit=-1&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dlodestone%22%2C+%22com.docker.compose.service%3Drabbitmq%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&trunc_cmd=0&size=0 HTTP/1.1" 200 1584
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 1 items)
compose.cli.verbose_proxy.proxy_callable: docker inspect_container <- (u'831a9e0fb172034e2e60f08bb9e59350a7dfddd9e4810d0dc7bf845dc856077f')
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.25/containers/831a9e0fb172034e2e60f08bb9e59350a7dfddd9e4810d0dc7bf845dc856077f/json HTTP/1.1" 200 None
compose.cli.verbose_proxy.proxy_callable: docker inspect_container -> {u'AppArmorProfile': u'docker-default',
u'Args': [u'rabbitmq-server'],
u'Config': {u'AttachStderr': False,
u'AttachStdin': False,
u'AttachStdout': False,
u'Cmd': [u'rabbitmq-server'],
u'Domainname': u'',
u'Entrypoint': [u'docker-entrypoint.sh'],
u'Env': [u'RABBITMQ_DEFAULT_USER=lodestone',
u'RABBITMQ_DEFAULT_PASS=lodestone',
...
compose.parallel.feed_queue: Healthcheck for service(s) upstream of <Service: storage> failed - not processing
compose.parallel.parallel_execute_iter: Failed: <Service: storage>
compose.parallel.feed_queue: Pending: set([<Service: webapp>])
compose.parallel.feed_queue: <Service: webapp> has upstream errors - not processing
compose.parallel.parallel_execute_iter: Failed: <Service: webapp>
compose.parallel.feed_queue: Pending: set([])

ERROR: for storage Container "831a9e0fb172" is unhealthy.

ERROR: for processor Container "7ffa4da7a78f" is unhealthy.
ERROR: compose.cli.main.main: Encountered errors while bringing up the project.
`
How can I fix it ? what is the problem ? could you help me ?

@raviboth
Copy link

I have a similar issue I believe, and I think it's related to this closed issue?

@dskaggs
Copy link
Contributor

dskaggs commented Aug 25, 2020

@lucafolin Was this a new run or running docker-compose on existing images/containers/data?

@lucafolin
Copy link
Author

@lucafolin Was this a new run or running docker-compose on existing images/containers/data?

It's a new run of docker-compose on a new ubuntu VM.

@lucafolin
Copy link
Author

I have a similar issue I believe, and I think it's related to this closed issue?

Hi, how I have to use this script ? In wich way I have to run this pice of code ?

@lucafolin
Copy link
Author

Hi when I run: docker-compose up I receive this error:

`compose.parallel.feed_queue: Pending: set([<Service: webapp>, <Service: storage>])
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={u'label': [u'com.docker.compose.project=lodestone', u'com.docker.compose.service=rabbitmq', u'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.25/containers/json?all=0&limit=-1&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dlodestone%22%2C+%22com.docker.compose.service%3Drabbitmq%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D&trunc_cmd=0&size=0 HTTP/1.1" 200 1584
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 1 items)
compose.cli.verbose_proxy.proxy_callable: docker inspect_container <- (u'831a9e0fb172034e2e60f08bb9e59350a7dfddd9e4810d0dc7bf845dc856077f')
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.25/containers/831a9e0fb172034e2e60f08bb9e59350a7dfddd9e4810d0dc7bf845dc856077f/json HTTP/1.1" 200 None
compose.cli.verbose_proxy.proxy_callable: docker inspect_container -> {u'AppArmorProfile': u'docker-default',
u'Args': [u'rabbitmq-server'],
u'Config': {u'AttachStderr': False,
u'AttachStdin': False,
u'AttachStdout': False,
u'Cmd': [u'rabbitmq-server'],
u'Domainname': u'',
u'Entrypoint': [u'docker-entrypoint.sh'],
u'Env': [u'RABBITMQ_DEFAULT_USER=lodestone',
u'RABBITMQ_DEFAULT_PASS=lodestone',
...
compose.parallel.feed_queue: Healthcheck for service(s) upstream of <Service: storage> failed - not processing
compose.parallel.parallel_execute_iter: Failed: <Service: storage>
compose.parallel.feed_queue: Pending: set([<Service: webapp>])
compose.parallel.feed_queue: <Service: webapp> has upstream errors - not processing
compose.parallel.parallel_execute_iter: Failed: <Service: webapp>
compose.parallel.feed_queue: Pending: set([])

ERROR: for storage Container "831a9e0fb172" is unhealthy.

ERROR: for processor Container "7ffa4da7a78f" is unhealthy.
ERROR: compose.cli.main.main: Encountered errors while bringing up the project.
`
How can I fix it ? what is the problem ? could you help me ?

ok after many running tentative it works. I haven't done any changes !

@raviboth
Copy link

Lucafolin, did you remove the containers before retrying or did you just retry? I still haven't gotten it to work :/

@lucafolin
Copy link
Author

lucafolin commented Aug 26, 2020 via email

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

3 participants