Comment 4 for bug 1759552

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_glance (stable/pike)

Reviewed: https://review.openstack.org/557373
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_glance/commit/?id=97d19586aa7437ffee35d1cf46eb13bc00949c40
Submitter: Zuul
Branch: stable/pike

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)