summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance/glance-init.service
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-12-01 15:19:42 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-12-01 21:46:36 -0500
commit38973e8bc393a4ca36090c58c8b6eb6d093ea69a (patch)
tree3e9559be43f0e19f9067ae1524838ea78614e9ea /meta-openstack/recipes-devtools/python/python-glance/glance-init.service
parent2cf8169090392f6a7a4f8f119776f499f181fdf2 (diff)
downloadmeta-cloud-services-38973e8bc393a4ca36090c58c8b6eb6d093ea69a.tar.gz
python-glance: uprev to latest stable/pike
Complete the uprev and the transition to systemd. The configuration is cleaned up to match the setup documentation found in the openstack installation guide. Once a build is completed with these changes the controller image is able to have images added via: %> . /etc/keystone/admin-openrc %> openstack image create "cirros" \ --file cirros-0.3.5-x86_64-disk.img \ --disk-format qcow2 --container-format bare \ --public Images can be listed with 'openstack image list' or 'glance image-list' or via the horizon web interface. Requires introduction of python-glance-store... Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance/glance-init.service')
-rw-r--r--meta-openstack/recipes-devtools/python/python-glance/glance-init.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance-init.service b/meta-openstack/recipes-devtools/python/python-glance/glance-init.service
new file mode 100644
index 0000000..34941b9
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-glance/glance-init.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Barebones OpenStack glance initialization
3After=postgresql-init.service keystone-init.service
4
5[Service]
6Type=oneshot
7ExecStart=%SYSCONFDIR%/glance/glance-init
8ExecStartPost=/bin/systemctl --no-reload disable glance-init.service
9RemainAfterExit=No
10
11[Install]
12WantedBy=multi-user.target