In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you how to solve the problem of Module 'dashboard' has failed IOError Port 7000 not free in ceph. The content is simple and easy to understand. I hope it can help you solve your doubts. Let's let Xiaobian lead you to study and learn this article "How to solve the problem of Module 'dashboard' has failed IOError Port 7000 not free in ceph".
Error View # 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: error handling
Error Literally means that port 7000 on node 151 is occupied, causing the dashboard module to fail View configuration
# 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 *
Port 7000 on the 151 machine remains the same because mgr uses 7000.
# netstat -nap |grep 7000tcp 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/"}
Note that the currently active mgr is dlw-2
Try changing dashboard to dlw-2 node
# ceph config set mgr mgr/dashboard/server_addr dlw-2# ceph mgr module disable dashboard # ceph mgr module enable dashboard --force
Check the current status. Cluster is back to normal.
# 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: The above is "How to solve the Module 'dashboard' has failed IOError Port 7000 not free problem in ceph" All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.