Chef Support for GPFS storage for Cinder, Nova and Glance

Registered by Bill Owen

Support automated setting of configuration configuration flags for Cinder. Nova and Glance.

The initial set of configuration flags for Cinder:
volume_driver = cinder.volume.drivers.gpfs.GPFSDriver
gpfs_mount_point_base = <volumes path in gpfs filesystem>
gpfs_images_dir = <images path in gpfs filesystem >
gpfs_images_share_mode = copy_on_write
gpfs_sparse_volumes = True
gpfs_max_clone_depth=<some reasonable value, for example 8>
gpfs_storage_pool='system'

The initial set of configuration flags for Glance (glance-api.conf and glance-cache.conf):
filesystem_store_datadir = <images path in gpfs filesystem, same as gpfs_images_dir in cinder.conf >

The initial set of configuration flags for Nova:
instances_path=<instances path in gpfs filesystem>
disk_cachemodes=file=writeback

Blueprint information

Status:
Complete
Approver:
Salman Baset
Priority:
Medium
Drafter:
Bill Owen
Direction:
Approved
Assignee:
Bill Owen
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon havana-stable
Started by
Bill Owen
Completed by
Justin Shepherd

Related branches

Sprints

Whiteboard

Cinder Steps:
1. Define cinder.conf entries: cookbook-openstack-block-storage/attributes/default.rb
2. Add gpfs_mount_point_base directory setup: cookbook-openstack-block-storage/recipes/volume.rb
3. Publish gpfa flags in cinder.conf: cookbook-openstack-block-storage/templates/default/cinder.conf.erb
5. Update cookbook-openstack-block-storage/README.md.

Nova Steps:
1. Add instances_path directory setup: cookbook-openstack-compute/recipes/compute.rb
2. Publish instance_path in nova.conf: cookbook-openstack-compute/templates/default/nova.conf.erb
3. Update cookbook-openstack-compute/README.md auto-generated.

Glance Steps:
1. Add filesystem_store_datadir directory setup: cookbook-openstack-image/recipes/api.rb

Gerrit topic: https://review.openstack.org/#q,topic:bp/gpfs-storage-support,n,z

Addressed by: https://review.openstack.org/80794
    Add gpfs volume driver configuration flags

Addressed by: https://review.openstack.org/80795
    Add disk_cachemodes and instances_path support

Addressed by: https://review.openstack.org/80796
    Add filesystem_store_datadir initialization

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.