From db425c88e2ee56f6a057a9ae958ce85d4071d694 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Thu, 20 Jul 2017 15:43:44 +0600 Subject: Fix ImportError in "keystone_manage: action=dbsync": An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/tmp/ansible_lKCJSO/ansible_module_keystone_manage.py", line 32, in from keystone.openstack.common import gettextutils ImportError: No module named openstack.common --- keystone_manage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystone_manage b/keystone_manage index 780f7c9..296a133 100644 --- a/keystone_manage +++ b/keystone_manage @@ -31,7 +31,7 @@ try: # https://bugs.launchpad.net/glance/+bug/885529 from keystone.openstack.common import gettextutils gettextutils.install('keystone') -except AttributeError: +except ImportError: # this is not havana pass -- cgit v1.2.1