分享

ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from ...

akqzx 发表于 2015-9-17 00:25:35 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 6 52667
Hi
我安装kilo版本在ubuntu上
在添加计算节点之后出现下面错误
r[mw_shl_code=actionscript3,true]oot@controller:~# tail -f /var/log/nova/nova-cert.log
2015-09-17 00:12:28.948 1136 INFO nova.openstack.common.service [req-01461042-aad6-45d9-a8c0-44610d861491 - - - - -] Caught SIGTERM, exiting
2015-09-17 00:12:29.900 1136 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-17 00:12:30.999 4109 INFO nova.service [-] Starting cert node (version 2015.1.1)
2015-09-17 00:12:31.561 4109 INFO oslo_messaging._drivers.impl_rabbit [req-f981c6c2-9d53-4e25-9fa1-8cc0ad7ccc7a - - - - -] Connecting to AMQP server on controller:5672
2015-09-17 00:12:31.573 4109 INFO oslo_messaging._drivers.impl_rabbit [req-f981c6c2-9d53-4e25-9fa1-8cc0ad7ccc7a - - - - -] Connected to AMQP server on controller:5672
2015-09-17 00:21:45.309 4109 INFO nova.openstack.common.service [req-803c364c-85fd-470f-8bb0-20ccc9545c23 - - - - -] Caught SIGTERM, exiting
2015-09-17 00:21:45.825 4109 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-17 00:21:46.938 4604 INFO nova.service [-] Starting cert node (version 2015.1.1)
2015-09-17 00:21:47.516 4604 INFO oslo_messaging._drivers.impl_rabbit [req-a0b50430-d10e-4e08-80e0-283c7635e53a - - - - -] Connecting to AMQP server on controller:5672
2015-09-17 00:21:47.528 4604 INFO oslo_messaging._drivers.impl_rabbit [req-a0b50430-d10e-4e08-80e0-283c7635e53a - - - - -] Connected to AMQP server on controller:5672                                                                       
[/mw_shl_code]

[mw_shl_code=actionscript3,true]root@controller:~# tail -f /var/log/nova/nova-consoleauth.log
2015-09-16 22:33:25.927 1142 INFO nova.service [-] Starting consoleauth node (version 2015.1.1)
2015-09-16 22:33:25.943 1142 WARNING oslo_db.sqlalchemy.session [req-cb11c77a-2013-41e7-bb9f-cfa09754ee27 - - - - -] SQL connection failed. 10 attempts left.
2015-09-16 22:33:36.210 1142 INFO oslo_messaging._drivers.impl_rabbit [req-cb11c77a-2013-41e7-bb9f-cfa09754ee27 - - - - -] Connecting to AMQP server on controller:5672
2015-09-16 22:33:36.220 1142 INFO oslo_messaging._drivers.impl_rabbit [req-cb11c77a-2013-41e7-bb9f-cfa09754ee27 - - - - -] Connected to AMQP server on controller:5672
2015-09-16 23:11:34.195 1142 INFO nova.openstack.common.service [req-6152d5f3-83c9-4c5b-b587-062e318c36a9 - - - - -] Caught SIGTERM, exiting
2015-09-16 23:11:35.165 1142 ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
2015-09-16 23:14:10.069 1139 INFO nova.service [-] Starting consoleauth node (version 2015.1.1)
2015-09-16 23:14:10.079 1139 WARNING oslo_db.sqlalchemy.session [req-4516ec44-04b9-402c-a505-5a94228edf8f - - - - -] SQL connection failed. 10 attempts left.
2015-09-16 23:14:20.297 1139 INFO oslo_messaging._drivers.impl_rabbit [req-4516ec44-04b9-402c-a505-5a94228edf8f - - - - -] Connecting to AMQP server on controller:5672
2015-09-16 23:14:20.309 1139 INFO oslo_messaging._drivers.impl_rabbit [req-4516ec44-04b9-402c-a505-5a94228edf8f - - - - -] Connected to AMQP server on controller:5672[/mw_shl_code]

已有(6)人评论

跳转到指定楼层
Alkaloid0515 发表于 2015-9-17 07:38:55
ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
有价值的是上面信息,这个是说消费消息队列失败。
只能表明你的rabitmq出问题了。别的定位不到。
看看nova的rabitmq相关配置:
然后rabitmq安装配置


回复

使用道具 举报

akqzx 发表于 2015-9-17 09:21:43
本帖最后由 akqzx 于 2015-9-17 09:22 编辑
Alkaloid0515 发表于 2015-9-17 07:38
ERROR oslo_messaging._drivers.impl_rabbit [-] Failed to consume message from queue:
有价值的是上面 ...

是的,我注意到的也是这个错误信息,我的配置文件核对过三次了,还是没发现问题,麻烦大神帮我看下[mw_shl_code=bash,true]root@controller:~# cat /etc/nova/nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
log_dir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = rabbit
auth_strategy = keystone
my_ip = 10.0.0.11
vncserver_listen = 10.0.0.11
vncserver_proxyclient_address = 10.0.0.11
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = 123123123
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[glance]
host = controller
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = 123123123
[database]
connection = mysql://nova:123123123@controller/nova



root@controller:~# rabbitmqctl list_users
Listing users ...
guest   [administrator]
openstack       []      

root@controller:~# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
Setting permissions for user "openstack" in vhost "/" ...         
[/mw_shl_code]


回复

使用道具 举报

arsenduan 发表于 2015-9-17 16:31:22
rabitmq还有与keystone认证相关的用户名和密码
回复

使用道具 举报

xzrj 发表于 2015-11-4 15:20:16
rabbit_host=controller中的controller替换为ip地址
回复

使用道具 举报

黑发洋葱头 发表于 2015-11-10 14:18:25
akqzx 发表于 2015-9-17 09:21
是的,我注意到的也是这个错误信息,我的配置文件核对过三次了,还是没发现问题,麻烦大神帮我看下[mw_sh ...

请问题主解决没,我也遇到这个问题,甚是困扰,导致我不同计算节点连接实例的网桥IP都分配一致,不能从除宿主机以外的机器连接实例,求指教啊


回复

使用道具 举报

zhichen08 发表于 2015-12-29 16:11:25
楼主,我安装K版本也遇到这个问题了,请问楼主怎么解决的?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条