Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1155514

Summary: Preupgrade fails on system check RHEL 6.6
Product: Red Hat Enterprise Linux 6 Reporter: Christophe Augello <caugello>
Component: preupgrade-assistant-contentsAssignee: Petr Stodulka <pstodulk>
Status: CLOSED ERRATA QA Contact: Juraj Marko <jmarko>
Severity: high Docs Contact:
Priority: high    
Version: 6.6CC: aupadhye, fkluknav, jaeshin, jkurik, nlevinki, ovasik, pdwyer, phracek, ttomecek
Target Milestone: rcKeywords: Extras, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: preupgrade-assistant-contents-0.6.7-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-12 08:28:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
preupgrade-result
none
patch none

Description Christophe Augello 2014-10-22 09:21:01 UTC
Description of problem:
For a inplace upgrade from RHEL 6.6 to RHEL 7, when running the command preupg it fails on check system version.

Version-Release number of selected component (if applicable):
RHEL 6.6

How reproducible:
Install RHEL 6.5 @Base

Steps to Reproduce:
1. subscription-manager --enable repos=rhel-6-server-rpms
2. yum update -y; reboot
3. cat /etc/redhat-release => Red Hat Enterprise Linux Server release 6.6 (Santiago)
4.subscription-manager repos --enable rhel-6-server-extras-rpms 
5.subscription-manager repos --enable rhel-6-server-optional-rpms 
6.yum -y install preupgrade-assistant preupgrade-assistant-ui preupgrade-assistant-contents
7.preupg

Actual results:

Check the system version      |fail       

Expected results:

Check the system version      |pass      

Additional info:

Comment 1 Christophe Augello 2014-10-22 09:36:55 UTC
Created attachment 949320 [details]
preupgrade-result

Comment 3 Ondrej Vasik 2014-10-22 10:02:33 UTC
Thanks for report, assigned to proper component (as this is caused by contents). Unfortunately, the logs you sent are not revealing the culprit - I can only assume you have more kernels on the system and 1st in rpm -q kernel is from rhel 6.5 (test is not correct here and has to be fixed for future update, sorry). I see one more issue in your log ... /etc/cryptsetup saved in top dir, it should be either in dirtyconf or cleanconf , Petr, please check what's wrong there as well.
Reporter:
Can you please provide rpm -q kernel and rpm -q glibc from the system, so we can confirm this assumption?

Comment 4 Ondrej Vasik 2014-10-22 10:05:52 UTC
(as a workaround suggestion, rpm -e on older kernels should remove the extreme risk, if the system is fully updated RHEL6.6 and if the assumptions about more kernels installed is correct)

Comment 6 Petr Stodulka 2014-10-23 08:16:43 UTC
Created attachment 949726 [details]
patch

Added sort -Vr for "rpm -q" output. It should be OK now.

Comment 11 Petr Hracek 2014-10-24 12:55:13 UTC
*** Bug 1156283 has been marked as a duplicate of this bug. ***

Comment 20 Ondrej Vasik 2014-10-31 15:24:48 UTC
*** Bug 1159334 has been marked as a duplicate of this bug. ***

Comment 23 errata-xmlrpc 2014-11-12 08:28:24 UTC
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-1837.html