Helion OpenStack 2.1 Ceph Integration
Configure the Block Storage Backend
First we need to install the Ceph client on the deployer node as follows (remembering –ask-vault-pass as I’ve encrypted sensitive data):
Install the Ceph client on all nodes that will be using Ceph services:
Verify the cinder.conf settings – remember that I replaced the default FSID and GUID – this will need to be applied to the cinder.conf file via it’s associated ansible template ~/helion/my_cloud/config/cinder/cinder.conf.j2.
Give the ceph backend a memorable name – especially if working with multiple backends e.g.
Carry on down the file to the Ceph section and remove the comments, then fill in the values pertinent to your installation. These are the values defined earlier in ~/helion/my_cloud/config/ceph/user_model.yml . In my case the file should look like this
To enable Ceph for volume backups carry on down this cinder.conf.j2 template file to the backup section – uncomment it and fill in the appropriate values:
We can now move on to glance configuration, provided you wish to use Ceph to store glance images. The file we need to modify now is called ~/helion/my_cloud/config/glance/glance-api.conf.j2 -surprise, surprise. Make the following changes
And change both “stores” and “default_store” as follows
So we’ve now configured Ceph for cinder volumes, cinder backups and glance images. All that’s left to configure is access to the hypervisor to mount volumes on virtual machines – ~/helion/my_cloud/config/nova/kvm-hypervisor.conf.j2 is the configuration file that we need to amend now
Now it’s back to HOS 2.X HLM basics when configurations have been changed and need to be redeployed.
I’ve got a couple of additional steps that you may not require if you have not encrypted sensitive data.
Build the deployment directory
Run the Cinder reconfigure playbook
Run the Glance reconfigure playbook
Finally run the Nova reconfigure playbook
It’s now time to start validation of the installation.