Bug 1519784
Summary: | oVirt Node upgrade fails if SELINUX is disabled | |||
---|---|---|---|---|
Product: | [oVirt] ovirt-node | Reporter: | Kilian Ries <mail> | |
Component: | Installation & Update | Assignee: | Yuval Turgeman <yturgema> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Huijuan Zhao <huzhao> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.1 | CC: | bugs, cshao, lveyde, rbarry | |
Target Milestone: | ovirt-4.2.1 | Flags: | rule-engine:
ovirt-4.2+
huzhao: testing_ack+ |
|
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1542833 (view as bug list) | Environment: | ||
Last Closed: | 2018-02-12 11:46:56 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: | 1542833 |
Description
Kilian Ries
2017-12-01 13:03:50 UTC
The traceback here is misleading. Please remove the NIST LVs before attempting to upgrade again. Why is selinux disabled? We can patch around this by checking in SELinuxContext, but oVirt Node runs without problems with SELinux enabled. Yes that is right, it was not the right imgbased-log. I have another one where i removed the LVs before upgrade. SELINUX is disabled because of a third party package which i installed via yum (wich is not compatible with SELINUX) ... QE can reproduce this issue. Test version: From: ovovirt-node-ng-installer-ovirt-4.1-pre-2017101110.iso To: ovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch.rpm Test steps: 1. Install ovovirt-node-ng-installer-ovirt-4.1-pre-2017101110.iso 2. Disable selinux # getenforce Disabled 3. Upgrade ovirt-node to ovovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch.rpm Actual results: After step3, upgrade failed. # yum install ovirt-node to ovovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch.rpm ... Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : ovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch 1/2 warning: %post(ovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package ovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch Erasing : ovirt-node-ng-image-update-placeholder-4.1.7-0.3.rc3.20171010112718.git2411e97.el7.centos.noarch 2/2 Verifying : ovirt-node-ng-image-update-4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos.noarch 1/2 Verifying : ovirt-node-ng-image-update-placeholder-4.1.7-0.3.rc3.20171010112718.git2411e97.el7.centos.noarch 2/2 Installed: ovirt-node-ng-image-update.noarch 0:4.2.0-0.3.beta.20171115142956.gitba54278.el7.centos Replaced: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.7-0.3.rc3.20171010112718.git2411e97.el7.centos Complete! Expected results: After step3, can upgrade successful. Test version: From: rhvh-4.1-0.20171101.0 To: rhvh-4.2.1.2-0.20180126.0 imgbased-1.0.8-0.1.el7ev.noarch Test steps: Same as Comment 3 Test results: After Step3, can upgrade successful. So this bug is fixed in rhvh-4.2.1.2-0.20180126.0, change the status to VERIFIED. This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 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. |