Hi everyone,

I have an issue with using TripleO (Queens) to setup an NFS backend for Cinder.

My storage.yaml is as follows:

parameter_defaults:
  CinderEnableIscsiBackend: false
  CinderEnableRbdBackend: false
  CinderEnableNfsBackend: true
  NovaEnableRbdBackend: false
  GlanceBackend: 'file'

  CinderNfsMountOptions: 'rw,sync'
  CinderNfsServers: '192.168.24.1:/export/cinder'

  GlanceNfsEnabled: true
  GlanceNfsShare: '192.168.24.1:/export/glance'
  GlanceNfsOptions: 'rw,sync,context=system_u:object_r:glance_var_lib_t:s0'
 
  NovaNfsEnabled: true
  NovaNfsShare: '192.168.24.1:/export/nova'
  NovaNfsOptions: 'rw,sync,context=system_u:object_r:nfs_t:s0'

I used the undercloud node as an NFS server for testing purposes. Iptables is set accordingly. The /etc/exportfs on the NFS server is as follows:


All three folders are set to chmod 777. Nova and Glance work as expected. Only Cinder remains problematic. I can try to upload volumes from overcloud, but nothing would show up in the cinder folder. Also Horizon gives errors like unable to retrieve volume and volume snapshots. Did I miss something here? I do plan to use Ceph later, but I wish to use NFS for now to test migration and failover. Any helps would be appreciated. Thank you!

Best regards,
Cody