标签:app 情况 查看 cep block etc pre lock set
为nova服务创建pool池(因为我只有一个OSD节点,所以要将副本数设置为1)
ceph osd pool create nova-vms 32
ceph osd pool set nova-vms size 1
ceph osd pool application enable glance-images rbd
ceph df
ceph auth get-or-create client.nova-vms mon ‘allow r‘ osd ‘allow class-read object_prefix rbd_children, allow rwx pool=cinder-volumes, allow rwx pool=glance-images,allow rwx pool=cinder-backup, allow rwx pool=nova-vms‘ -o /etc/ceph/ceph.client.nova-vms.keyring
查看:
ceph auth ls | grep -EA3 ‘client.(nova-vms)‘
su - cephd
cd ~/ceph-cluster/
cat <<EOF>> ceph.conf
[client.nova-vms]
keyring = /etc/ceph/ceph.client.nova-vms.keyring
EOF
ceph-deploy --overwrite-conf admin ceph-mon01
exit
标签:app 情况 查看 cep block etc pre lock set
原文地址:https://www.cnblogs.com/jipinglong/p/11223085.html