[Openstack] How to configure cinder to use NFS storage backend for VMWare driver

Rajshree Thorat rajshree.thorat at gslab.com
Thu Mar 13 06:14:32 UTC 2014


Hi All,

I'm deploying OpenStack Havana for provisioning VMs using ESXi as 
hypervisor and would like to
use NFS storage as cinder backend.

Cinder services are successfully configured to use NFS storage by 
setting the volume_driver
configuration key to cinder.volume.drivers.nfs.NfsDriver.

Referred link is:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/3/html/Installation_and_Configuration_Guide/Configuring_for_NFS_Storage.html

Mounting of NFS shares as well as volume creation on the shares are 
working as expected. However, when
I try to attach NFS volume to instance which is hosted on ESXi, cinder 
services are not able to attach
NFS volume to instance. I tried to see the error messages in cinder logs 
but it is not throwing any failure
messages in cinder logs. So, I could not get what is happening?

Few questions related to this:

  * Can we use NFS storage backend for VMware driver?

           If answer is yes then,

  * How could I configure NFS storage backend for VMWare driver?

  * The NFS driver doesn't actually allow an instance to have access to
    a storage device at the block-level. Instead, files are created on
    an NFS share and then mapped to instances, emulated as a block
    device. /How could the files created on NFS share are exposed to
    instances as VMDK files/.

  * If NFS storage is exposed to ESXi as datastore. Then how could I
    configure cinder.conf to say use only NFS storage for volume
    creation instead of local datastore of ESXi.

  * Might be above case is possible if we are using single ESXi compute.
    If we want to configure multiple ESXi as compute nodes, then how
    could I set multiple entries of vmware_host ip and its credentials
    in single cinder.conf file.
  * How volume get migrated if the instance's ESX host can not access
    the data store containing the volume?


Does anyone have any idea?

Pointers in the right direction are highly appreciated.

Regards,
Rajshree
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140313/37ad55ef/attachment.html>


More information about the Openstack mailing list