jkoelker / quark

This is my fork, Quark is now at https://github.com/rackerlabs/quark
Apache License 2.0
0 stars 2 forks source link

amqp exception #47

Closed tr3buchet closed 11 years ago

tr3buchet commented 11 years ago
2013-04-09 18:56:05    ERROR [quantum.openstack.common.notifier.rpc_notifier] Could not send notification to notifications.info. Payload=
{'_context_roles': [u'object-store:default', u'compute:default', u'identity:user-admin'], '_unique_id': 'a57d3f389f2747d4b73a3b151a8db770
', '_context_read_deleted': 'no', 'event_type': 'port.create.start', 'timestamp': '2013-04-09 18:56:05.522150', '_context_timestamp': '20
13-04-09 18:56:05.519217', 'message_id': '76b1722b-346d-4ddb-bed0-e2ffc54fd71e', 'priority': 'INFO', '_context_is_admin': False, '_contex
t_project_id': u'546428', '_context_tenant_id': u'546428', '_context_user_id': u'84206', 'publisher_id': 'network.quantum03.netdev-ord.oh
three.com', 'payload': {u'port': {u'network_id': u'b585f016-efee-4592-be14-dd286549ac8e', u'device_id': u'32aeb491-4e78-4c24-8ab8-363daa6
5aa4d'}}}                                                                                                                                
Traceback (most recent call last):                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/notif
ier/rpc_notifier.py", line 43, in notify                                                                                                 
    rpc.notify(context, topic, message)                                                                                                  
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/_
_init__.py", line 227, in notify                                                                                                         
    return _get_impl().notify(cfg.CONF, context, topic, msg, envelope)                                                                   
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 834, in notify                                                                                                       
    envelope)                                                                                                                            
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/a
mqp.py", line 665, in notify                                                                                                             
    conn.notify_send(topic, msg)                                                                                                         
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 713, in notify_send                                                                                                  
    self.publisher_send(NotifyPublisher, topic, msg, None, **kwargs)                                                                     
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 677, in publisher_send                                                                                               
    self.ensure(_error_callback, _publish)                                                                                               
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 563, in ensure                                                                                                       
    return method(*args, **kwargs)                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 674, in _publish                                                                                                     
    publisher = cls(self.conf, self.channel, topic, **kwargs)                                                                            
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 375, in __init__                                                                                                     
    super(NotifyPublisher, self).__init__(conf, channel, topic, **kwargs)                                                                
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 351, in __init__                                                                                                     
    **options)                                                                                                                           
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 298, in __init__                                                                                                     
    self.reconnect(channel)                                                                                                              
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/quantum-2013.2.a372.ge954713-py2.6.egg/quantum/openstack/common/rpc/i
mpl_kombu.py", line 389, in reconnect                                                                                                    
    queue.declare()                                                                                                                      
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/kombu/entity.py", line 360, in declare                               
    self.name and self.queue_declare(nowait, passive=False),                                                                             
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/kombu/entity.py", line 378, in queue_declare                         
    nowait=nowait)                                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/kombu/syn.py", line 14, in blocking                                  
    return __sync_current(fun, *args, **kwargs)                                                                                          
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/kombu/syn.py", line 40, in __eblocking__                             
    return spawn(fun, *args, **kwargs).wait()                                                                                            
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/eventlet/greenthread.py", line 168, in wait                          
    return self._exit_event.wait()                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait                                
    return hubs.get_hub().switch()                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in switch                           
    return self.greenlet.switch()                                                                                                        
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main                          
    result = function(*args, **kwargs)                                                                                                   
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/amqplib/client_0_8/channel.py", line 1294, in queue_declare          
    (50, 11),    # Channel.queue_declare_ok                                                                                              
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/amqplib/client_0_8/abstract_channel.py", line 105, in wait           
    return amqp_method(self, args)                                                                                                       
  File "/home/trey.morris/quantum/.venv/lib/python2.6/site-packages/amqplib/client_0_8/channel.py", line 273, in _close                  
    (class_id, method_id))                                                                                                               
AMQPChannelException: (406, u"PRECONDITION_FAILED - parameters for queue 'notifications.info' in vhost 'nova' not equivalent", (50, 10), 
'Channel.queue_declare')                                                                                                                 
MattDietz commented 11 years ago

LOL JK

tr3buchet commented 11 years ago

alright i've just switched notifications to the no_op driver in quantum03's quantum.conf. should be fixed for now, we'll revisit when it's time for it to work for reals

- notification_driver = quantum.openstack.common.notifier.rpc_notifier
+ notification_driver = quantum.openstack.common.notifier.no_op_notifier