From 45d6cfdf43b75cd1eacda90c6438e34f9c61a0a1 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Thu, 20 Mar 2014 18:13:09 -0400 Subject: [PATCH] Add element to fix keystone --- elements/keystone-1289935/post-install.d/90-fix-keystone | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 elements/keystone-1289935/post-install.d/90-fix-keystone diff --git a/elements/keystone-1289935/post-install.d/90-fix-keystone b/elements/keystone-1289935/post-install.d/90-fix-keystone new file mode 100755 index 000000000..b415fcf0e --- /dev/null +++ b/elements/keystone-1289935/post-install.d/90-fix-keystone @@ -0,0 +1,7 @@ +#!/bin/bash + +set -eux + +# This is a hack until https://bugs.launchpad.net/keystone/+bug/1289935 is +# fixed in the rdo rpm +sed -i "s/self.revoke_map.remove(e)/self.revoke_map.remove_event(e)/g" /usr/lib/python2.7/site-packages/keystone/contrib/revoke/core.py