swift stat
ClientExtion: Account HEAD failed: http://controller1931607097:8080/v1/AUTH 547ba336f9274773af7367ec63de7d0d 503 Service Unavailable
查看各节点所有swift服务状态,会看到部分服务出现以下情况。
解决方案:
方案一:查看防火墙是否开启,如防火墙已开启就关闭防火墙,如果不关闭防火墙就把所有swift端口添加到防火墙规则里面。 查看防火墙状态:systemctl status firewalld
关闭防火墙:
systemctl stop firewalld
启动swift:
swift stat
方案二:
删除各节点/etc/swift/下所有.gz文件重新创建并发Ring
rm -rf /etc/swift/*.gz
然后 重新创建并发Ring完成后将 新的.gz文件复制到每个存储节点
scp /etc/swift/*.gz 192.168.100.20:/etc/swift/
各节点重新添加权限
chown -R root:swift /etc/swift
重启控制节点服务和各存储节点服务
控制节点:
systemctl restart openstack-swift-proxy memcached
计算节点:
systemctl restart openstack-swift-account openstack-swift-account-auditor openstack-swift-account-reaper openstack-swift-account-replicator openstack-swift-container openstack-swift-container-auditor openstack-swift-container-replicator openstack-swift-container-updater openstack-swift-object openstack-swift-object-auditor openstack-swift-object-replicator openstack-swift-object-updater
启动swift
swift stat
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)