r/openstack • • Feb 16 '25

Question about cinder backend

It's a conceptual question.

When I use LVM backend, the connection to VM running in compute node is iSCSI but using NFS I couldn't create a successful configuration. How cinder assign a volume to a VM running in a remote compute node? I was reading that cinder will create a file to assign as a volume but I don't know how this file will become a block device to the VM in the compute node.

1 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/ventura120257 Feb 17 '25

Something is missing in my compute node because it's not mounting anything. It works properly only if the backend is LVM on Cinder.

1

u/redfoobar Feb 17 '25

I think you have to configure nfs_mount_point_base (have not used it but this sounds like the option you would need to set)

Also if you have selinux make sure to set:

setsebool -P virt_use_nfs onsetsebool -P virt_use_nfs on