Bug 1270434
Summary: | Cannot login to postgresql-94-rhel7 after creating postgresql with postgresql-persistent-template.json | ||
---|---|---|---|
Product: | Red Hat Software Collections | Reporter: | wewang <wewang> |
Component: | rh-postgresql94-container | Assignee: | Pavel Raiskup <praiskup> |
Status: | CLOSED NOTABUG | QA Contact: | wewang <wewang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rh-postgresql94 | CC: | aos-bugs, bparees, eslobodo, hhorak, jokerman, jorton, kanderso, mmccomas, wewang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-27 15:32:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1220712 |
Description
wewang
2015-10-10 04:56:08 UTC
Sorry, I can't reproduce. I'm able to connect to postgresql server both from host and from image itself: $ docker run --rm -ti -e POSTGRESQL_USER=userL7X -e POSTGRESQL_PASSWORD=Qh7x3CY8WFyInC6Y -e POSTGRESQL_DATABASE=sampledb rcm-img-docker01.build.eng.bos.redhat.com:5001/rhscl/postgresql-94-rhel7:latest $ docker inspect --format '{{ .NetworkSettings.IPAddress }}' `docker ps -q` 172.17.03 $ psql -h 172.17.03 -U userL7X -d sampledb Password for user userL7X: psql (9.4.4) Type "help" for help. sampledb=> The same from container itself: $ docker exec -ti `docker ps -q` bash bash-4.2$ psql psql (9.4.4) Type "help" for help. postgres=# Ping, any news here, wewang? I've been told that this is blocker for OpenShift and that Ben could possibly help here. Do we have self-standing reproducer? wewang, can you confirm that the mounted storage in the container (/var/lib/pgsql/data) is writable? Is there any other interesting information in the pod logs? I was able to run this successfully using a a non-NFS persistent volume (i followed this instead to create a persistent volume: https://github.com/openshift/postgresql/tree/master/examples/replica#deployment) so i think the issue here is likely a permissions one, though i'm surprised the pod started at all if the permissions aren't correct. wewang, please retest using the latest image and check if there is a permissions problem with the mounted storage. I will verify it tomorrow in ose, pls wait,thx (In reply to wewang from comment #7) > I will verify it tomorrow in ose, pls wait,thx Thanks! Re-adding the needinfo back then. verified in ose_3.1 openshift v3.0.2.902 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 Isn't this rather notabug? Or bad component (rh-postgresql94-docker)? Because I'm not aware of any bug I fixed ... which could be VERIFIED. |