Bug 1683126
Summary: | [RFE] engine-setup/cleanup/etc. should know if it "owns" postgresql and act accordingly | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> |
Component: | Setup.EngineCommon | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED DEFERRED | QA Contact: | Lucie Leistnerova <lleistne> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2.3 | CC: | bugs, mavital, rgolan |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-24 14:19:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yedidyah Bar David
2019-02-26 09:57:16 UTC
A workaround, for developers and/or users that want a db on the local machine but make engine-setup behave like it's remote: Add another name for the '127.0.0.1' line in /etc/hosts, e.g. 'localdb' or whatever, and use that name when queried. engine-setup strictly checks for the string 'localhost'. The heuristics of localhost for ownership is limiting. It makes you exercise workarounds like mentioned above, it limits use when we would want to move to unix-socket (which we want! for better performance) and it doesn't let us own a remote instance if we want. I think the approach should be deterministic - choose not to manage if you want explicitly or if you are DEVELOPER_MODE and persist it to etc/ovirt-engine/conf.d or etc/ovirt-engine-setup.d low severity, closing due to capacity |