Bug 1643733
Summary: | [upgrade] Post upgrade, new options are not available in virt profile | |||
---|---|---|---|---|
Product: | [oVirt] ovirt-node | Reporter: | SATHEESARAN <sasundar> | |
Component: | General | Assignee: | Yuval Turgeman <yturgema> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Huijuan Zhao <huzhao> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.2 | CC: | bugs, cshao, eheftman, rhs-bugs, sabose, sankarshan, yturgema | |
Target Milestone: | ovirt-4.3.0 | Keywords: | ZStream | |
Target Release: | --- | Flags: | rule-engine:
ovirt-4.3+
huzhao: testing_plan_complete+ |
|
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | imgbased-1.1.2 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, after performing an upgrade, packages that shipped files under /var were not updated correctly as /var was not layered.
In this release, if an updated file exists on both the new image and the running system, the original file will be saved as ".imgbak" and the new file will be copied over enabling both the original and new files to reside under /var.
|
Story Points: | --- | |
Clone Of: | 1643730 | |||
: | 1654147 (view as bug list) | Environment: | ||
Last Closed: | 2019-02-13 07:45:10 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1643730, 1654147 |
Description
SATHEESARAN
2018-10-28 03:04:42 UTC
QE can reproduce this issue. Test version: # imgbase layout rhvh-4.1-0.20180425.0 +- rhvh-4.1-0.20180425.0+1 rhvh-4.2.7.3-0.20181026.0 +- rhvh-4.2.7.3-0.20181026.0+1 Test steps: 1. Install redhat-virtualization-host-4.1-20180426.0 2. Check for the contents of virt profile /var/lib/glusterd/groups/virt 3. Upgrade rhvh to 4.2.7 rhvh-4.2.7.3-0.20181026.0 4. Check for the contents of virt profile /var/lib/glusterd/groups/virt 5. Clean install rhvh-4.2.7.3-0.20181026.0 6. Check for the contents of virt profile /var/lib/glusterd/groups/virt Test results: 1. After step 4, the contents of virt profile is same as step 2: # cat /var/lib/glusterd/groups/virt performance.quick-read=off performance.read-ahead=off performance.io-cache=off performance.low-prio-threads=32 network.remote-dio=enable cluster.eager-lock=enable cluster.quorum-type=auto cluster.server-quorum-type=server cluster.data-self-heal-algorithm=full cluster.locking-scheme=granular cluster.shd-max-threads=8 cluster.shd-wait-qlength=10000 features.shard=on user.cifs=off 2. After step 6, the contents of virt profile is not same as step 4: # cat /var/lib/glusterd/groups/virt performance.quick-read=off performance.read-ahead=off performance.io-cache=off performance.low-prio-threads=32 network.remote-dio=enable cluster.eager-lock=enable cluster.quorum-type=auto cluster.server-quorum-type=server cluster.data-self-heal-algorithm=full cluster.locking-scheme=granular cluster.shd-max-threads=8 cluster.shd-wait-qlength=10000 features.shard=on user.cifs=off cluster.choose-local=off client.event-threads=4 server.event-threads=4 performance.client-io-threads=on This bug is fixed in redhat-virtualization-host-4.2-20181128.0 Test version: # imgbase layout rhvh-4.1-0.20180425.0 +- rhvh-4.1-0.20180425.0+1 rhvh-4.2.8.0-0.20181127.0 +- rhvh-4.2.8.0-0.20181127.0+1 Test steps: Same as comment 1 Test results: 1. After step4, the contents of virt profile is different as step 2 2. After step6, the contents of virt profile is same as step 4 So new virt profile has the new content. I checked the process to handle /var during upgrade via /var/log/imgbased.log, and tested some special configurations in /var which should be persisted from old layer, all are ok. Such as: modified files in /var/imgbased/persisted-rpms/, /var/log, /var/crash, /var So this bug is fixed in rhvh-4.2.8.0-0.20181127.0, will verify this bug once the status move to ON_QA. Tested in redhat-virtualization-host-4.3-20190109.0 according to Comment 3, this bug is fixed. Move the status to VERIFIED. This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 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. |