I'm not sure that the logging.getLogger('keyring') is necessary, but it also doesn't seem to be the root cause of this.
This bug has the reasoning behind why the AttributeError exception is thrown: https://bugzilla.gnome.org/show_bug.cgi?id=709183 ** Bug watch added: GNOME Bug Tracker #709183 https://bugzilla.gnome.org/show_bug.cgi?id=709183 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1722553 Title: openstack command raises exception referencing gi.repository and gnome bug 709183 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1722553/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs