您好,登錄后才能下訂單哦!
這篇文章主要為大家展示了“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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。