Getting errors when trying to sync RHUA "AttributeError: 'NoneType' object has no attribute 'find'"

Solution Verified - Updated -


  • When trying to sync the RHUA, we are seeing this error:
Unexpected error caught at the shell level
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/rhui/tools/", line 86, in safe_listen
  File "/usr/lib/python2.6/site-packages/rhui/tools/", line 112, in listen
  File "/usr/lib/python2.6/site-packages/rhui/common/", line 186, in listen
    item.func(*args, **item.kwargs)
  File "/usr/lib/python2.6/site-packages/rhui/tools/screens/", line 94, in repo_display
    self.pulp.repos_with_sync_status, False)
  File "/usr/lib/python2.6/site-packages/rhui/tools/screens/", line 375, in _sync_display
    data_sets = retrieve_func()
  File "/usr/lib/python2.6/site-packages/rhui/tools/", line 239, in repos_with_sync_status
    full_repo = self.repo(repo['id'])
  File "/usr/lib/python2.6/site-packages/rhui/tools/", line 140, in repo
    raise e
ServerRequestError: (500, u"AttributeError: 'NoneType' object has no attribute 'find'", u'Traceback (most recent call last):\n  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/", line 48, in report_error\n    return method(self, *args, **kwargs)\n  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/", line 127, in _auth_decorator\n    value = method(self, *args, **kwargs)\n  File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/", line 428, in GET\n    task = scheduled_sync.find_scheduled_task(repo[\'id\'], \'_sync\')\n  File "/usr/lib/python2.6/site-packages/pulp/server/api/", line 148, in find_scheduled_task\n    for task in async.find_async(method_name=method_name):\n  File "/usr/lib/python2.6/site-packages/pulp/server/", line 110, in find_async\n    return _queue.find(**kwargs)')


  • Red Hat Update Infrastructure 2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content