创建卷报错,返回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}}]
已经启动,再创建卷就成功了~
网友评论