From 38973e8bc393a4ca36090c58c8b6eb6d093ea69a Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Fri, 1 Dec 2017 15:19:42 -0500 Subject: 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 Signed-off-by: Bruce Ashfield --- .../python/python-glance/glance-init.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-glance/glance-init.service (limited to 'meta-openstack/recipes-devtools/python/python-glance/glance-init.service') 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 @@ +[Unit] +Description=Barebones OpenStack glance initialization +After=postgresql-init.service keystone-init.service + +[Service] +Type=oneshot +ExecStart=%SYSCONFDIR%/glance/glance-init +ExecStartPost=/bin/systemctl --no-reload disable glance-init.service +RemainAfterExit=No + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf