Hide Forgot
Description of problem: When configuring NFS backend in glance , /var/lib/glance/images/ is created as root. This situation prevents glance (running as glance) from writing images to the NFS backend. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Deploy an overcloud with NFS backend pointing to the undercloud (192.0.2.1) using storage-environment.yaml (https://github.com/david-hill/rhosp8/blob/8.0-nfs/storage-environment.yaml) 2. Try to upload an image to the overcloud once the deployment is completed. 3. Actual results: Fails Expected results: Succeeds Additional info: Perhaps we can specify a user in the parameters but it should be automatically configured for any users hitting this issue.
You can solve this by changing the permissions of your exports folders (ie /exports/glance) on your NFS server and then remounting the NFS shares on your client and it'll solve this issue.
It was already the case in OSP7 (https://access.redhat.com/solutions/2380631), the documentaton says to change the ownership of the folder /varlib/glance/images, nothing changed in OSP10 ? Can't we have the permission set correclty with the deployment ?