Bug 1655143 - cfme upgrade 5.8 --> 5.9 not working as it requires rh-ruby23-ruby(release) < 2.3.7
Summary: cfme upgrade 5.8 --> 5.9 not working as it requires rh-ruby23-ruby(release) <...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.9.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.6
Assignee: Satoe Imaishi
QA Contact: Md Nadeem
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-30 18:09 UTC by Md Nadeem
Modified: 2022-07-09 10:15 UTC (History)
13 users (show)

Fixed In Version: 5.9.6.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Version 5.9.5.3
Last Closed: 2018-12-13 15:16:05 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3726771 0 None None None 2018-11-30 19:03:25 UTC
Red Hat Product Errata RHSA-2018:3816 0 None None None 2018-12-13 15:16:07 UTC

Description Md Nadeem 2018-11-30 18:09:46 UTC
Description of problem:

After package rh-ruby23-ruby-2.3.8-69.el7(https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=803380) update on 22 Nov 2018 16:45:41 UTC, cfme update(5.8 --> 5.9) not working as  "yum update" fails with below error.

~~~~~~~~~~~~~~~
Error: Package: cfme-5.9.5.3-1.el7cf.x86_64 (cf-me-5.9-for-rhel-7-rpms)
           Requires: rh-ruby23-ruby(release) < 2.3.7
           Removing: rh-ruby23-ruby-libs-2.3.6-67.el7.x86_64 (@koji-override-1/7.5)
               rh-ruby23-ruby(release) = 2.3.6
           Updated By: rh-ruby23-ruby-libs-2.3.8-69.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby23-ruby(release) = 2.3.8
           Available: rh-ruby23-ruby-libs-2.3.0-60.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby23-ruby(release) = 2.3.0
           Available: rh-ruby23-ruby-libs-2.3.1-64.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby23-ruby(release) = 2.3.1
~~~~~~~~~~~~~~~~~~~~~~

Work-around: can use below command
$ yum update --exclude="rh-ruby23-ruby-doc rh-ruby23-ruby-irb rh-ruby23-rubygem-minitest rh-ruby23-rubygem-power_assert rh-ruby23-rubygem-rake rh-ruby23-rubygem-rdoc rh-ruby23-rubygem-test-unit rh-ruby23-rubygems rh-ruby23-rubygems-devel rh-ruby23-ruby rh-ruby23-ruby-devel rh-ruby23-ruby-libs rh-ruby23-ruby-tcltk rh-ruby23-rubygem-bigdecimal rh-ruby23-rubygem-did_you_mean rh-ruby23-rubygem-io-console rh-ruby23-rubygem-json rh-ruby23-rubygem-net-telnet rh-ruby23-rubygem-psych rh-ruby23-ruby-debuginfo"


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


How reproducible: Steps followed as mentioned in guide: https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/migrating_to_red_hat_cloudforms_4.6/index#preparing_for_migration45



Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Dave Johnson 2018-11-30 19:01:48 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 Satoe Imaishi 2018-12-03 14:11:59 UTC
Please use the workaround mentioned in the linked KB article.

Comment 5 Md Nadeem 2018-12-04 11:46:26 UTC
Work-around till the time final fixed out
*****************************************
- If migrating or updating all packages, please use the following command:
# yum update -x 'rh-ruby23-*69*'

- If updating from a CloudForms 4.6.0 (CFME 5.9.0) appliance, please use the following, and only want to upgrade the cfme-appliance package:
# yum update cfme-appliance -x 'rh-ruby23-*69*'

Comment 6 Satoe Imaishi 2018-12-04 14:16:22 UTC
As per discussion with PM/QE/GSS... changes were made to use the latest rh-ruby23 packages in cfme-5.9.z.

Comment 7 Md Nadeem 2018-12-06 06:46:28 UTC
BZ verified
************

I have introspect the build and find that the condition "rh-ruby23-ruby(release) < 2.3.7" is removed in the requirement of cfme-5.9.6.5-3.el7cf.x86_64.rpm , When this will get merged in Red Hat cdn repo, the issue will get resolved.

~~~~~~~~~~~~
$ rpm -qp --requires http://download.eng.bos.redhat.com/brewroot/packages/cfme/5.9.6.5/3.el7cf/x86_64/cfme-5.9.6.5-3.el7cf.x86_64.rpm
......

rh-ruby23-ruby(release)
rh-ruby23-ruby(rubygems)
......
~~~~~~~~~~~~~~~

Where as in earlier version the condition was there which causes the issue.

~~~~~~~~~
 rpm -qp --requires http://download.eng.bos.redhat.com/brewroot/packages/cfme/5.9.6.4/1.el7cf/x86_64/cfme-5.9.6.4-1.el7cf.x86_64.rpm
.....
rh-ruby23-ruby(release) >= 2.3.6
rh-ruby23-ruby(release) < 2.3.7
.....
~~~~~~~~~

Comment 10 errata-xmlrpc 2018-12-13 15:16:05 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://access.redhat.com/errata/RHSA-2018:3816


Note You need to log in before you can comment on or make changes to this bug.