一,背景
在执行ceph osd pool delete rbd rbd --yes-i-really-really-mean-it 删除存储时报如下错误
二,步骤
这是由于没有配置mon节点的 mon_allow_pool_delete 字段所致,解决办法就是到mon节点进行相应的设置
首先打开mon节点的配置文件,命令如下:
vim /etc/ceph/ceph.conf
然后在配置文件中添加以下内容:
执行 systemctl restart ceph-mon.target重启服务
再次执行 ceph osd pool delete rbd rbd --yes-i-really-really-mean-it 删除