Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1072872 - spacewalk-repo-sync is failing when setting exclude option in /etc/rhn/spacewalk-repo-sync/yum.conf
Summary: spacewalk-repo-sync is failing when setting exclude option in /etc/rhn/spacew...
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: space22
TreeView+ depends on / blocked
Reported: 2014-03-05 10:24 UTC by Neha
Modified: 2016-08-15 02:08 UTC (History)
2 users (show)

Fixed In Version: spacewalk-backend-2.2.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-17 08:41:00 UTC

Attachments (Terms of Use)

Description Neha 2014-03-05 10:24:04 UTC
spacewalk-repo-sync exclude option does not work when setting exclude directive in /etc/rhn/spacewalk-repo-sync/yum.conf

Its failing with error "ERROR: global name 'filter_conf' is not defined"

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


How reproducible:

Steps to Reproduce:
1. create a channel and repo from spacewalk webUi
2. add below in /etc/rhn/spacewalk-repo-sync/yum.conf


3. spacewalk-repo-sync -c <channel-name>

Actual results:
ERROR: global name 'filter_conf' is not defined

Expected results:
It should exclude package listed in yum.conf and sync repo.

Additional info:

Comment 3 Michael Mráka 2014-03-05 11:01:01 UTC
Oh, that's silly typo ;).

Applied to spacewalk master as
commit 2b925d6b329be2dc5280485070617bcc7c17d076
    1072872 - fixed loop variable name

Comment 4 Milan Zázrivec 2014-07-17 08:41:00 UTC
Spacewalk 2.2 has been released:

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