Configuring Nova to Integrate with Ceph
Modify the Nova configuration file on OpenStack to integrate Nova with Ceph.
- On the OpenStack compute node (Nova compute node), modify the /etc/nova/nova.conf file.
- Open the file.
vi /etc/nova/nova.conf
- Press i to enter the insert mode and modify the file as follows:
[DEFAULT] ... live_migration_flag = "VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST,VIR_MIGRATE_TUNNELLED" [libvirt] ... virt_type = kvm images_type = rbd images_rbd_pool = vms images_rbd_ceph_conf = /etc/ceph/ceph.conf disk_cachemodes="network=writeback" rbd_user = cinder rbd_secret_uuid = b3d5fee6-839c-482e-b244-668bad7128a9
Change the value of rbd_secret_uuid to the UUID generated when a key is added to libvirt.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the file.
- On the OpenStack compute node (Nova compute node), restart the nova-compute service.
systemctl restart openstack-nova-compute.service
Parent topic: Integrating Ceph Block Storage with OpenStack