Bug 1403961 - spacewalk-common-channels failed during creating all defaults channels
Summary: spacewalk-common-channels failed during creating all defaults channels
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Pavel Studeník
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2016-12-12 17:36 UTC by Pavel Studeník
Modified: 2017-06-21 12:15 UTC (History)
2 users (show)

Fixed In Version: spacewalk-utils-2.5.1-11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:15:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Studeník 2016-12-12 17:36:20 UTC
Description of problem:
I wanted create all default channels, but I received error from application spacewalk-common-channels:

>> spacewalk-common-channels -u <admin> -p <pass> '*'
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'

And missing last version of Fedora (25).

Version-Release number of selected component (if applicable):
spacewalk-utils-2.5.1-9.el6sat.noarch

How reproducible:
Always

Actual results:
Traceback.

Expected results:
All default channels are created including Fedora 25

Comment 1 Tomáš Kašpárek 2017-02-06 13:42:54 UTC
I've tested it with spacewalk-utils-2.5.1-10.el6sat.noarch and it seems that there's no issue present. Can you please re-check with latest spacewalk-utils package?
Although there are no Fedora 25 channels present.

Comment 2 Pavel Studeník 2017-02-06 13:50:07 UTC
Creating all channels works correct with this package:

spacewalk-utils-2.5.1-10.el6sat.noarch

but it is rather pity that latest Fedora is  missing. Is it possible to add it to this tool?

Comment 3 Tomáš Kašpárek 2017-02-06 14:45:41 UTC
spacewalk.git(master): a66960b1f1af0824a890e601fbe24a11c4cad935

Comment 6 Pavel Studeník 2017-05-10 11:36:42 UTC
Verified spacewalk-utils-2.5.1-22.el6sat.noarch

>> spacewalk-common-channels -u <user> -p <password> "*"

>> spacewalk-remove-channel -l | grep fedora25
fedora25-i386
	fedora25-i386-debug
	fedora25-i386-updates
	fedora25-i386-updates-debug
fedora25-x86_64
	fedora25-x86_64-debug
	fedora25-x86_64-updates
	fedora25-x86_64-updates-debu


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