[Openstack] Devstack with ESXi Compute Node

Balamurugan V G balamuruganvg at gmail.com
Mon Jan 21 11:13:26 UTC 2013


Looks like its due to difference in the devstack src versions in the two
nodes (i am trying to update the other old node and try again).

-Balu

On Mon, Jan 21, 2013 at 3:02 PM, Balamurugan V G <balamuruganvg at gmail.com>wrote:

> Hi,
>
> I started with a single node Devstack(with quantum) on a Ubuntu12.0 server
> and used a Flat network. It worked fine as I could launch instances and
> cover many use cases.
>
> Now I want to added a second compute node to this stack but it has to be
> an ESXi. So I launched a Ubuntu12.10 VM (using VMWare client) on ESXi and
> installed Devstack on it aswell(I intended to not start the services which
> are not needed on it). I then copied over the nova.conf from the first all
> in one stack node to this and modified the my_ip, VMWare fields etc as per
> http://docs.openstack.org/trunk/openstack-compute/admin/content/vmware.html
> .
>
> I then modified the devstack/stack-screenrc file to hold just these lines
> below and started rejoin-stack.sh.
>
> screen -t q-agt bash
> stuff "python /opt/stack/quantum/bin/quantum-openvswitch-agent
> --config-file /etc/quantum/quantum.conf --config-file
> /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini^M"
> screen -t n-cpu bash
> stuff "cd /opt/stack/nova && sg libvirtd
> /opt/stack/nova/bin/nova-compute^M"
>
>
> But I get the following error:
>
> root at ubuntu1210srvr:/home/stack/devstack# 2013-01-21 22:55:02 INFO
> nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'
> 2013-01-21 22:55:02 INFO nova.manager [-] Skipping periodic task
> _periodic_update_dns because its interval is negative
> 2013-01-21 22:55:03 INFO nova.network.driver [-] Loading network driver
> 'nova.network.linux_net'
> 2013-01-21 22:55:03 INFO nova.openstack.common.rpc.common
> [req-06c8f346-9939-429c-8f1a-8b7ebfa127b0 None None] Connected to AMQP
> server on 10.5.12.20:5672
> 2013-01-21 22:55:03 CRITICAL nova
> [req-06c8f346-9939-429c-8f1a-8b7ebfa127b0 None None] *Remote error:
> UnsupportedRpcVersion Specified RPC version, 1.22, not supported by this
> endpoint.*
> [u'Traceback (most recent call last):\n', u'  File
> "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 277, in
> _process_data\n    rval = self.proxy.dispatch(ctxt, version, method,
> **args)\n', u'  File
> "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 152, in
> dispatch\n    raise rpc_common.UnsupportedRpcVersion(version=version)\n',
> u'UnsupportedRpcVersion: Specified RPC version, 1.22, not supported by this
> endpoint.\n'].
> 2013-01-21 22:55:03 TRACE nova Traceback (most recent call last):
> 2013-01-21 22:55:03 TRACE nova   File "/opt/stack/nova/bin/nova-compute",
> line 59, in <module>
> 2013-01-21 22:55:03 TRACE nova     db_allowed=False)
> 2013-01-21 22:55:03 TRACE nova   File "/opt/stack/nova/nova/service.py",
> line 525, in create
> 2013-01-21 22:55:03 TRACE nova     db_allowed=db_allowed)
> 2013-01-21 22:55:03 TRACE nova   File "/opt/stack/nova/nova/service.py",
> line 413, in __init__
> 2013-01-21 22:55:03 TRACE nova
> self.conductor_api.wait_until_ready(context.get_admin_context())
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/conductor/api.py", line 320, in wait_until_ready
> 2013-01-21 22:55:03 TRACE nova     self.ping(context, '1.21 GigaWatts',
> timeout=timeout)
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/conductor/api.py", line 328, in ping
> 2013-01-21 22:55:03 TRACE nova     return
> self.conductor_rpcapi.ping(context, arg, timeout)
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/conductor/rpcapi.py", line 82, in ping
> 2013-01-21 22:55:03 TRACE nova     return self.call(context, msg,
> version='1.22', timeout=timeout)
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/openstack/common/rpc/proxy.py", line 80, in call
> 2013-01-21 22:55:03 TRACE nova     return rpc.call(context,
> self._get_topic(topic), msg, timeout)
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/openstack/common/rpc/__init__.py", line 109, in call
> 2013-01-21 22:55:03 TRACE nova     return _get_impl().call(cfg.CONF,
> context, topic, msg, timeout)
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/openstack/common/rpc/impl_kombu.py", line 765, in call
> 2013-01-21 22:55:03 TRACE nova     rpc_amqp.get_connection_pool(conf,
> Connection))
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 379, in call
> 2013-01-21 22:55:03 TRACE nova     rv = list(rv)
> 2013-01-21 22:55:03 TRACE nova   File
> "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 347, in __iter__
> 2013-01-21 22:55:03 TRACE nova     raise result
> 2013-01-21 22:55:03 TRACE nova RemoteError: Remote error:
> UnsupportedRpcVersion Specified RPC version, 1.22, not supported by this
> endpoint.
> 2013-01-21 22:55:03 TRACE nova [u'Traceback (most recent call last):\n',
> u'  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 277, in
> _process_data\n    rval = self.proxy.dispatch(ctxt, version, method,
> **args)\n', u'  File
> "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 152, in
> dispatch\n    raise rpc_common.UnsupportedRpcVersion(version=version)\n',
> u'UnsupportedRpcVersion: Specified RPC version, 1.22, not supported by this
> endpoint.\n'].
> 2013-01-21 22:55:03 TRACE nova
> root at ubuntu1210srvr:/opt/stack/nova#
>
> This is my nova.conf lines related to vmware.
>
> compute_driver=libvirt.LibvirtDriver      (this is required or incorrect?)
> connection_type=vmwareapi
> firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
> vmwareapi_host_ip=10.5.x.xx
> vmwareapi_host_username=root
> vmwareapi_host_password=root
> vmwareapi_wsdl_loc=http://127.0.0.1:8080/wsdl/vim25/vimService.wsdl
> vmware_vif_driver=nova.virt.vmwareapi.vif.VMWareVlanBridgeDriver
>
> Any help will be appreciated.
>
> Thanks,
> Balu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130121/92818234/attachment.html>


More information about the Openstack mailing list