Bug 1103884 - [RFE] Add pre-installation check to verify the enabled yum repositories
Summary: [RFE] Add pre-installation check to verify the enabled yum repositories
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
: 1297561 (view as bug list)
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker 1245506
TreeView+ depends on / blocked
 
Reported: 2014-06-02 19:32 UTC by Mike McCune
Modified: 2023-09-14 02:09 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-31 17:28:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2014-06-02 19:32:23 UTC
If your system has more than the allowed set of repositories there can often arise conflicting versions of various rubygem RPMs which will cause the installer to fail.  The user should install ruby193 RPMs from the following repositories *ONLY*:

rhel-server-rhscl-6-beta-rpms 
rhel-6-server-rpms 
rhel-server-6-satellite-6-beta-rpms 

Lets add a pre-check in the installer that will verify the repoids of the enabled repositories to ensure the system isn't being configured with invalid software.

Comment 1 Mike McCune 2014-06-02 19:34:41 UTC
additional:

the user often will see this in the installation log if conflicting rubygems are installed which isn't that easy to diagnose:

[ERROR 2014-06-02 14:14:54 main]  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
[ERROR 2014-06-02 14:14:54 main]  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
[ERROR 2014-06-02 14:20:08 main]  Could not start Service[katello-jobs]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait katello-jobs start' returned 1: 
[ERROR 2014-06-02 14:20:08 main]  /Stage[main]/Katello::Service/Service[katello-jobs]/ensure: change from stopped to running failed: Could not start Service[katello-jobs]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait katello-jobs start' returned 1:

Comment 3 Brad Buckingham 2014-07-30 17:42:01 UTC
Note: in order to not introduce errors, we should make this a check for if the user is subscribed to the cdn, confirm the repoids; otherwise, do not.

Comment 6 Xixi 2016-06-01 00:38:25 UTC
Hi Chris/all, are these duplicates?

Bug 1297561 [RFE] Enhance the installer to check for subscription to specific repositories
Bug 1266825 [RFE] Satellite 6 installer katello-install: automatically select correct repos for Sat server

Comment 7 Stephen Benjamin 2016-08-01 17:38:12 UTC
*** Bug 1297561 has been marked as a duplicate of this bug. ***

Comment 8 Stephen Benjamin 2016-08-01 17:40:23 UTC
I think the first is a dupe but https://bugzilla.redhat.com/show_bug.cgi?id=1266825 sounds like it asks for something slightly different as it wants the installer to configure the repos if they're not already (if I'm reading it right).

Comment 12 Bryan Kearney 2017-08-31 17:28:16 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 13 Red Hat Bugzilla 2023-09-14 02:09:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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