Ceph创建一个新集群 报错: File "/usr/bin/ceph-deploy", line 18, in..........
[root@ceph-node1 ceph]# ceph-deploy new node1 Traceback (most recent call last): File "/usr/bin/ceph-deploy", line 18, in <module> from ceph_deploy.cli import main File "/usr/lib/python2.7/site-packages/ceph_deploy/cli.py", line 1, in <module> import pkg_resources ImportError: No module named pkg_resources
[root@ceph-node1 ceph]#
在安装完成 ceph-deploy 后 创建 集群时报错
#报错了,原因是缺python-setuptools,安装它即可
安装python-setuptools依赖,再重新创建
[root@node01 ceph]# yum install -y python-setuptools
本文来自博客园,作者:xiao智,转载请注明原文链接:https://www.cnblogs.com/yuwen01/p/16561804.html