Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 919664

Summary: "sync_repos.py" stooped working after Spacewalk update to 1.9
Product: [Community] Spacewalk Reporter: Sebastian <sebastian.seo>
Component: ServerAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.9CC: jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-09 16:48:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1484117    

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 (Red Hat) 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.