From b456e9f5daafe74e454e9112dc616b48122d40b9 Mon Sep 17 00:00:00 2001 From: Michal Dulko Date: Thu, 13 Aug 2015 14:45:15 +0200 Subject: [PATCH] Add objects.register_all() to cinder-all command In cmd/all.py registration of objects was missing. This caused running cinder-all command to raise exceptions about unknown objects. Following commit fixes this problem. Closes-Bug: 1484533 Change-Id: Id7686bc801aaea30c1f7f24209044311656fa4cd --- cinder/cmd/all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cinder/cmd/all.py b/cinder/cmd/all.py index f365ddc67..945ee0c7b 100644 --- a/cinder/cmd/all.py +++ b/cinder/cmd/all.py @@ -39,6 +39,7 @@ i18n.enable_lazy() # Need to register global_opts from cinder.common import config # noqa from cinder.i18n import _LE +from cinder import objects from cinder import service from cinder import utils from cinder import version @@ -48,6 +49,7 @@ CONF = cfg.CONF def main(): + objects.register_all() CONF(sys.argv[1:], project='cinder', version=version.version_string()) logging.setup(CONF, "cinder") -- 2.45.2