In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
[TOC]
1. Environment description software version operating system CentOS7.6cephnautilus, v14.2.4
The nautilus version of ceph-deploy is installed the same as the luminous version, you can refer to my previous article:
Https://blog.51cto.com/ygqygq2/2161917
two。 Failed to enable ceph dashboard
Mgr module opened dashboard prompt error, although added-- force surface enabled, but the dashboard service is not actually started, because setting the dashboard user command prompt is not supported.
3. Problem troubleshooting process
Mgr node to view mgr startup log
But the pip installation ansible module cannot be installed alive or dead, and starting dashboard still prompts ImportError: No module named 'requests.packages.urllib3'
From the log, it seems that the ceph mgr enable module, in principle, python uses urllib3 to download and install it from the network, so change the direction, first solve the urllib3 module problem.
Pip uninstalls urllib3 and installs it using yum instead.
View the log when the dashboard module is enabled in real time again
Tail-f / var/log/ceph/ceph-mgr.utyun-node2.log
Finally, dashboard was launched successfully without any error report.
[root@utyun-node1 external-ceph] # ceph mgr module ls | more {"enabled_modules": ["dashboard", "iostat", "pg_autoscaler", "restful"]
4. Summary
The following is a summary of the steps for ceph nautilus to enable dashboard:
Mgr node operation:
Yum-y install ceph-mgr-dashboardpip uninstall urllib3yum install python-urllib3-y
Ceph management node operations:
Ceph mgr module enable dashboardceph config set mgr mgr/dashboard/server_addr 0.0.0.0ceph config set mgr mgr/dashboard/server_port 7000ceph config set mgr mgr/dashboard/ssl falseceph dashboard ac-user-create admin password administrator
Reference:
[1] https://docs.ceph.com/docs/nautilus/mgr/dashboard/
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.