Satellite 5.6: recognize_guests.py fails with Python traceback "AttributeError: DEFAULT_DB" error

Solution Verified - Updated -

Issue

  • When running recognize_guests.py on Satellite 5.6 server the following traceback is thrown:
# ./recognize_guests.py
Traceback (most recent call last):
  File "./recognize_guests.py", line 229, in <module>
    main()
  File "./recognize_guests.py", line 102, in main
    db = options.db or CFG.DEFAULT_DB
  File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnConfig.py", line 222, in __getattr__
    raise AttributeError(key)
AttributeError: DEFAULT_DB

Environment

  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In