Bug 559370 - RFE: Ability to use non-Redhat channels with default base channel feature
RFE: Ability to use non-Redhat channels with default base channel feature
Status: CLOSED CURRENTRELEASE
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
0.8
All Linux
low Severity medium
: ---
: ---
Assigned To: Michael Mráka
Red Hat Satellite QA List
: FutureFeature
Depends On:
Blocks: spacewalk-rfe space18
  Show dependency treegraph
 
Reported: 2010-01-27 16:47 EST by eric.heydrick
Modified: 2012-11-20 05:31 EST (History)
4 users (show)

See Also:
Fixed In Version: spacewalk-utils-1.8.11-1
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-01 12:17:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description eric.heydrick 2010-01-27 16:47:53 EST
Description of problem: I would like the ability to use the 'default base channel' feature with non-Redhat supplied channels. This would allow using one activation key for multiple architectures or distributions. Right now I have to assign a different activation key to each base channel architecture.
Comment 1 Jan Pazdziora 2010-11-19 11:02:30 EST
Mass-moving to space13.
Comment 2 Miroslav Suchý 2011-04-11 03:30:59 EDT
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Comment 3 Miroslav Suchý 2011-04-11 03:36:14 EDT
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Comment 4 Jan Pazdziora 2011-07-20 07:48:27 EDT
Aligning under space16.
Comment 5 Paul Robert Marino 2012-04-03 14:21:33 EDT
please try the script I attached in this email
https://www.redhat.com/archives/spacewalk-devel/2012-March/msg00085.html
it should work
Comment 6 Michael Mráka 2012-05-04 04:24:52 EDT
spacewalk-common-channel now has ability to create default channel mapping.

E.g.
 spacewalk-common-channel --user admin --password password --default-channels -v 'centos6'
Comment 7 Jan Pazdziora 2012-10-30 15:22:34 EDT
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/
Comment 8 Jan Pazdziora 2012-11-01 12:17:33 EDT
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18
Comment 9 Jon Nierenburg 2012-11-16 20:09:17 EST
Trying to create a 'Distribution Channel Map' for CentOS fails because "Releases cannot be less than 3 characters."  

From the GUI (Channels->Distribution Channel Mapping->Create new...) I tried input inputting the following:
Operating System: centos-release
Release: 5
Architecture: x86_64
Channel Label: CentOS 6 - x86_64


I modified Paul Marino's script slightly to use the distchannel.setMapForOrg and I was able to create distributions maps for Centos 5 and 6.
Comment 10 Paul Robert Marino 2012-11-19 12:14:21 EST
Huh I was about to mark the script as deprecated but if there is still a need I would be happy to update it
Comment 11 Michael Mráka 2012-11-20 05:31:59 EST
Fixed in spacewalk master by
commit d7771ca94a2db07d84e2379ff52e3fb8af3fb601
    decrease distChannelMap release minimal length
    as e.g. CentOs5 uses '5' by default

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