Bug 1605076
| Summary: | [downstream clone - 4.2.5] Config values inconsistency between RHV versions | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | RHV bug bot <rhv-bugzilla-bot> |
| Component: | ovirt-engine | Assignee: | Eli Mesika <emesika> |
| Status: | CLOSED ERRATA | QA Contact: | Lucie Leistnerova <lleistne> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | dluong, lsurette, lsvaty, mgoldboi, michal.skrivanek, mperina, Rhev-m-bugs, rmanes, srevivo, tburke, trichard |
| Target Milestone: | ovirt-4.2.5 | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Release Note | |
| Doc Text: |
There were inconsistencies in the following internal configuration options:
* HotPlugCpuSupported
* HotUnplugCpuSupported
* HotPlugMemorySupported
* HotUnplugMemorySupported
* IsMigrationSupported
* IsMemorySnapshotSupported
* IsSuspendSupported
* ClusterRequiredRngSourcesDefault
If you are having issues with these features, upgrade to Red Hat Virtualization 4.2.5+ to resolve the problem.
|
Story Points: | --- |
| Clone Of: | 1599321 | Environment: | |
| Last Closed: | 2018-07-31 17:49:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1599321 | ||
| Bug Blocks: | |||
|
Description
RHV bug bot
2018-07-20 06:38:32 UTC
Michale, so what's the correct value for HotUnplugMemorySupported for 4.1 clusters? (Originally by Martin Perina) Supported in 4.1 for x86_64 Not supported for ppc64le until 4.2 It was probably broken quite early in 4.1 already without people noticing (Originally by michal.skrivanek) Workaround for existing 4.1/4.2 customers:
1. Login to RHV manager host as root
2. Execute following commands:
. /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
PGPASSWORD="$ENGINE_DB_PASSWORD" psql -h "${ENGINE_DB_HOST}" \
-d "${ENGINE_DB_DATABASE}" -U "${ENGINE_DB_USER}" \
-c "update vdc_options set option_value='{\"x86\":\"true\",\"ppc\":\"false\"}' where option_name = 'HotUnplugMemorySupported' and version='4.1';"
3. Restart ovirt-engine service
systemctl restart ovirt-engine
(Originally by Martin Perina)
This is not specific to the HotUnplugMemorySupported values , in the attached document there are 24 values that are not correct when you compare 4.1 to 4.2 upgrade VS 4.2 clean install (Originally by Eli Mesika) Created attachment 1457836 [details]
config diff between 4.1 to 4.2 upgrade and clean install
(Originally by Eli Mesika)
Marking as a blocker, this affects RHV 4.2 customers upgrading from 4.1 badly (new 4.2 installations are not affected) (Originally by Martin Perina) The reason for most of those changes between upgrade an clean install is [1] which did a change in config in an upgrade script instead of modifying 0000_config.sql directly , since 0000_config.sql is running in each upgrade, the changes made by [1] to 4.0 are overridden whilw installing 4.1 [1] https://gerrit.ovirt.org/#/c/49299/8/packaging/dbscripts/upgrade/04_00_0080_rename_architecture_family.sql (Originally by Eli Mesika) (In reply to Martin Perina from comment #0) Please note that the original bug on the HotUnplugMemorySupported value for 4.1 will not be fixed since it is probably supported but was not tested for 4.1 Customers willing to use this feature will have to enable it manually for 4.1 on their DBs on their own risk (Originally by Eli Mesika) Workaround mentioned in Comment 3 is not valid, HotUnplugMemorySupported should be disabled in RHV 4.1 as it was not fully tested by QE (sorry for the confusion). And what's more important, there are much more inconsistencies on other values: HotPlugCpuSupported HotUnplugCpuSupported HotPlugMemorySupported HotUnplugMemorySupported IsMigrationSupported IsMemorySnapshotSupported IsSuspendSupported ClusterRequiredRngSourcesDefault So if RHV 4.1/4.2 customers, who upgraded from RHV 4.0, have issues around above features, they need to upgrade to RHV 4.2.5+. (Originally by Martin Perina) Upgrade 4.1.11 -> 4.2.5 and clean 4.2.5 has no main differences in vdc_options values
and HotUnplugMemorySupported is {"x86":"false","ppc":"false"} for version < 4.2
verified in ovirt-engine-4.2.5.2-0.1.el7ev.noarch
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://access.redhat.com/errata/RHBA-2018:2318 |