** Changed in: oslo.messaging Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1393320
Title: Juno: Nova compute service cant connect to AMQP server through qpidd whereas there is no issue working with rabbitmq Status in OpenStack Compute (Nova): Invalid Status in Messaging API for OpenStack: Invalid Bug description: I am using qpidd instead of rabbitmq in nova-compute and controller node. While starting nova-compute service i see these errors in the nova-compute log. { 2014-11-11 12:17:32.844 5214 DEBUG nova.openstack.common.lockutils [-] Semaphore / lock released "_update_available_resource" inner /opt/stack/nova/nova/openstack/common/lockutils.py:275 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait listener.cb(fileno) File "/usr/local/lib/python2.7/dist-packages/eventlet/green/select.py", line 52, in on_read current.switch(([original], [], [])) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 212, in main result = function(*args, **kwargs) File "/opt/stack/nova/nova/openstack/common/service.py", line 490, in run_service service.start() File "/opt/stack/nova/nova/service.py", line 181, in start self.manager.pre_start_hook() File "/opt/stack/nova/nova/compute/manager.py", line 1152, in pre_start_hook self.update_available_resource(nova.context.get_admin_context()) File "/opt/stack/nova/nova/compute/manager.py", line 5964, in update_available_resource use_slave=True) File "/opt/stack/nova/nova/compute/manager.py", line 5975, in _get_compute_nodes_in_db use_slave=use_slave) File "/opt/stack/nova/nova/objects/base.py", line 153, in wrapper args, kwargs) File "/opt/stack/nova/nova/conductor/rpcapi.py", line 346, in object_class_action objver=objver, args=args, kwargs=kwargs) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call wait_for_reply=True, timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send return self._send(target, ctxt, message, wait_for_reply, timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send raise result IncompatibleObjectVersion_Remote: Version 1.4 of Service is not supported Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply incoming.message)) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch result = getattr(endpoint, method)(ctxt, **new_args) File "/opt/stack/nova/nova/conductor/manager.py", line 1043, in object_class_action File "/opt/stack/nova/nova/conductor/manager.py", line 605, in object_class_action for t in requested_networks]) File "/opt/stack/nova/nova/objects/base.py", line 224, in obj_class_from_name IncompatibleObjectVersion: Version 1.4 of Service is not supported Removing descriptor: 7 2014-11-11 12:17:32.897 5214 ERROR nova.openstack.common.threadgroup [-] Version 1.4 of Service is not supported Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply incoming.message)) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch result = getattr(endpoint, method)(ctxt, **new_args) File "/opt/stack/nova/nova/conductor/manager.py", line 1043, in object_class_action File "/opt/stack/nova/nova/conductor/manager.py", line 605, in object_class_action for t in requested_networks]) File "/opt/stack/nova/nova/objects/base.py", line 224, in obj_class_from_name IncompatibleObjectVersion: Version 1.4 of Service is not supported 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup Traceback (most recent call last): 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 125, in wait 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup x.wait() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 47, in wait 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup return self.thread.wait() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 173, in wait 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup return self._exit_event.wait() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup return hubs.get_hub().switch() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 293, in switch 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup return self.greenlet.switch() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 212, in main 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup result = function(*args, **kwargs) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/openstack/common/service.py", line 490, in run_service 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup service.start() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/service.py", line 181, in start 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup self.manager.pre_start_hook() 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/compute/manager.py", line 1152, in pre_start_hook 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup self.update_available_resource(nova.context.get_admin_context()) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/compute/manager.py", line 5964, in update_available_resource 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup use_slave=True) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/compute/manager.py", line 5975, in _get_compute_nodes_in_db 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup use_slave=use_slave) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/objects/base.py", line 153, in wrapper 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup args, kwargs) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/conductor/rpcapi.py", line 346, in object_class_action 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup objver=objver, args=args, kwargs=kwargs) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup wait_for_reply=True, timeout=timeout) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup timeout=timeout) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup return self._send(target, ctxt, message, wait_for_reply, timeout) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup raise result 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup IncompatibleObjectVersion_Remote: Version 1.4 of Service is not supported 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup Traceback (most recent call last): 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup incoming.message)) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup return self._do_dispatch(endpoint, method, ctxt, args) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup result = getattr(endpoint, method)(ctxt, **new_args) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/conductor/manager.py", line 1043, in object_class_action 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/conductor/manager.py", line 605, in object_class_action 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup for t in requested_networks]) 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/objects/base.py", line 224, in obj_class_from_name 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup IncompatibleObjectVersion: Version 1.4 of Service is not supported 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup 2014-11-11 12:17:32.897 5214 TRACE nova.openstack.common.threadgroup } { 2014-11-11 12:52:22.670 11938 DEBUG nova.virt.libvirt.driver [-] Starting green dispatch thread _init_events /opt/stack/nova/nova/virt/libvirt/driver.py:668 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait listener.cb(fileno) File "/usr/local/lib/python2.7/dist-packages/eventlet/green/select.py", line 52, in on_read current.switch(([original], [], [])) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 212, in main result = function(*args, **kwargs) File "/opt/stack/nova/nova/openstack/common/service.py", line 490, in run_service service.start() File "/opt/stack/nova/nova/service.py", line 164, in start self.manager.init_host() File "/opt/stack/nova/nova/compute/manager.py", line 1128, in init_host context, self.host, expected_attrs=['info_cache']) File "/opt/stack/nova/nova/objects/base.py", line 153, in wrapper args, kwargs) File "/opt/stack/nova/nova/conductor/rpcapi.py", line 346, in object_class_action objver=objver, args=args, kwargs=kwargs) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call wait_for_reply=True, timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send return self._send(target, ctxt, message, wait_for_reply, timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send raise result IncompatibleObjectVersion_Remote: Version 1.9 of InstanceList is not supported Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply incoming.message)) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch File "/opt/stack/nova/nova/conductor/manager.py", line 1043, in object_class_action File "/opt/stack/nova/nova/conductor/manager.py", line 605, in object_class_action for t in requested_networks]) File "/opt/stack/nova/nova/objects/base.py", line 224, in obj_class_from_name IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported Removing descriptor: 7 2014-11-11 12:52:22.798 11938 ERROR nova.openstack.common.threadgroup [-] Version 1.9 of InstanceList is not supported Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply incoming.message)) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch return self._do_dispatch(endpoint, method, ctxt, args) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch result = getattr(endpoint, method)(ctxt, **new_args) File "/opt/stack/nova/nova/conductor/manager.py", line 1043, in object_class_action File "/opt/stack/nova/nova/conductor/manager.py", line 605, in object_class_action for t in requested_networks]) File "/opt/stack/nova/nova/objects/base.py", line 224, in obj_class_from_name IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup Traceback (most recent call last): 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 125, in wait 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup x.wait() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/openstack/common/threadgroup.py", line 47, in wait 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup return self.thread.wait() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 173, in wait 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup return self._exit_event.wait() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup return hubs.get_hub().switch() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 293, in switch 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup return self.greenlet.switch() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 212, in main 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup result = function(*args, **kwargs) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/openstack/common/service.py", line 490, in run_service 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup service.start() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/service.py", line 164, in start 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup self.manager.init_host() 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/compute/manager.py", line 1128, in init_host 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup context, self.host, expected_attrs=['info_cache']) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/objects/base.py", line 153, in wrapper 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup args, kwargs) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/conductor/rpcapi.py", line 346, in object_class_action 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup objver=objver, args=args, kwargs=kwargs) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup wait_for_reply=True, timeout=timeout) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup timeout=timeout) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup return self._send(target, ctxt, message, wait_for_reply, timeout) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup raise result 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup IncompatibleObjectVersion_Remote: Version 1.9 of InstanceList is not supported 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup Traceback (most recent call last): 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup incoming.message)) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup return self._do_dispatch(endpoint, method, ctxt, args) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup result = getattr(endpoint, method)(ctxt, **new_args) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/conductor/manager.py", line 1043, in object_class_action 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/conductor/manager.py", line 605, in object_class_action 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup for t in requested_networks]) 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup File "/opt/stack/nova/nova/objects/base.py", line 224, in obj_class_from_name 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup IncompatibleObjectVersion: Version 1.9 of InstanceList is not supported 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup 2014-11-11 12:52:22.798 11938 TRACE nova.openstack.common.threadgroup stack@compute11:/home/admin1/devstack_integ/devstack_juno/devstack$ stack@compute11:/home/admin1/devstack_integ/devstack_juno/devstack$ } Whereas if i use rabbitmq-server the nova-compute is not having the above errors. Chandralekha To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1393320/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp