Bug 1105873
| Summary: | [RHEVM-SETUP] - upgrade of dwh fails using previously generated answer file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yedidyah Bar David <didi> |
| Component: | ovirt-engine-dwh | Assignee: | Yedidyah Bar David <didi> |
| Status: | CLOSED WONTFIX | QA Contact: | Barak Dagan <bdagan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.0 | CC: | aberezin, acathrow, bazulay, bdagan, dfediuck, didi, gklein, iheim, lveyde, pstehlik, rhev-integ, Rhev-m-bugs, sbonazzo, scohen, sradco, stirabos, yeylon, ylavi |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 3.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | Doc Type: | Known Issue | |
| Doc Text: |
Cause:
setup code of 3.3 only allowed having the dwh db on the same host and port of the engine db, and did not keep the host and port in its own conf file, relying on the engine's. setup code of 3.4 does allow different hosts and does keep db host and port for dwh in the dwh conf file.
Consequence:
Due to a difference in the initialization order of internal state, an upgrade from 3.3 to 3.4.0 using an answer file does not set the correct db host and port, which causes it to fail.
Workaround (if any):
To make upgrade from 3.3 to 3.4.0 with an answer file not fail, copy the db host and port from the engine to dwh's conf file, using this command:
sed -rne 's/^ENGINE_DB_(HOST|PORT)=(.*)/DWH_DB_\1=\2/p' \
< /etc/ovirt-engine/engine.conf.d/10-setup-database.conf \
>> /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf
Result:
setup will not fail on upgrade of dwh of 3.3 to 3.4 with an answer file due to this issue.
|
Story Points: | --- |
| Clone Of: | 1100281 | Environment: | |
| Last Closed: | 2014-06-08 12:31:42 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: | 1094016 | ||
| Bug Blocks: | |||