Skip to content

Instantly share code, notes, and snippets.

@rvalente
Created December 8, 2016 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvalente/96b1759e0aa573de59e3b7c2d9b2548a to your computer and use it in GitHub Desktop.
Save rvalente/96b1759e0aa573de59e3b7c2d9b2548a to your computer and use it in GitHub Desktop.
OpenStack Ansible Cinder NFS
enabled_backends=cinder_nfs_client
# All given backend(s)
[cinder_nfs_client]
volume_driver=cinder.volume.drivers.nfs.NfsDriver
volume_backend_name=cinder_nfs
nfs_shares_config=/etc/cinder/nfs_shares
shares=[{u'ip': u'192.168.3.200', u'share': u'/data/cinder'}]
storage_hosts:
infra01:
ip: 192.168.0.1
container_vars:
cinder_backends:
limit_container_types: cinder_volume
cinder_nfs_client:
volume_backend_name: cinder_nfs
volume_driver: cinder.volume.drivers.nfs.NfsDriver
nfs_shares_config: /etc/cinder/nfs_shares
shares:
- ip: "192.168.3.200"
share: "/data/cinder"
@rvalente
Copy link
Author

rvalente commented Dec 8, 2016

This is using stable/newton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment