How to setup openstack with zeromq ?

asked 2014-02-13 03:40:27 -0600

zhangjl gravatar image

updated 2014-12-05 17:37:34 -0600

smaffulli gravatar image

i try to setup openstack havana with zeromq according the docs http://docs.openstack.org/trunk/confi... .

My nova.conf is here http://pastebin.com/qn4zGz1G And the follows is my matchmaker_ring.json file http://pastebin.com/5huzuYEZ

After the configuration, i start the nova-rpc-zmq-receiver . Next ,start other nova service like conductor,api,scheduler,network and compute .

Then , i found the nova does not work correctly that i can not found any compute nodes to create vm instance.

My compute log is here http://pastebin.com/MUhspbQC And the follow is my conductor log http://pastebin.com/2AthAVtV And the last is my nova-rpc-zmq-receiver log http://pastebin.com/ARBX0UC4

There is no any error but waring message in compute log file like follows:

2014-02-13 16:42:49.460 13953 WARNING nova.conductor.api [req-f24d3356-674c-40fa-8fb5-ba71e9fb109f None None] Timed out waiting for nova-conductor. Is it running? Or did this service start before nova-conduct or? 2014-02-13 16:42:49.461 13953 DEBUG nova.openstack.common.rpc.common [req-f24d3356-674c-40fa-8fb5-ba71e9 fb109f None None] 'conductor' {'args': {'arg': '1.21 GigaWatts'}, 'method': 'ping', 'namespace': 'baseapi', 'version': '1.0'} _multi_send /usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_zmq.py:72 2 2014-02-13 16:42:49.461 13953 DEBUG nova.openstack.common.rpc.common [req-f24d3356-674c-40fa-8fb5-ba71e9 fb109f None None] Sending message(s) to: [(u'conductor.zcompute', u'zcompute')] _multi_send /usr/lib/pyt hon2.6/site-packages/nova/openstack/common/rpc/impl_zmq.py:725

Because of this waring , my nova-compute cannot connect to nova-conductor . When i execute nova host-list , i got nothing of compute node,

+-------------+-------------+----------+ | host_name | service | zone | +-------------+-------------+----------+ | zcontroller | conductor | internal | | zcontroller | consoleauth | internal | | zcontroller | scheduler | internal | | zcompute | scheduler | internal | | zcompute | consoleauth | internal | | zcompute | network | internal | | zcompute | conductor | internal | +-------------+-------------+----------+

the same as the nova service-list,

+------------------+-------------+----------+---------+-------+----------------------------+-----------------+ | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | +------------------+-------------+----------+---------+-------+----------------------------+-----------------+ | nova-conductor | zcontroller | internal | enabled | up | 2014-02-14T01:31:54.000000 | None | | nova-consoleauth | zcontroller | internal | enabled | up | 2014-02-14T01:31:49.000000 | None | | nova-scheduler | zcontroller | internal | enabled | up | 2014-02-14T01:31:49.000000 | None | | nova-scheduler | zcompute | internal | enabled | up | 2014-02-14T01:31:51.000000 | None | | nova-consoleauth | zcompute | internal | enabled | up | 2014-02-14T01:31:51.000000 | None | | nova-network | zcompute | internal | enabled | up | 2014-02-14T01:31:53.000000 | None | | nova-conductor | zcompute | internal | enabled | down | 2014-02-13T13:20:51.000000 | None | +------------------+-------------+----------+---------+-------+----------------------------+-----------------+

ps -ef | grep nova

nova 1857 1 1 09:19 ? 00:00:10 /usr/bin/python /usr/bin/nova-api --logfile /var/log/nova/api.log nova 1865 1 0 09:19 ? 00:00:02 /usr/bin/python /usr/bin/nova-conductor --logfile /var/log/nova/conductor.log nova 1873 1 0 09:19 ? 00:00:02 /usr/bin/python /usr/bin/nova-consoleauth --logfile /var/log/nova/consoleauth.log nova 1881 1 0 09:19 ? 00:00:00 /usr/bin/python /usr/bin/nova-novncproxy --web /usr/share/novnc/ nova 1889 1 0 09:19 ? 00:00:02 /usr/bin/python /usr/bin/nova-scheduler --logfile /var/log/nova/scheduler.log nova 1945 1857 0 09:19 ? 00:00:00 /usr/bin/python /usr/bin/nova-api --logfile /var/log/nova/api.log nova 1952 1857 0 09:19 ? 00:00:00 ...
(more)
edit retag flag offensive close merge delete

Comments

I cannot see any lines in your logs I would worry about. Could you point us to the error message?

Mathias Ewald gravatar imageMathias Ewald ( 2014-02-13 06:29:08 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-15 03:03:23 -0600

Mathias Ewald gravatar image

A good approach is probably to start nova-conductor manually (not using the init script): something like "nova-conductor --config-file /etc/nova/nova.conf --verbose" should do. Hopefully you will see some output teling you why it doesn't start correctly.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2014-02-13 03:40:27 -0600

Seen: 404 times

Last updated: Dec 05 '14