kolla-ansible运维

cinder-lvm后端

pvcreate /dev/sdb
vgcreate cinder-volumes /dev/sdb

vi /etc/kola/globals.yml
......
enable_cinder: "yes"
enable_cinder_backend_iscsi: "yes"
enable_cinder_backend_lvm:: "yes"
cinder_volume_group: "cinder-volumes" #此处创建的vg名称
......

cinder-ceph后端
ceph osd pool create images 32 32
ceph osd pool create volumes 32 32
ceph osd pool create backups 32 32
ceph osd pool create vms 32 32
ceph osd pool ls

ceph auth list
ceph auth get client.admin

exported keyring for client.admin
[client.admin]
	key = AQDppl9hpHYDABAAppgPA2VhhV72Yhe8/WOXMg==
	caps mds = "allow *"
	caps mgr = "allow *"
	caps mon = "allow *"
	caps osd = "allow *"
上一篇:ansible角色role实现编译安装nginx


下一篇:红帽RHCE考试下午-RHCE (RH294)任务概览[2021最新版]