Bug 625904 - Changing Architectures of the RHEV-M Related Beta Channels
Summary: Changing Architectures of the RHEV-M Related Beta Channels
Alias: None
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Rel-Eng (Show other bugs)
(Show other bugs)
Version: RHN Stable
Hardware: All Linux
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Network Quality Assurance
Depends On:
Blocks: 627357
TreeView+ depends on / blocked
Reported: 2010-08-20 18:29 UTC by Jay Greguske
Modified: 2010-09-01 14:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-26 14:33:00 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Jay Greguske 2010-08-20 18:29:47 UTC
RHN beta channels related to the RHEV-M product have an incorrect architecture: they are listed as x86_64 but it should be IA-32/i386. The arch is also present in the channel labels (and their corresponding families) which is inconsistent and we'd like it to be fixed.

The channel labels that need to change are:
rhev-x86_64-m-d-2-beta ---> rhev-i386-m-d-2-beta
rhev-x86_64-m-s-2-beta ---> rhev-i386-m-s-2-beta

and the family labels that need to change are exactly the same:
rhev-x86_64-m-d-2-beta ---> rhev-i386-m-d-beta-2
rhev-x86_64-m-s-2-beta ---> rhev-i386-m-s-2-beta

These changes need to be replicated in stage and prod environments too.

We did this a while ago for the GA channels but skipped the beta ones because they had content in them and we didn't want to disrupt the beta program. RHEV is not in a beta program right now, so we have time to fix them. This change can't be accomplished using the RCM tooling, because the channel/family label is the *id* those tools work with.  Therefore, it must be done with SQL run against the DB.

My guess of the right SQL to run is below. I HAVE NOT VERIFIED THIS because I do not have DB access to any of the RHN environments.

update rhn.rhnchannel c
   set c.label = 'rhev-i386-m-d-2-beta'
 where c.label = 'rhev-x86_64-m-d-2-beta';

update rhn.rhnchannel c
   set c.label = 'rhev-i386-m-s-2-beta'
 where c.label = 'rhev-x86_64-m-s-2-beta';

update rhn.rhnchannelfamily cf
   set cf.label = 'rhev-i386-m-d-2-beta'
 where cf.label = 'rhev-x86_64-m-d-2-beta';

update rhn.rhnchannelfamily cf
   set cf.label = 'rhev-i386-m-s-2-beta'
 where cf.label = 'rhev-x86_64-m-s-2-beta';

Comment 1 Stephen Herr 2010-08-20 20:26:23 UTC
See BZ 511343 and https://www.re.redhat.com/cm/rfc/view/1269/ for the old issue / solution, this is virtually identical but with '-beta' at the end.

Comment 2 Stephen Herr 2010-08-26 14:33:00 UTC
On closer inspection this request is impossible, we cannot change channel family labels that have been released to customers. The other bug was okay because access had not been granted to anyone at that point. 

Reverting changes in webdev and webqa.

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