Project

Profile

Help

Issue #1653

Updated by dkliban@redhat.com almost 7 years ago

Trying to sync a repo fails and the following exception is logged: 

 <pre> 

 pulp.server.webservices.middleware.exception:ERROR: (30990-64096) Connection instance has no attribute 'set_exception_notify_handler' 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096) Traceback (most recent call last): 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       response = wrapped_callback(request, *callback_args, **callback_kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return self.dispatch(request, *args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return handler(request, *args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/decorators.py", line 241, in _auth_decorator 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return _verify_auth(self, operation, super_user_only, method, *args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/decorators.py", line 195, in _verify_auth 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       value = method(self, *args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/util.py", line 130, in wrapper 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return func(*args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/webservices/views/repositories.py", line 1058, in post 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       async_result = repo_controller.queue_sync_with_auto_publish(repo_id, overrides) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/celery/local.py", line 167, in <lambda> 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       __call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__ 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return super(PulpTask, self).__call__(*args, **kwargs)  
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/celery/app/task.py", line 420, in __call__ 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return self.run(*args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 700, in queue_sync_with_auto_publish 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       kwargs=kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 400, in apply_async_with_reservation 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       queue=RESOURCE_MANAGER_QUEUE) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 95, in apply_async 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return super(PulpTask, self).apply_async(*args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/celery/app/task.py", line 555, in apply_async 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       **dict(self._get_exec_options(), **options) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/celery/app/base.py", line 351, in send_task 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       reply_to=reply_to or self.oid, **options 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/celery/app/amqp.py", line 305, in publish_task 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       **kwargs 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/messaging.py", line 172, in publish 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       routing_key, mandatory, immediate, exchange, declare)   
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 436, in _ensured 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       return fun(*args, **kwargs) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/messaging.py", line 177, in _publish 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       channel = self.channel 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/messaging.py", line 194, in _get_channel 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       channel = self._channel = channel() 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/utils/__init__.py", line 425, in __call__ 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       value = self.__value__ = self.__contract__() 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/messaging.py", line 209, in <lambda> 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       channel = ChannelPromise(lambda: connection.default_channel) 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 756, in default_channel 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       self.connection 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 741, in connection 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       self._connection = self._establish_connection() 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 696, in _establish_connection 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       conn = self.transport.establish_connection() 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)     File "/usr/lib/python2.7/site-packages/kombu/transport/qpid.py", line 1600, in establish_connection 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096)       conn.get_qpid_connection().set_exception_notify_handler( 
 pulp.server.webservices.middleware.exception:ERROR: (30990-64096) AttributeError: Connection instance has no attribute 'set_exception_notify_handler' 
 </pre>

Back