swift stat和swift list和报Errno 111错

一 问题现象
现象一:
[root@localhost dev(keystone_demo)]# swift list
HTTPConnectionPool(host='192.168.0.120', port=8080): Max retries exceeded with url: /v1/AUTH_b38c09cb0b5a4d46820c66052bb0ee94?format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7ff811251410>: Failed to establish a new connection: [Errno 111] Connection refused',))
现象二:
dashboard容器项报错
错误: 无法获取Swift服务信息

二 问题分析
根据问题现象8080无法访问。于是执行如下命令:
[root@localhost swift(keystone_demo)]# netstat -na|grep 8080
显示无结果,说明8080端口没启用,怀疑服务启动失败。
查看服务启动情况,执行如下命令:
[root@localhost dev(keystone_demo)]# ps -ef | grep swift
swift     1100     1  0 13:35 ?        00:00:00 /usr/bin/python2 /usr/bin/swift-account-auditor /etc/swift/account-server.conf
swift     1111     1  0 13:35 ?        00:00:01 /usr/bin/python2 /usr/bin/swift-object-expirer /etc/swift/object-expirer.conf
swift     1113     1  0 13:35 ?        00:00:00 /usr/bin/python2 /usr/bin/swift-object-updater /etc/swift/object-server.conf
swift     1120     1  0 13:35 ?        00:00:01 /usr/bin/python2 /usr/bin/swift-container-replicator /etc/swift/container-server.conf
swift     1127     1  0 13:35 ?        00:00:02 /usr/bin/python2 /usr/bin/swift-object-replicator /etc/swift/object-server.conf
swift     1128     1  0 13:35 ?        00:00:00 /usr/bin/python2 /usr/bin/swift-account-reaper /etc/swif
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值