Taking a quick look at the barbican code, it might be that something isn't setting up the _SESSION_FACTORY [0], but I'm certainly not a barbican expert. Might be worth while to open a bug [1].
[0] https://github.com/openstack/barbican/blob/5b525f6b0a7cf5342a9ffa3ca3618028d6d53649/barbican/model/repositories.py#L95-L113 [1] https://bugs.launchpad.net/barbican On Fri, Feb 16, 2018 at 9:40 AM, <[email protected]> wrote: > Hello, > > > > > > The Keystone Listener outputs the below error, over and over again, when > processing a delete project event. Do you have any idea why this happens? > Happens the same with Ocata and Pike versions. > > > > Thank you, > > Mihaela Balas > > > > 2018-02-16 15:36:02.673 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.673 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111624/334860, now - 111625/334860, monotonic - 895085.445269, > last_heartbeat_sent - 895085.445263, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.675 1 DEBUG oslo_messaging._drivers.amqpdriver [-] > received message with unique_id: 0a407a9a71b641c888c49c0d4674b607 > __call__ /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/amqpdriver.py:257 > > 2018-02-16 15:36:02.675 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.675 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111625/334860, now - 111625/334863, monotonic - 895085.447218, > last_heartbeat_sent - 895085.445263, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.676 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event publisher_id = > identity.keystone-admin-api-2903979735-fsj57 > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:72 > > 2018-02-16 15:36:02.676 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event payload = {u'resource_info': u' > 79d3491d58e542ada54776d2bd68ef7e'} process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:73 > > 2018-02-16 15:36:02.676 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event type = identity.project.deleted process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:74 > > 2018-02-16 15:36:02.677 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event metadata = {'timestamp': u'2018-02-16 > 15:35:48.506374', 'message_id': u'5cc2ef82-75a7-4ce9-a9eb-573ae008f4e4'} > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:75 > > 2018-02-16 15:36:02.677 1 DEBUG barbican.queue.keystone_listener [-] > Keystone Event: resource type=project, operation type=deleted, keystone id= > 79d3491d58e542ada54776d2bd68ef7e process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:80 > > 2018-02-16 15:36:02.677 1 DEBUG barbican.tasks.keystone_consumer [-] > Creating KeystoneEventConsumer task processor __init__ > /opt/barbican/lib/python2.7/site-packages/barbican/tasks/ > keystone_consumer.py:40 > > 2018-02-16 15:36:02.677 1 DEBUG barbican.model.repositories [-] Getting > session... get_session /opt/barbican/lib/python2.7/ > site-packages/barbican/model/repositories.py:353 > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources [-] Could not > retrieve information needed to process task 'Project cleanup via Keystone > notifications'.: TypeError: 'NoneType' object is not callable > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources Traceback (most > recent call last): > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/resources.py", > line 91, in process > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources entity = > self.retrieve_entity(*args, **kwargs) > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/keystone_consumer.py", > line 67, in retrieve_entity > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources > suppress_exception=True) > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 586, in find_by_external_project_id > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources session = > self.get_session(session) > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 354, in get_session > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources return > session or get_session() > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 161, in get_session > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources return > _SESSION_FACTORY() > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources TypeError: > 'NoneType' object is not callable > > 2018-02-16 15:36:02.677 1 ERROR barbican.tasks.resources > > 2018-02-16 15:36:02.678 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: timed out _raise_timeout > /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.678 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: Timeout while waiting on RPC response - > topic: "<unknown>", RPC method: "<unknown>" info: "<unknown>" > _raise_timeout /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.679 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.679 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111625/334863, now - 111626/334863, monotonic - 895085.450656, > last_heartbeat_sent - 895085.450651, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.680 1 DEBUG oslo_messaging._drivers.amqpdriver [-] > received message with unique_id: 0a407a9a71b641c888c49c0d4674b607 > __call__ /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/amqpdriver.py:257 > > 2018-02-16 15:36:02.681 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.681 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111626/334863, now - 111626/334866, monotonic - 895085.452749, > last_heartbeat_sent - 895085.450651, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.681 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event publisher_id = > identity.keystone-admin-api-2903979735-fsj57 > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:72 > > 2018-02-16 15:36:02.682 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event payload = {u'resource_info': u' > 79d3491d58e542ada54776d2bd68ef7e'} process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:73 > > 2018-02-16 15:36:02.682 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event type = identity.project.deleted process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:74 > > 2018-02-16 15:36:02.682 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event metadata = {'timestamp': u'2018-02-16 > 15:35:48.506374', 'message_id': u'5cc2ef82-75a7-4ce9-a9eb-573ae008f4e4'} > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:75 > > 2018-02-16 15:36:02.682 1 DEBUG barbican.queue.keystone_listener [-] > Keystone Event: resource type=project, operation type=deleted, keystone id= > 79d3491d58e542ada54776d2bd68ef7e process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:80 > > 2018-02-16 15:36:02.682 1 DEBUG barbican.tasks.keystone_consumer [-] > Creating KeystoneEventConsumer task processor __init__ > /opt/barbican/lib/python2.7/site-packages/barbican/tasks/ > keystone_consumer.py:40 > > 2018-02-16 15:36:02.683 1 DEBUG barbican.model.repositories [-] Getting > session... get_session /opt/barbican/lib/python2.7/ > site-packages/barbican/model/repositories.py:353 > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources [-] Could not > retrieve information needed to process task 'Project cleanup via Keystone > notifications'.: TypeError: 'NoneType' object is not callable > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources Traceback (most > recent call last): > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/resources.py", > line 91, in process > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources entity = > self.retrieve_entity(*args, **kwargs) > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/keystone_consumer.py", > line 67, in retrieve_entity > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources > suppress_exception=True) > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 586, in find_by_external_project_id > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources session = > self.get_session(session) > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 354, in get_session > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources return > session or get_session() > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 161, in get_session > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources return > _SESSION_FACTORY() > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources TypeError: > 'NoneType' object is not callable > > 2018-02-16 15:36:02.683 1 ERROR barbican.tasks.resources > > 2018-02-16 15:36:02.683 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: timed out _raise_timeout > /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.684 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: Timeout while waiting on RPC response - > topic: "<unknown>", RPC method: "<unknown>" info: "<unknown>" > _raise_timeout /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.684 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.684 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111626/334866, now - 111627/334866, monotonic - 895085.456135, > last_heartbeat_sent - 895085.456126, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.685 1 DEBUG oslo_messaging._drivers.amqpdriver [-] > received message with unique_id: 0a407a9a71b641c888c49c0d4674b607 > __call__ /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/amqpdriver.py:257 > > 2018-02-16 15:36:02.686 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.686 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111627/334866, now - 111627/334869, monotonic - 895085.457888, > last_heartbeat_sent - 895085.456126, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.686 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event publisher_id = > identity.keystone-admin-api-2903979735-fsj57 > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:72 > > 2018-02-16 15:36:02.687 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event payload = {u'resource_info': u' > 79d3491d58e542ada54776d2bd68ef7e'} process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:73 > > 2018-02-16 15:36:02.687 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event type = identity.project.deleted process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:74 > > 2018-02-16 15:36:02.687 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event metadata = {'timestamp': u'2018-02-16 > 15:35:48.506374', 'message_id': u'5cc2ef82-75a7-4ce9-a9eb-573ae008f4e4'} > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:75 > > 2018-02-16 15:36:02.687 1 DEBUG barbican.queue.keystone_listener [-] > Keystone Event: resource type=project, operation type=deleted, keystone id= > 79d3491d58e542ada54776d2bd68ef7e process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:80 > > 2018-02-16 15:36:02.687 1 DEBUG barbican.tasks.keystone_consumer [-] > Creating KeystoneEventConsumer task processor __init__ > /opt/barbican/lib/python2.7/site-packages/barbican/tasks/ > keystone_consumer.py:40 > > 2018-02-16 15:36:02.688 1 DEBUG barbican.model.repositories [-] Getting > session... get_session /opt/barbican/lib/python2.7/ > site-packages/barbican/model/repositories.py:353 > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources [-] Could not > retrieve information needed to process task 'Project cleanup via Keystone > notifications'.: TypeError: 'NoneType' object is not callable > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources Traceback (most > recent call last): > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/resources.py", > line 91, in process > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources entity = > self.retrieve_entity(*args, **kwargs) > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/keystone_consumer.py", > line 67, in retrieve_entity > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources > suppress_exception=True) > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 586, in find_by_external_project_id > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources session = > self.get_session(session) > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 354, in get_session > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources return > session or get_session() > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 161, in get_session > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources return > _SESSION_FACTORY() > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources TypeError: > 'NoneType' object is not callable > > 2018-02-16 15:36:02.688 1 ERROR barbican.tasks.resources > > 2018-02-16 15:36:02.688 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: timed out _raise_timeout > /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.689 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: Timeout while waiting on RPC response - > topic: "<unknown>", RPC method: "<unknown>" info: "<unknown>" > _raise_timeout /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.689 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.689 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111627/334869, now - 111628/334869, monotonic - 895085.461079, > last_heartbeat_sent - 895085.461074, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.690 1 DEBUG oslo_messaging._drivers.amqpdriver [-] > received message with unique_id: 0a407a9a71b641c888c49c0d4674b607 > __call__ /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/amqpdriver.py:257 > > 2018-02-16 15:36:02.691 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.691 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111628/334869, now - 111628/334872, monotonic - 895085.462863, > last_heartbeat_sent - 895085.461074, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.691 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event publisher_id = > identity.keystone-admin-api-2903979735-fsj57 > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:72 > > 2018-02-16 15:36:02.691 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event payload = {u'resource_info': u' > 79d3491d58e542ada54776d2bd68ef7e'} process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:73 > > 2018-02-16 15:36:02.692 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event type = identity.project.deleted process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:74 > > 2018-02-16 15:36:02.692 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event metadata = {'timestamp': u'2018-02-16 > 15:35:48.506374', 'message_id': u'5cc2ef82-75a7-4ce9-a9eb-573ae008f4e4'} > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:75 > > 2018-02-16 15:36:02.692 1 DEBUG barbican.queue.keystone_listener [-] > Keystone Event: resource type=project, operation type=deleted, keystone id= > 79d3491d58e542ada54776d2bd68ef7e process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:80 > > 2018-02-16 15:36:02.692 1 DEBUG barbican.tasks.keystone_consumer [-] > Creating KeystoneEventConsumer task processor __init__ > /opt/barbican/lib/python2.7/site-packages/barbican/tasks/ > keystone_consumer.py:40 > > 2018-02-16 15:36:02.693 1 DEBUG barbican.model.repositories [-] Getting > session... get_session /opt/barbican/lib/python2.7/ > site-packages/barbican/model/repositories.py:353 > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources [-] Could not > retrieve information needed to process task 'Project cleanup via Keystone > notifications'.: TypeError: 'NoneType' object is not callable > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources Traceback (most > recent call last): > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/resources.py", > line 91, in process > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources entity = > self.retrieve_entity(*args, **kwargs) > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/keystone_consumer.py", > line 67, in retrieve_entity > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources > suppress_exception=True) > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 586, in find_by_external_project_id > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources session = > self.get_session(session) > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 354, in get_session > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources return > session or get_session() > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 161, in get_session > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources return > _SESSION_FACTORY() > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources TypeError: > 'NoneType' object is not callable > > 2018-02-16 15:36:02.693 1 ERROR barbican.tasks.resources > > 2018-02-16 15:36:02.693 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: timed out _raise_timeout > /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.694 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: Timeout while waiting on RPC response - > topic: "<unknown>", RPC method: "<unknown>" info: "<unknown>" > _raise_timeout /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.694 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.694 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111628/334872, now - 111629/334872, monotonic - 895085.466161, > last_heartbeat_sent - 895085.466156, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.695 1 DEBUG oslo_messaging._drivers.amqpdriver [-] > received message with unique_id: 0a407a9a71b641c888c49c0d4674b607 > __call__ /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/amqpdriver.py:257 > > 2018-02-16 15:36:02.696 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.696 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111629/334872, now - 111629/334875, monotonic - 895085.467837, > last_heartbeat_sent - 895085.466156, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.696 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event publisher_id = > identity.keystone-admin-api-2903979735-fsj57 > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:72 > > 2018-02-16 15:36:02.697 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event payload = {u'resource_info': u' > 79d3491d58e542ada54776d2bd68ef7e'} process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:73 > > 2018-02-16 15:36:02.697 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event type = identity.project.deleted process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:74 > > 2018-02-16 15:36:02.697 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event metadata = {'timestamp': u'2018-02-16 > 15:35:48.506374', 'message_id': u'5cc2ef82-75a7-4ce9-a9eb-573ae008f4e4'} > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:75 > > 2018-02-16 15:36:02.697 1 DEBUG barbican.queue.keystone_listener [-] > Keystone Event: resource type=project, operation type=deleted, keystone id= > 79d3491d58e542ada54776d2bd68ef7e process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:80 > > 2018-02-16 15:36:02.698 1 DEBUG barbican.tasks.keystone_consumer [-] > Creating KeystoneEventConsumer task processor __init__ > /opt/barbican/lib/python2.7/site-packages/barbican/tasks/ > keystone_consumer.py:40 > > 2018-02-16 15:36:02.698 1 DEBUG barbican.model.repositories [-] Getting > session... get_session /opt/barbican/lib/python2.7/ > site-packages/barbican/model/repositories.py:353 > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources [-] Could not > retrieve information needed to process task 'Project cleanup via Keystone > notifications'.: TypeError: 'NoneType' object is not callable > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources Traceback (most > recent call last): > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/resources.py", > line 91, in process > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources entity = > self.retrieve_entity(*args, **kwargs) > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/keystone_consumer.py", > line 67, in retrieve_entity > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources > suppress_exception=True) > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 586, in find_by_external_project_id > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources session = > self.get_session(session) > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 354, in get_session > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources return > session or get_session() > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 161, in get_session > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources return > _SESSION_FACTORY() > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources TypeError: > 'NoneType' object is not callable > > 2018-02-16 15:36:02.698 1 ERROR barbican.tasks.resources > > 2018-02-16 15:36:02.699 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: timed out _raise_timeout > /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.699 1 DEBUG oslo.messaging._drivers.impl_rabbit [-] > Timed out waiting for RPC response: Timeout while waiting on RPC response - > topic: "<unknown>", RPC method: "<unknown>" info: "<unknown>" > _raise_timeout /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/impl_rabbit.py:1037 > > 2018-02-16 15:36:02.699 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.700 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111629/334875, now - 111630/334875, monotonic - 895085.471446, > last_heartbeat_sent - 895085.471435, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.704 1 DEBUG oslo_messaging._drivers.amqpdriver [-] > received message with unique_id: 0a407a9a71b641c888c49c0d4674b607 > __call__ /opt/barbican/lib/python2.7/site-packages/oslo_messaging/_ > drivers/amqpdriver.py:257 > > 2018-02-16 15:36:02.705 1 DEBUG amqp [-] heartbeat_tick : for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:678 > > 2018-02-16 15:36:02.705 1 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: > 111630/334875, now - 111630/334878, monotonic - 895085.476801, > last_heartbeat_sent - 895085.471435, heartbeat int. - 60 for connection > ef42486446c34306bd10921b264da26b heartbeat_tick > /opt/barbican/lib/python2.7/site-packages/amqp/connection.py:700 > > 2018-02-16 15:36:02.705 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event publisher_id = > identity.keystone-admin-api-2903979735-fsj57 > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:72 > > 2018-02-16 15:36:02.706 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event payload = {u'resource_info': u' > 79d3491d58e542ada54776d2bd68ef7e'} process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:73 > > 2018-02-16 15:36:02.706 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event type = identity.project.deleted process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:74 > > 2018-02-16 15:36:02.706 1 DEBUG barbican.queue.keystone_listener [-] > Input keystone event metadata = {'timestamp': u'2018-02-16 > 15:35:48.506374', 'message_id': u'5cc2ef82-75a7-4ce9-a9eb-573ae008f4e4'} > process_event /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:75 > > 2018-02-16 15:36:02.706 1 DEBUG barbican.queue.keystone_listener [-] > Keystone Event: resource type=project, operation type=deleted, keystone id= > 79d3491d58e542ada54776d2bd68ef7e process_event > /opt/barbican/lib/python2.7/site-packages/barbican/queue/ > keystone_listener.py:80 > > 2018-02-16 15:36:02.706 1 DEBUG barbican.tasks.keystone_consumer [-] > Creating KeystoneEventConsumer task processor __init__ > /opt/barbican/lib/python2.7/site-packages/barbican/tasks/ > keystone_consumer.py:40 > > 2018-02-16 15:36:02.706 1 DEBUG barbican.model.repositories [-] Getting > session... get_session /opt/barbican/lib/python2.7/ > site-packages/barbican/model/repositories.py:353 > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources [-] Could not > retrieve information needed to process task 'Project cleanup via Keystone > notifications'.: TypeError: 'NoneType' object is not callable > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources Traceback (most > recent call last): > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/resources.py", > line 91, in process > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources entity = > self.retrieve_entity(*args, **kwargs) > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/tasks/keystone_consumer.py", > line 67, in retrieve_entity > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources > suppress_exception=True) > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 586, in find_by_external_project_id > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources session = > self.get_session(session) > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 354, in get_session > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources return > session or get_session() > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources File > "/opt/barbican/lib/python2.7/site-packages/barbican/model/repositories.py", > line 161, in get_session > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources return > _SESSION_FACTORY() > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources TypeError: > 'NoneType' object is not callable > > 2018-02-16 15:36:02.707 1 ERROR barbican.tasks.resources > > _________________________________________________________________________________________________________________________ > > Ce message et ses pieces jointes peuvent contenir des informations > confidentielles ou privilegiees et ne doivent donc > pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu > ce message par erreur, veuillez le signaler > a l'expediteur et le detruire ainsi que les pieces jointes. Les messages > electroniques etant susceptibles d'alteration, > Orange decline toute responsabilite si ce message a ete altere, deforme ou > falsifie. Merci. > > This message and its attachments may contain confidential or privileged > information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in error, please notify the sender and delete > this message and its attachments. > As emails may be altered, Orange is not liable for messages that have been > modified, changed or falsified. > Thank you. > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
