Bug 1468376 - upgrade to CF 4.5 complains about "could not find nokogiri-1.6.8" during "rake db:migrate"
Summary: upgrade to CF 4.5 complains about "could not find nokogiri-1.6.8" during "rak...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Build
Version: 5.8.0
Hardware: All
OS: All
unspecified
high
Target Milestone: GA
: 5.8.1
Assignee: Satoe Imaishi
QA Contact: luke couzens
URL:
Whiteboard: black:upgrade:migration
: 1469015 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-06 21:24 UTC by Ryan Spagnola
Modified: 2022-07-09 08:42 UTC (History)
10 users (show)

Fixed In Version: 5.8.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-02 17:33:18 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1758 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-08-02 21:23:43 UTC

Description Ryan Spagnola 2017-07-06 21:24:32 UTC
Description of problem:
09:37:19 [/var/www/miq/vmdb]$ rake db:migrate
Could not find nokogiri-1.6.8 in any of the sources
Run `bundle install` to install missing gems.

09:39:04 [/var/www/miq/vmdb]$ rpm -qa | grep nokogiri
rh-ruby23-rubygem-nokogiri-1.7.2-1.el7cf.x86_64
rh-ruby22-rubygem-nokogiri-1.6.6.2-3.el7cf.x86_64

------------------------------------------------------------------------------   


Version-Release number of selected component (if applicable):
5.7.3
5.8.x

How reproducible:
Always

Steps to Reproduce:
1. follow doc for upgrading from 5.7 to 5.8
2.
3.

Actual results:
missing gem error

Expected results:
successful upgrade to 5.8

Additional info:
Upgrading from 5.7.2 works fine. This issue only appears when upgrading from 5.7.3

Comment 2 luke couzens 2017-07-07 09:41:31 UTC
Hey Ryan,

Is there any extra info you could give on this?

I have tried on 6 appliances now and none are seeing this issue.

What version did you update to 5.8.1.0?

Thanks,
Luke

Comment 3 myoder 2017-07-07 23:50:17 UTC
Hey Luke,

We have no problem upgrading from 5.7.2 to 5.8.0.   The problem is only going from 5.7.3 to 5.8.0.


5.7.3 seems to install this as a prereq:
	rh-ruby23-rubygem-nokogiri-1.7.2-1.el7cf.x86_64


But, 5.8.0 has a lower version.
	rh-ruby23-rubygem-nokogiri-1.6.8-1.el7cf.x86_64

Best,
Yoder

Comment 4 luke couzens 2017-07-10 09:07:19 UTC
Hi Yoder,

I see the same thing now on 5.7.3.2 to 5.8.0.17.

Originally I was testing 5.7.3.2 - 5.8.1 as the bz just said 5.8.z,
so thanks for the clarification.

Comment 5 Satoe Imaishi 2017-07-10 15:45:09 UTC
*** Bug 1469015 has been marked as a duplicate of this bug. ***

Comment 6 Satoe Imaishi 2017-07-10 18:43:03 UTC
The workaround is to run "yum downgrade rh-ruby23-rubygem-nokogiri-1.6.8-1.el7cf.x86_64" after "yum update".

Comment 9 luke couzens 2017-07-19 10:53:01 UTC
Verified in 5.8.1.2

Comment 13 errata-xmlrpc 2017-08-02 17:33:18 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-2017:1758


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