我是靠谱客的博主 冷酷小兔子,这篇文章主要介绍rabbimq operation queue.declare caused a channel exception not_found,现在分享给大家,希望可以做个参考。

问题

操作 openstackhorizon,删除,或者新建云主机,一直卡住,最后报错接收消息超时,参看 rabbitmq 日志,发现如下报错:

=ERROR REPORT==== 29-Feb-2020::15:01:26 ===
Channel error on connection <0.21564.0> (10.0.10.15:40582 -> 10.0.10.11:5672, vhost: '/', user: 'openstack'), channel 1:
operation queue.declare caused a channel exception not_found: failed to perform operation on queue 'versioned_notifications.info' in vhost '/' due to timeout

经查询,是队列 versioned_notifications.info 有问题,去 rabbitmq management 页面查看,发现该队列的各项数据均显示 NaN, 而正常的队列都有数据,即使没有消息,也会显示为 0

解决

根据 https://github.com/rabbitmq/rabbitmq-server/issues/1333 操作,删除该队列

rabbitmqctl eval 'rabbit_amqqueue:internal_delete({resource,<<"/">>,queue,<<"versioned_notifications.info">>}).'

之后再操作horizon, 问题解决,rabbitmq management 页面也显示正常

最后

以上就是冷酷小兔子最近收集整理的关于rabbimq operation queue.declare caused a channel exception not_found的全部内容,更多相关rabbimq内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(65)

评论列表共有 0 条评论

立即
投稿
返回
顶部