cyberark / conjur-quickstart

Start securing your secrets and infrastructure by installing Conjur, using Docker and the official Conjur containers on DockerHub.
Apache License 2.0
33 stars 36 forks source link

OpenSSL and Postgres immediately exit after docker-compose up -d #10

Closed jaydusk closed 4 years ago

jaydusk commented 4 years ago

I had a lab working just a few days ago, was able to perform the entire quickstart process and successfully run program.sh. As of today, when i execute docker-compose up -d, everything appears to start, but then docker ps -a shows:

openssl and postgres_database as Exited just after everything starts up.

Running docker-ce Docker version 19.03.5, build 633a0ea838 on Ubuntu 18.04.4

uCatu commented 4 years ago

Hi @jaydusk Looks like a Duplicate of #11 Can you confirm?

jaydusk commented 4 years ago

Yes #11 is exactly what I'm seeing - the Postgres and openssl exit immediately.

uCatu commented 4 years ago

Thank you, if you can supply the log of postgres container by running docker logs postgres_database before exit, it will assist me to verify the issue.

sgnn7 commented 4 years ago

@jaydusk I just want to note here that the openssl exit is perfectly fine and expected. The only thing that container does at the moment is to create some certificates and does not need to keep running. Some of this behavior might have changed in the recent commit so it might not be the same as it behaved earlier.

tl;dr: the new openssl behavior is correct but pg is not.

I'll close the other issue and link to this one so that we don't have a duplicate.

sgnn7 commented 4 years ago

Looks like PG docker container might have changed some required env vars in PG 9.4 and broke things. I might take a look this morning. This was a fix that was done in Conjur: https://github.com/cyberark/conjur/pull/1336.

amarrocco84 commented 4 years ago

Here's an output of the logs. postgreslogs

sgnn7 commented 4 years ago

@amarrocco84 Got a fix PR in #12 - just waiting for someone from our team to review it.

sgnn7 commented 4 years ago

@amarrocco84 Fix is merged - please let us know if that fixes your problem. I'll leave this open until we hear from you today.

amarrocco84 commented 4 years ago

Looks stable so far. I will put it through its paces a bit more but at least the conjur_server container isn't stuck in an infinite loop and the postgres_database container is up now.

cyberarkossworking

sgnn7 commented 4 years ago

@amarrocco84 Thank you for the feedback! I will close this issue for now but feel free to open a new issue if you find that there are further problems :)

jaydusk commented 4 years ago

Thank you all @uCatu @sgnn7 for your assistance with this. Your prompt response is SO much appreciated and a great example of the excellence of CYBR.

santsant93 commented 1 year ago

Hey I've the issue where openssl is not working. Whereas all the other pods are up and good. Any idea what needs to be done? Screen Shot 2022-10-18 at 2 52 30 AM

santsant93 commented 1 year ago

@sgnn7

sgnn7 commented 1 year ago

Hey @santsant93, Sadly, I no longer work on Conjur :( It may be good for you to open a new issue for visibility since this one is closed.