第 7 章 已知问题
本节记录了此 Red Hat Ceph Storage 发行版本里已知的问题。
7.1. ceph-ansible 实用程序 复制链接链接已复制到粘贴板!
在 Red Hat OpenStack Platform 上安装 Red Hat Ceph Storage 失败
当与 Red Hat OpenStack Platform 16 一起安装 Red Hat Ceph Storage 时,ceph-ansible
工具变得无响应,它会返回类似以下的错误:
'Error: unable to exec into ceph-mon-dcn1-computehci1-2: no container with name or ID ceph-mon-dcn1-computehci1-2 found: no such container'
'Error: unable to exec into ceph-mon-dcn1-computehci1-2: no container with name or ID ceph-mon-dcn1-computehci1-2 found: no such container'
要临时解决这个问题,请更新位于 ceph-ansible/roles/ceph-handler/tasks/
目录中的 handler_osds.yml
文件的以下部分:
- name: unset noup flag command: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd unset noup" delegate_to: "{{ groups[mon_group_name][0] }}" changed_when: False
- name: unset noup flag
command: "{{ container_exec_cmd | default('') }} ceph --cluster {{ cluster }} osd unset noup"
delegate_to: "{{ groups[mon_group_name][0] }}"
changed_when: False
改为:
- name: unset noup flag command: "{{ hostvars[groups[mon_group_name][0]]['container_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd unset noup" delegate_to: "{{ groups[mon_group_name][0] }}" changed_when: False
- name: unset noup flag
command: "{{ hostvars[groups[mon_group_name][0]]['container_exec_cmd'] | default('') }} ceph --cluster {{ cluster }} osd unset noup"
delegate_to: "{{ groups[mon_group_name][0] }}"
changed_when: False
并启动安装过程。
Ansible 在完成后不会取消设置 norebalance
标记
rolling-update.yml
Ansible playbook 在完成后不会取消设置 norebalance
标志。要临时解决这个问题,请手动取消设置该标志。
在启用仪表板时,Ansible 无法升级多站点 Ceph 对象网关
当启用 Red Hat Ceph Storage Dashboard 时,尝试使用 Ansible 升级到进一步版本的 Red Hat Ceph Storage 时,在多站点设置中升级次要 Ceph 对象网关站点时会失败。这个程序错误不会在主站点或者没有启用 Dashboard 发生。