rabbitmq server挂了导致创建卷失败

创建卷报错,返回http code 500!
检查cinder-schedule.log显示

Sep 01 09:39:04 vm-wangyue1.novalocal cinder-volume[15135]: ERROR oslo.messaging._drivers.impl_rabbit [-] [6978f9d2-18e8-4ff9-9e4d-b7309903a08a] AMQP server on 172.24.10.69:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 22 seconds. Client port: None: error: [Errno 111] ECONNREFUSED

Rabbitmq有什么问题?


[root@vm-wangyue1 ~]# rabbitmqctl status
Status of node 'rabbit@vm-wangyue1' ...
Error: unable to connect to node 'rabbit@vm-wangyue1': nodedown

DIAGNOSTICS
===========

attempted to contact: ['rabbit@vm-wangyue1']

rabbit@vm-wangyue1:
  * connected to epmd (port 4369) on vm-wangyue1
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on vm-wangyue1
  * suggestion: start the node

current node details:
- node name: 'rabbitmq-cli-86@vm-wangyue1'
- home dir: /var/lib/rabbitmq
- cookie hash: 1KU18eishxz7clebPLjoXA==

[root@vm-wangyue1 ~]# 

rabbitmq server 挂了,用指令拉起:

systemctl restart rabbitmq-server.service

在检查下状态:

[root@vm-wangyue1 ~]# rabbitmqctl status
Status of node 'rabbit@vm-wangyue1' ...
[{pid,39046},
 {running_applications,[{rabbit,"RabbitMQ","3.6.5"},
                        {os_mon,"CPO  CXC 138 46","2.4"},
                        {mnesia,"MNESIA  CXC 138 12","4.13.4"},
                        {ranch,"Socket acceptor pool for TCP protocols.",
                               "1.2.1"},
                        {rabbit_common,[],"3.6.5"},
                        {xmerl,"XML parser","1.3.10"},
                        {sasl,"SASL  CXC 138 11","2.7"},
                        {stdlib,"ERTS  CXC 138 10","2.8"},
                        {kernel,"ERTS  CXC 138 10","4.2"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang/OTP 18 [erts-7.3.1.2] [source] [64-bit] [async-threads:64] [hipe] [kernel-poll:true]\n"},
 {memory,[{total,104122392},
          {connection_readers,430184},
          {connection_writers,31056},
          {connection_channels,132112},
          {connection_other,770112},
          {queue_procs,400472},
          {queue_slave_procs,0},
          {plugins,0},
          {other_proc,19007272},
          {mnesia,124272},
          {mgmt_db,0},
          {msg_index,78032},
          {other_ets,936688},
          {binary,57909032},
          {code,19689812},
          {atom,719761},
          {other_system,3893587}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,2010318438},
 {disk_free_limit,50000000},
 {disk_free,45622153216},
 {file_descriptors,[{total_limit,1948},
                    {total_used,24},
                    {sockets_limit,1751},
                    {sockets_used,22}]},
 {processes,[{limit,1048576},{used,392}]},
 {run_queue,0},
 {uptime,18},
 {kernel,{net_ticktime,60}}]

已经启动,再创建卷就成功了~

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,260评论 19 139
  • error code(错误代码)=2000是无效的像素格式。error code(错误代码)=2001是指定的驱动...
    Heikki_阅读 6,298评论 0 4
  • 整体架构 部署步骤 基于 Docker 基本概念内存节点只保存状态到内存,例外情况是:持久的 queue 的内容将...
    mvictor阅读 14,379评论 5 30
  • =========================================================...
    lavor阅读 8,890评论 0 5
  • 我是日记星球239号星宝宝,来自深圳的叶子。我是日记星球第五期的学员,我相信日积月累的力量,这是我的第110篇日记...
    水晶妈咪阅读 1,009评论 0 0

友情链接更多精彩内容