1.

[ceph_deploy][ERROR ]RuntimeError: Failed to execute command: yum -y install epel-release

解决方案

进入/etc/yum.repos.d中删除epel.repo和epel-testing.repo

2.

[ceph_deploy][ERROR ]RuntimeError: NoSectionError: No section: 'ceph'

解决方案

#yum -y remove ceph-release

3.

[admin-node][WARNIN] Anotherapp is currently holding the yum lock; waiting for it to exit...

解决方案

#rm -f /var/run/yum.pid

4.

RuntimeError: Failed to executecommand: yum -y install ceph ceph-radosgw

解决方案

# rpm -ivh libunwind-1.1-.el7.x86_64.rpm

5.

[ceph_deploy][ERROR ]RuntimeError: Failed to execute command: yum -y install yum-plugin-priorities

解决方案

进入/etc/yum.repos.d中删除epel.repo和epel-testing.repo

6.

TTY报错
[node1][DEBUG ] connection detected need for sudo
sudo: sorry, you must have a tty to run sudo
[node1][DEBUG ] connected to host: node1
[ceph_deploy][ERROR ] RuntimeError: remoteconnection got closed, ensure ``requiretty`` is disabled for node1

解决方案

# visudo
#Defaults requiretty
Defaults:ceph !requiretty

7.

** ERROR: error creating emptyobject store in /var/local/osd0: (13) Permission denied
[admin-node][WARNIN]
[admin-node][ERROR ] RuntimeError: com
mand returned non-zero exitstatus: 1
[ceph_deploy][ERROR ] RuntimeError: Failedto execute command: /usr/sbin/ceph-disk -v activate --mark-init systemd --mount/var/local/osd0

解决方案

在各个节点上给/var/local/osd1/和/var/local/osd1/添加权限
如下:
chmod /var/local/osd0/
chmod /var/local/osd0/*
chmod 777 /var/local/osd1/
chmod 777 /var/local/osd1/*

8.

连接超时

解决方案

[root@admin-node my-cluster]#ceph-deploy  osd activatenode1:/var/local/osd1

9.

osd节点起不来
查看节点状态
[root@admin-node my-cluster]# ceph -s
[root@admin-node my-cluster]# ceph osd tree

解决方案

.      关闭防火墙
. 检查ssh无密钥登录配置
. 一般情况下,osd节点启动较慢,等待5分钟左右即可。

最新文章

  1. Windows服务安装
  2. Extjs.FormPanel
  3. java实现串口通讯
  4. pushlet
  5. [转载]iOS9 使用CoreLocation
  6. 以Web Host的方式来寄宿Web API
  7. 百度站长工具进击site结果页面[SITE特型]
  8. gcc的-D和-U参数:宏的设置与取消
  9. Azure IoT
  10. unity中的[xxxxxx]特性(Attributes)
  11. ML02: 机器学习KNN 算法
  12. 有关Java字符集编码的问题
  13. 环境搭建文档——Windows下的Git搭建详解
  14. 线程:生命周期、实现方式、start()和run()的区别!
  15. Python遍历文件个文件夹
  16. struts2 错误:Dispatcher initialization failed java.lang.RuntimeException
  17. Linux命令: 编辑模式移动光标
  18. TEXTMETRICW 结构记录
  19. windows环境下配置tornado
  20. sass快速入门 - 笔记

热门文章

  1. APP营销软件项目常见(合规)风险评估
  2. pyqt5的QCompleter自动补全 使用模板
  3. dockerfile中配置时区
  4. 059. Spiral Matrix II
  5. python定位隐藏元素
  6. PHP define defined const
  7. 华为HCNA乱学Round 5:华为交换机基础
  8. Windows 10 搭建 Django 环境(详细教程)
  9. 【Python开发】Url中文字符时记得转码edcode("utf-8")
  10. sublime text 修改侧边栏字体大小