Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1357153

Summary: spacewalk-common-channels do not process i586 channels
Product: [Community] Spacewalk Reporter: Luzemario <luzemario>
Component: ServerAssignee: Jan Dobes <jdobes>
Status: NEW --- QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.5CC: jdobes, satellite-qa-list
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1357134 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Luzemario 2016-07-15 21:31:10 UTC
Description of problem: spacewalk-common-channels throws an error when installing all channels at 'i586' arch.


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


How reproducible:

run spacewalk-common-channels to add all channels


Steps to Reproduce:
1. Run spacewalk-common-channels with all channels '*' option or using -a i586 option with a i586 channel (i.e. opensuse13_2)
2. An error message will be generated when processing the first 'i586' channel architeture
3. the processing is aborted and no more channels are added

Actual results:

[root@swalk ~]# spacewalk-common-channels -u admin -p pass -k unlimited '*'
Traceback (most recent call last):
  File "/usr/bin/spacewalk-common-channels", line 248, in <module>
    base_info['summary'], CHANNEL_ARCH[base_info['arch']],
KeyError: 'i586'


Expected results:

All i586 channels must be added.

Additional info:

This error occur when processing 'opensuse13_2' for the first time, since their 386 arch is 586.

Running spacewalk-common-channels -u admin -p pass -k unlimited 'opensuse13_2-i586' does not throws an error, but the channel is not added.