一 问题现象
现象一:
[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

最低0.47元/天 解锁文章
2983

被折叠的 条评论
为什么被折叠?



