issues observed with multi-node setup
Lately I've been running devstack with quantum in a multi-node setup.
The controller node has pretty much everything enabled:
stackrc:
ENABLED_
I can then add multiple extra compute nodes, that run only nova-compute and quantum agent. They point to the "controller node for all services:
stackrc:
ENABLED_
localrc:
SERVICE_
MYSQL_HOST=
RABBIT_
this works great, but I've noticed two quirks as wanted to ask about.
Issue #1
I noticed that when I do a clean install on a compute node, and specify only "ENABLED_
./nova/
This was a week or two ago, but it seems like the glance dependencies where not being installed if the glance service was not running on the node. Specifying g-api as one of the services at least once seemed sufficient to get the libraries pulled down, after which I no longer needed to specify it. Still, seems like a busted dependency.
Issue #2
this is more recent. If I only specify "ENABLED_
I think the root cause is the following line in stack.sh:
if is_service_enabled rabbit ; then
add_nova_opt "rabbit_
add_nova_opt "rabbit_
My understanding is that the "rabbit" service need only be run once per deployment (i.e., on my controller node), but this code means that unless I specify it on each node, nova-compute will assume rabbit is on localhost. I can work around this issue by specifying rabbit as an enabled service on each of my machines, and using RABBIT_HOST to point nova-compute to a single centralized server, but it seems borked, so I thought I would mention it.
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- devstack Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- dan wendlandt
- Solved:
- Last query:
- Last reply: