Bug 919664 - "sync_repos.py" stooped working after Spacewalk update to 1.9
Summary: "sync_repos.py" stooped working after Spacewalk update to 1.9
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2013-03-09 10:49 UTC by Sebastian
Modified: 2017-09-28 18:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-09 16:48:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Sebastian 2013-03-09 10:49:02 UTC
Description of problem:

The Spacewalk script to sync the repos stooped working after Spacewalk update 1.8 -> 1.9:

https://fedorahosted.org/spacewalk/attachment/wiki/UploadFedoraContent/sync_repos.py

How reproducible:

# ./sync_repos.py 
Traceback (most recent call last):
  File "./sync_repos.py", line 15, in <module>
    db_string = CFG.DEFAULT_DB 
  File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py", line 221, in __getattr__
    raise AttributeError(key)
AttributeError: DEFAULT_DB

Comment 1 Jan Pazdziora 2013-03-09 16:48:33 UTC
I have updated that script to match Spacewalk 1.9.

Comment 2 Eric Herget 2017-09-28 18:11:45 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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