Role os_glance for OpenStack-Ansible
Go to file
Major Hayden 97d19586aa 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 16778e29be)
2018-03-28 18:24:21 +02:00
defaults Update glance NFS for systemd 2018-02-10 16:44:32 +00:00
doc Initial OSA zuul v3 role jobs 2017-10-21 08:24:51 +00:00
examples [DOCS] Add project links; fix indents; wording 2016-08-16 09:16:30 -05:00
handlers Update glance NFS for systemd 2018-02-10 16:44:32 +00:00
meta Add support for the openSUSE Leap distributions 2017-07-06 13:19:19 +01:00
releasenotes Update glance NFS for systemd 2018-02-10 16:44:32 +00:00
tasks Set glance images dir owners each time 2018-03-28 18:24:21 +02:00
templates Update glance NFS for systemd 2018-02-10 16:44:32 +00:00
tests Merge "tests: test-glance-upgrades.sh: Remove the exit trap" into stable/pike 2018-02-13 12:07:56 +00:00
vars Fix systemd init template for program override 2017-12-11 12:54:54 +00:00
zuul.d Update glance NFS for systemd 2018-02-10 16:44:32 +00:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:19:28 +00:00
.gitreview Update .gitreview for stable/pike 2017-08-18 07:59:54 +00:00
CONTRIBUTING.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:03:49 -05:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Update URLs in documents according to document migration 2017-07-14 09:37:06 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 15:00:23 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-08-24 17:11:00 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 18:46:26 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-10-30 21:56:42 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:37:06 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:41 +00:00
test-requirements.txt Updated from global requirements 2017-07-27 19:17:23 +00:00
tox.ini Update glance NFS for systemd 2018-02-10 16:44:32 +00:00

README.rst

Team and repository tags

image

OpenStack-Ansible glance

This Ansible role installs and configures OpenStack glance and the glance registry.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_glance/latest/

The project home is at:

http://launchpad.net/openstack-ansible