Bug 1351339 - default repo's stored in the appliance are incorrect
Summary: default repo's stored in the appliance are incorrect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.6.0
Hardware: All
OS: All
urgent
urgent
Target Milestone: GA
: 5.7.0
Assignee: Gregg Tanzillo
QA Contact: Jan Krocil
URL:
Whiteboard: upgrade
: 1352919 1367801 (view as bug list)
Depends On:
Blocks: 1351669
TreeView+ depends on / blocked
 
Reported: 2016-06-29 19:13 UTC by Josh Carter
Modified: 2017-01-12 04:53 UTC (History)
12 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1351669 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:03:17 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
repo's (72.12 KB, image/png)
2016-06-29 19:14 UTC, Josh Carter
no flags Details

Description Josh Carter 2016-06-29 19:13:19 UTC
Description of problem:

If a user attempts to register the appliance to Red Hat via the UI it will attach the 4.0 repo's and not attach the 4.1 repo's.

Looks like they are stored in this file -> https://github.com/ManageIQ/manageiq/blob/master/app/models/miq_database.rb#L34-L36

They are listed as cf-me-5.5-for-rhel-7-rpms rhel-server-rhscl-7-rpms

It should be cf-me-5.6-for-rhel-7-rpms rhel-server-rhscl-7-rpms

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Josh Carter 2016-06-29 19:14:02 UTC
Created attachment 1174164 [details]
repo's

Comment 4 CFME Bot 2016-06-29 21:56:17 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9956383988a9a6d670bc65b8cfd4b45a5361e6d6

commit 9956383988a9a6d670bc65b8cfd4b45a5361e6d6
Author:     Nick Carboni <ncarboni>
AuthorDate: Wed Jun 29 16:00:49 2016 -0400
Commit:     Nick Carboni <ncarboni>
CommitDate: Wed Jun 29 16:20:18 2016 -0400

    Update the default values for the upgrade repo names
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1351339

 app/models/miq_database.rb       | 2 +-
 spec/models/miq_database_spec.rb | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 5 CFME Bot 2016-06-29 21:56:20 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3025e51f5e206381ca530d9e05ed6cfe4ca6bd1b

commit 3025e51f5e206381ca530d9e05ed6cfe4ca6bd1b
Author:     Nick Carboni <ncarboni>
AuthorDate: Wed Jun 29 15:59:50 2016 -0400
Commit:     Nick Carboni <ncarboni>
CommitDate: Wed Jun 29 16:20:18 2016 -0400

    Add migration to update repo names for updates
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1351339

 ...425161456_update_default_yum_repo_name_for56.rb | 27 ++++++++++++++++++++
 ...1456_update_default_yum_repo_name_for56_spec.rb | 29 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 db/migrate/20160425161456_update_default_yum_repo_name_for56.rb
 create mode 100644 spec/migrations/20160425161456_update_default_yum_repo_name_for56_spec.rb

Comment 6 Nick Carboni 2016-07-06 15:00:57 UTC
*** Bug 1352919 has been marked as a duplicate of this bug. ***

Comment 7 Josh Carter 2016-08-17 21:13:54 UTC
*** Bug 1367801 has been marked as a duplicate of this bug. ***

Comment 8 Jan Krocil 2016-10-27 08:11:39 UTC
Verified fixed in 5.7.0.7 - 5.7.0.7-beta1.20161025153249_9376fbd.

Repos: "cf-me-5.7-for-rhel-7-rpms rhel-server-rhscl-7-rpms"


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