Getting errors when trying to sync RHUA "AttributeError: 'NoneType' object has no attribute 'find'"
Issue
- 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/shell.py", line 86, in safe_listen
self.listen(clear=first_run)
File "/usr/lib/python2.6/site-packages/rhui/tools/shell.py", line 112, in listen
Shell.listen(self)
File "/usr/lib/python2.6/site-packages/rhui/common/shell.py", line 186, in listen
item.func(*args, **item.kwargs)
File "/usr/lib/python2.6/site-packages/rhui/tools/screens/sync.py", line 94, in repo_display
self.pulp.repos_with_sync_status, False)
File "/usr/lib/python2.6/site-packages/rhui/tools/screens/sync.py", line 375, in _sync_display
data_sets = retrieve_func()
File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", line 239, in repos_with_sync_status
full_repo = self.repo(repo['id'])
File "/usr/lib/python2.6/site-packages/rhui/tools/pulp_api.py", 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/decorators.py", line 48, in report_error\n return method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator\n value = method(self, *args, **kwargs)\n File "/usr/lib/python2.6/site-packages/pulp/server/webservices/controllers/repositories.py", 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/scheduled_sync.py", 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/async.py", line 110, in find_async\n return _queue.find(**kwargs)')
Environment
- Red Hat Update Infrastructure 2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
