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 - spacewalk-common-channels do not process i586 channels
Summary: spacewalk-common-channels do not process i586 channels
Status: NEW
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.5
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
Depends On:
TreeView+ depends on / blocked
Reported: 2016-07-15 21:31 UTC by Luzemario
Modified: 2019-02-25 13:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1357134
Last Closed:

Attachments (Terms of Use)

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.

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