sophon-gateway报错:etcdserver: mvcc: database space exceeded解决方案

  其他常见问题
内容纲要

概要描述


sophon-gateway的日志报错:Caused by: io.transwarp.registration.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: etcdserver: mvcc: database space exceeded
影响版本:sophon 2.5 及以上

详细说明


问题原因

sophon-etcd数据满了导致的

解决方案

  1. 页面停掉Sophon_Deps的所有etcd角色
    file

  2. 把sophon-etcd 角色所在的节点的 /var/sophon_deps1/etcd-data/下的member目录删除

    cd /var/sophon_deps1/etcd-data/
    rm -rf member
  3. 页面启动Sophon_Deps的所有etcd角色
    file

  4. 重启Sophon-gateway
    下面两种方法二选一
    a. 任意节点上执行下面命令重启

    kubectl delete po $(kubectl get po -owide |grep sophon-gateway|awk '{print $1}')

    b.
    file

这篇文章对您有帮助吗?

平均评分 0 / 5. 次数: 0

尚无评价,您可以第一个评哦!

非常抱歉,这篇文章对您没有帮助.

烦请您告诉我们您的建议与意见,以便我们改进,谢谢您。