commit 97d19586aa7437ffee35d1cf46eb13bc00949c40
Author: Major Hayden <email address hidden>
Date: Fri Jan 12 08:14:44 2018 -0600
Set glance images dir owners each time
After a deployment of Queens, glance's images directory comes up with
ownership of `root:root` when it should be `glance:glance`. This
prevents an end user from uploading an image.
This patch removes the stat check of the images directory and always
ensures the directory is created. If the directory already exists,
the create task will ensure that the directory has its ownership
set appropriately.
Closes-Bug: 1759552
Change-Id: I286d6fbdfdec932ea031916f5460710a23d68374
(cherry picked from commit 16778e29be085d7485722e1bf8a3cb2bda7c22db)
Reviewed: https:/ /review. openstack. org/557373 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_glance/ commit/ ?id=97d19586aa7 437ffee35d1cf46 eb13bc00949c40
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 97d19586aa7437f fee35d1cf46eb13 bc00949c40
Author: Major Hayden <email address hidden>
Date: Fri Jan 12 08:14:44 2018 -0600
Set glance images dir owners each time
After a deployment of Queens, glance's images directory comes up with
ownership of `root:root` when it should be `glance:glance`. This
prevents an end user from uploading an image.
This patch removes the stat check of the images directory and always
ensures the directory is created. If the directory already exists,
the create task will ensure that the directory has its ownership
set appropriately.
Closes-Bug: 1759552 2ea031916f54607 10a23d68374 485722e1bf8a3cb 2bda7c22db)
Change-Id: I286d6fbdfdec93
(cherry picked from commit 16778e29be085d7