rabbitmq server掛了導致創(chuàng)建卷失敗

創(chuàng)建卷報錯,返回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

在檢查下狀態(tài):

[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}}]

已經啟動,再創(chuàng)建卷就成功了~

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

  • Spring Cloud為開發(fā)人員提供了快速構建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務發(fā)現,斷路器,智...
    卡卡羅2017閱讀 136,502評論 19 139
  • error code(錯誤代碼)=2000是無效的像素格式。error code(錯誤代碼)=2001是指定的驅動...
    Heikki_閱讀 2,188評論 0 4
  • 整體架構 部署步驟 基于 Docker 基本概念內存節(jié)點只保存狀態(tài)到內存,例外情況是:持久的 queue 的內容將...
    mvictor閱讀 12,902評論 5 30
  • =========================================================...
    lavor閱讀 3,638評論 0 5
  • 我是日記星球239號星寶寶,來自深圳的葉子。我是日記星球第五期的學員,我相信日積月累的力量,這是我的第110篇日記...
    水晶媽咪閱讀 107評論 0 0

友情鏈接更多精彩內容