rpc_backend shouldn't be defined when "configure a compute node"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I follew the 3-node deployment case from OpenStack Installation Guide for Ubuntu 12.04/14.04 (LTS) - icehouse step by step
but when i came to the step "Configure a compute node" in chapter "6. Configure Compute services"
always result in a error log in /var/log/
2014-05-17 16:35:38.417 CRITICAL nova [req-31498a42-
2014-05-17 16:35:38.417 24972 TRACE nova Traceback (most recent call last):
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/bin/
2014-05-17 16:35:38.417 24972 TRACE nova db_allowed=False)
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova db_allowed=
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova self.conductor_
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova self.ping(context, '1.21 GigaWatts', timeout=timeout)
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova return self.conductor_
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova return self.call(context, msg, version='1.22', timeout=timeout)
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova return rpc.call(context, self._get_
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova return _get_impl(
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova _RPCIMPL = importutils.
2014-05-17 16:35:38.417 24972 TRACE nova File "/usr/lib/
2014-05-17 16:35:38.417 24972 TRACE nova __import_
2014-05-17 16:35:38.417 24972 TRACE nova ImportError: No module named rabbit
2014-05-17 16:35:38.417 24972 TRACE nova
i think this is caused by "rabbit"( ImportError: No module named rabbit)
then i check the nova.conf, configured it as the manual says (add a line: rpc_backend = rabbit) in section
"
4. Configure the Compute service to use the RabbitMQ message broker by setting these configuration keys in the [DEFAULT] configuration group of the /etc/nova/nova.conf file:
"
I try to change the "rabbit" to "smallrabbit" in nova.conf, then the error is complaining about "smallrabbit"
after hours searching... i remove the line: rpc_backend = rabbit, then start the service, it successes
i suppose:
rabbitmq-server is installed only on controller node, not compute node, so it(compute node) does not have a rpc_backend module locally but just using rabbit_host, password to communicate with the server(controller).
-------
Built: 2014-05-16T20:16:29 00:00
git SHA: ae7c492f520f4db
URL: http://
source File: file:/home/
xml:id: nova-controller
I cannot validate your problem on any of my environments. Nova uses the "rpc_backend" key on all nodes to determine the RPC backend and then reads the associated keys for it. What version of nova did you install?