您好,登录后才能下订单哦!
这篇文章主要为大家展示了“ceph中如何解决Module 'dashboard' has failed IOError Port 7000 not free问题”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“ceph中如何解决Module 'dashboard' has failed IOError Port 7000 not free问题”这篇文章吧。
# ceph -s cluster: id: ce2af227-473a-4d73-a817-512a17f235ac health: HEALTH_ERR Module 'dashboard' has failed: IOError("Port 7000 not free on '172.16.13.151'",) services: mon: 3 daemons, quorum dlw-1,dlw-2,dlw-3 (age 3m) mgr: dlw-2(active, starting, since 0.918549s), standbys: dlw-3, dlw-1 osd: 8 osds: 8 up (since 5w), 8 in (since 5w) data: pools: 0 pools, 0 pgs objects: 0 objects, 0 B usage: 8.1 GiB used, 784 GiB / 792 GiB avail pgs:
报错字面上的意思是151节点上的7000端口被占用导致dashboard模块失败 查看配置
# ceph config dump WHO MASK LEVEL OPTION VALUE RO mgr advanced mgr/dashboard/server_addr 172.16.13.151 * mgr advanced mgr/dashboard/server_port 7000 * mgr advanced mgr/dashboard/ssl false *
151机器上的7000端口依旧,是因为mgr用的就是7000
# netstat -nap |grep 7000 tcp 0 0 172.16.13.151:7000 0.0.0.0:* LISTEN 1948234/ceph-mgr # ceph mgr services { "dashboard": "http://172.16.13.151:7000/", "prometheus": "http://dlw-2:9283/" }
注意到当前活跃的mgr是dlw-2
尝试把dashboard修改到dlw-2节点上
# ceph config set mgr mgr/dashboard/server_addr dlw-2 # ceph mgr module disable dashboard # ceph mgr module enable dashboard --force
查看现在的状态,集群恢复正常
# ceph config dump WHO MASK LEVEL OPTION VALUE RO mgr advanced mgr/dashboard/server_addr dlw-2 * mgr advanced mgr/dashboard/server_port 7000 * mgr advanced mgr/dashboard/ssl false *
# ceph -s cluster: id: ce2af227-473a-4d73-a817-512a17f235ac health: HEALTH_OK services: mon: 3 daemons, quorum dlw-1,dlw-2,dlw-3 (age 3m) mgr: dlw-2(active, since 4s), standbys: dlw-3, dlw-1 osd: 8 osds: 8 up (since 5w), 8 in (since 5w) data: pools: 0 pools, 0 pgs objects: 0 objects, 0 B usage: 8.1 GiB used, 784 GiB / 792 GiB avail pgs:
以上是“ceph中如何解决Module 'dashboard' has failed IOError Port 7000 not free问题”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。