Bug 1678113
| Summary: | 'postgresql-setup initdb' is obsolete | |||
|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> | |
| Component: | Setup.EngineCommon | Assignee: | Yedidyah Bar David <didi> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | --- | CC: | bugs, lleistne, mperina, mtessun | |
| Target Milestone: | ovirt-4.3.2 | Keywords: | ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
ovirt-4.3+
pm-rhel: blocker+ mtessun: planning_ack+ sbonazzo: devel_ack+ lleistne: testing_ack+ |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ovirt-engine-4.3.2 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1683038 (view as bug list) | Environment: | ||
| Last Closed: | 2019-03-19 10:03:19 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1683038 | |||
Seems like the message was added almost 5 years ago [1], perhaps it's enough to fix in 4.3. [1] https://github.com/devexp-db/postgresql-setup/commit/1a206187ca761c75e13989eab92430df689e1eca (In reply to Yedidyah Bar David from comment #1) > Seems like the message was added almost 5 years ago [1], perhaps it's enough > to fix in 4.3. > > [1] > https://github.com/devexp-db/postgresql-setup/commit/ > 1a206187ca761c75e13989eab92430df689e1eca I agree, I'd fix only in 4.3 No initdb obsolete warning in setup log for engine and also separate dwh. Installation successful. verified in ovirt-engine-setup-4.3.2-0.1.el7.noarch This bugzilla is included in oVirt 4.3.2 release, published on March 19th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |
Description of problem: In both current scl pg 9.5 and scl pg 10 (copying from engine-setup logs): 2019-02-17 02:47:42,455-0500 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup', 'initdb') stderr: WARNING: using obsoleted argument syntax, try --help WARNING: arguments transformed to: postgresql-setup --initdb --unit rh-postgresql95-postgresql * Initializing database in '/var/opt/rh/rh-postgresql95/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_rh-postgresql95-postgresql.log 2019-02-03 12:26:35,558+0200 DEBUG otopi.plugins.ovirt_engine_setup.cinderlib.provisioning.postgres plugin.execute:926 execute-output: ('/opt/rh/rh-postgresql10/root/usr/bin/postgresql-setup', 'initdb') stderr: WARNING: using obsoleted argument syntax, try --help WARNING: arguments transformed to: postgresql-setup --initdb --unit rh-postgresql10-postgresql * Initializing database in '/var/opt/rh/rh-postgresql10/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_rh-postgresql10-postgresql.log Version-Release number of selected component (if applicable): Current scl pg (affects both 4.2 and 4.3/master) How reproducible: Always Steps to Reproduce: 1. install and setup engine on clean machine 2. 3. Actual results: Warning above Expected results: No warning Additional info: Need to check when 'initdb' is going to be removed - then, current bug will be more urgent, better prepare beforehand...