Bug 1024676
| Summary: | Warnings in PostgreSQL 9.2 log | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Jarek Zgoda <jarek.zgoda> |
| Component: | Image | Assignee: | Paul Morie <pmorie> |
| Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | agrimm, ccoleman, cdaley, dmcphers, jeff.mccormick, jhonce, simon.brandhof |
| Target Milestone: | --- | Keywords: | SupportQuestion, UpcomingRelease |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-21 17:34:07 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: | |||
|
Description
Jarek Zgoda
2013-10-30 08:44:23 UTC
Exactly same result can be observed with completely fresh application, just python-2.7 and postgresql-9.2 cartridges. just wondering about status of this bug. The issue seems to be in how localhost is locked down. Can the internal IP address that is assigned by openshift be added to the list of IP addresses for localhost within /etc/hosts? according to my collegue, Greg Smith, "What PostgreSQL does at startup is ask the OS for the addresses of "localhost" (hard-coded) using the getaddrinfo() system call: https://en.wikipedia.org/wiki/Getaddrinfo It then loops over all the returned addresses until it successfully talks to socket it created, and if all addresses fail it gives the error in the bug report." Vacuum is pretty important. Can we get this fixed in postgres? I've created a bug for this w/ Postgres. Postgresql uses a mailing list for bug reports instead of an issue tracker; my report is current pending moderator approval. Will link once it has been posted. Unfortunately it doesn't look like this is something we'll be able to fix right now. We hope that we'll be able to support it in the future. Just to connect the dots, here's what Paul filed upstream: http://www.postgresql.org/message-id/20140127183125.26701.88068@wrigleys.postgresql.org Given Tom Lane's response, I don't think postgres is going to change behavior: """" Yeah. In particular, I'd always supposed that a platform that wanted to use some other IP address than 127.0.0.1 for loopback would also be expected to make sure that "localhost" mapped to that other IP address. Otherwise, there simply isn't any way to make network-using software work except random hacks. Frankly, I don't think you're going to get any cooperation from Postgres in adapting to such a broken networking environment as this, and I doubt other upstreams are going to be any more positive about it. """ Paul, you mention in http://www.postgresql.org/message-id/1241903739.14805210.1390938412164.JavaMail.root@redhat.com that using network namespaces in OpenShift is a high priority improvement. Where can its status be tracked ? Is there a bugzilla bug ? Thank you |