jbfavre / docker-vertica

Docker images collection for Vertica database
GNU General Public License v3.0
40 stars 36 forks source link

jbfavre/vertica:9.2.0-6_ubuntu-16.04 does not work - limits? #10

Open akodd opened 5 years ago

akodd commented 5 years ago
$ docker run jbfavre/vertica:9.2.0-6_ubuntu-16.04
Unable to find image 'jbfavre/vertica:9.2.0-6_ubuntu-16.04' locally
9.2.0-6_ubuntu-16.04: Pulling from jbfavre/vertica
34667c7e4631: Pull complete
d18d76a881a4: Pull complete
119c7358fbfc: Pull complete
2aaf13f3eff0: Pull complete
e9238a8d18ef: Pull complete
dc0aa2ef9b48: Pull complete
7fb35d29817c: Pull complete
35bf5c31df6b: Pull complete
34856d280183: Pull complete
9be870aa3165: Pull complete
Digest: sha256:8cfd120f1a70c34c51ef5ef6c6963897654d56460b92eae7bf63cb89a346b673
Status: Downloaded newer image for jbfavre/vertica:9.2.0-6_ubuntu-16.04
Starting up
Fixing filesystem permissions
Creating database
Info: no password specified, using none
Database with 1 or 2 nodes cannot be k-safe and it may lose data if it crashes
Distributing changes to cluster.
        Creating database docker
        Starting bootstrap node v_docker_node0001 (127.0.0.1)
Error: Failed to load the startup information from the bootstrap node.
Hint: Are your resource limits for new processes correct?
jbfavre commented 5 years ago

@akodd thanks for your report. Strangely enough, I haven't had any report like this at work. Guess peoples didn't upgrade their cluster yet :( And, of course, no mention of theses changes in releases notes :angry: Will dig into it with 9.2.0-7 which has been released

jbfavre commented 5 years ago

Should be fixed for both Ubuntu & Debian based flavors. Have an issue with Centos due to limits.conf which prevents:


Last login: Tue Apr 23 11:30:58 UTC 2019 on console
su: cannot open session: Permission denied```

Commenting out one line added by Vertica installer does the trick, but I see no way to get this embedded into Vertica python code in an easy way
deminy commented 3 years ago

I saw similar issue when running the image in a GitLab runner:

docker run --rm -t jbfavre/vertica:9.2.0-7_ubuntu-16.04
Starting up
Fixing filesystem permissions
Creating database
Info: no password specified, using none
Database with 1 or 2 nodes cannot be k-safe and it may lose data if it crashes
Distributing changes to cluster.
    Creating database docker
    Starting bootstrap node v_docker_node0001 (127.0.0.1)
Error: Failed to load the startup information from the bootstrap node.
Hint: Are your resource limits for new processes correct?

I also tried an old image jbfavre/vertica:8.0, and the result is the same.