From b3327ff10ed5edcb1974455cad5b87c58481fbea Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 24 May 2021 22:44:30 +0900 Subject: [PATCH] Install python-ceph/rbd before starting glance services The python-ceph/rbd package is required so that glance services can access to its ceph backend. This change ensures the package resource is tagged with the glance-support-package tag so that the package is always installed before starting glance services. Change-Id: I0df179dccc95fd4d617eb1b39d921ecc4a6d7bee --- manifests/backend/multistore/rbd.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/backend/multistore/rbd.pp b/manifests/backend/multistore/rbd.pp index 64dda4c8..663427bb 100644 --- a/manifests/backend/multistore/rbd.pp +++ b/manifests/backend/multistore/rbd.pp @@ -81,7 +81,7 @@ define glance::backend::multistore::rbd( "${name}/store_description": value => $store_description; } - if $manage_packages and !defined(Package[$::glance::params::pyceph_package_name]) { + if $manage_packages { ensure_packages('python-ceph', { ensure => $package_ensure, name => $::glance::params::pyceph_package_name,