Providing required priviledges to the mounted NFS volume
Since, user ID on host and container differs, image-create
with NFS backend was failing with permission error. But even after
resolving permission error[1] the image was not getting created
on the nfs share as the NFS endpoint is not mounted successfully on
the container via puppet. This will be fixed by [2].
Now, adding two below changes in this patch,
[1]. chown glance:glance /var/lib/glance.
[2]. Proposing this solution to mount NFS endpoint on the host instead
of mounting it on glance container, because mounting in container
does not work as explained in LP Bug.
Closes-Bug: 1708629
Change-Id: Ib60cb0d179e7c117dc26440746154136aa9d163e
(cherry picked from commit
ed11f8ebcfbaf1fbbebb4c83e3201e462fee14ee)
Reviewed: https:/ /review. openstack. org/510846 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=f42b2b88652 74b292aef2f61b3 c5ef30d071fd87
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit f42b2b8865274b2 92aef2f61b3c5ef 30d071fd87
Author: Pranali Deore <email address hidden>
Date: Mon Sep 11 11:51:57 2017 +0530
Providing required priviledges to the mounted NFS volume
Since, user ID on host and container differs, image-create
with NFS backend was failing with permission error. But even after
resolving permission error[1] the image was not getting created
on the nfs share as the NFS endpoint is not mounted successfully on
the container via puppet. This will be fixed by [2].
Now, adding two below changes in this patch,
[1]. chown glance:glance /var/lib/glance.
[2]. Proposing this solution to mount NFS endpoint on the host instead
of mounting it on glance container, because mounting in container
does not work as explained in LP Bug.
Closes-Bug: 1708629 17dc26440746154 136aa9d163e af1fbbebb4c83e3 201e462fee14ee)
Change-Id: Ib60cb0d179e7c1
(cherry picked from commit
ed11f8ebcfb