Bug 1139211
| Summary: | Automatic provisioning ignores db password supplied in answer file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | rhev-integ |
| Component: | ovirt-engine-setup | Assignee: | Simone Tiraboschi <stirabos> |
| Status: | CLOSED ERRATA | QA Contact: | sefi litmanovich <slitmano> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.4.0 | CC: | bazulay, didi, ecohen, eedri, gklein, iheim, juwu, lveyde, rbalakri, Rhev-m-bugs, sbonazzo, scohen, slitmano, stirabos, yeylon |
| Target Milestone: | --- | Keywords: | AutomationBlocker, ZStream |
| Target Release: | 3.4.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | org.ovirt.engine-root-3.4.3-1 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, rhevm-setup with automatic provisioning ignored a database password if one was supplied in the answer file. A new random password was generated and written to the generated answer file. Now, for automatic provisioning, if a password is supplied in the answer file, it is not ignored, and the password is not written to the answer file that is generated at the end.
|
Story Points: | --- |
| Clone Of: | 1133621 | Environment: | |
| Last Closed: | 2014-10-23 12:30:41 UTC | Type: | --- |
| 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: | 1133621 | ||
| Bug Blocks: | |||
|
Comment 1
Yedidyah Bar David
2014-09-08 12:11:41 UTC
Verified with rhevm-setup-3.4.3-1.1.el6ev.noarch. generated an answer file with db credentials (username, database name, self defined password) and: OVESETUP_PROVISIONING/postgresProvisioningEnabled=bool:True ran engine-setup with this answer file, setup was successful, tried to connect to DB with my defined password was successful as well: export PGPASSWORD=mypass; psql -d engine -U engine -h localhost -t -A -c '--' Julie, not sure the doctext as-is is good enough. engine-setup was also changed to not keep the password in the answer file if automatic provisioning was selected. This means that by default, we keep the previous behavior: running engine-setup with automatic provisioning creates a random password, and creates an answer file. If this answer file is used to run engine-setup, it will create another random password. The way this works: Before this bug/fix - because if setup does auto provisioning, a password in the answer file is ignored After this bug/fix - because setup does not write the password to the generated answer file. The flow that changed is - running setup with an answer file that asks for auto provisioning and supplies a password. This flow can happen by either using an answer file generated by an older setup (not containing this fix) or by manually editing the answer file and adding a password. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-1712.html |