)]}'
{"keystone/cli.py":[{"author":{"_account_id":5707,"name":"Henry Nash","email":"henryn@linux.vnet.ibm.com","username":"henry-nash"},"change_message_id":"a876a6e10a57aaf1e5fbb8d9099779c5ecab3366","unresolved":false,"context_lines":[{"line_number":297,"context_line":"        def get_domain_id(name):"},{"line_number":298,"context_line":"            try:"},{"line_number":299,"context_line":"                identity.Manager()"},{"line_number":300,"context_line":"                # init assignment manager to avoid KeyError in resource.core"},{"line_number":301,"context_line":"                assignment.Manager()"},{"line_number":302,"context_line":"                resource_manager \u003d resource.Manager()"},{"line_number":303,"context_line":"                return resource_manager.get_domain_by_name(name)[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_a3f72258","side":"PARENT","line":300,"updated":"2015-04-09 06:15:57.000000000","message":"So we do this is in a few places...not sure DomainConfig is any more special than the others....probably should do it everywhere if we are going to take this approach.","commit_id":"318d48187535109d5ddaa050fdc90ba327386435"},{"author":{"_account_id":1916,"name":"Guang Yee","email":"gyee@suse.com","username":"guang-yee"},"change_message_id":"d1eeddb2523a3490597bb7740a8f6e60cdec7dad","unresolved":false,"context_lines":[{"line_number":297,"context_line":"        def get_domain_id(name):"},{"line_number":298,"context_line":"            try:"},{"line_number":299,"context_line":"                identity.Manager()"},{"line_number":300,"context_line":"                # init assignment manager to avoid KeyError in resource.core"},{"line_number":301,"context_line":"                assignment.Manager()"},{"line_number":302,"context_line":"                resource_manager \u003d resource.Manager()"},{"line_number":303,"context_line":"                return resource_manager.get_domain_by_name(name)[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_f91b80c8","side":"PARENT","line":300,"in_reply_to":"9aa53dc9_a3f72258","updated":"2015-04-09 16:16:07.000000000","message":"Henry, good call! Look like mapping_purge have similar issue.\n\nkeystone-manage mapping_purge --domain-name acme\n4293 DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._domain_deleted` subscribed to event `identity.domain.deleted`. register_event_callback /opt/stack/keystone/keystone/notifications.py:292\n4293 CRITICAL keystone [-] AttributeError: \u0027CacheRegion\u0027 object has no attribute \u0027expiration_time\u0027\n4293 TRACE keystone Traceback (most recent call last):\n4293 TRACE keystone   File \"/usr/local/bin/keystone-manage\", line 6, in \u003cmodule\u003e\n4293 TRACE keystone     exec(compile(open(__file__).read(), __file__, \u0027exec\u0027))\n4293 TRACE keystone   File \"/opt/stack/keystone/bin/keystone-manage\", line 44, in \u003cmodule\u003e\n4293 TRACE keystone     cli.main(argv\u003dsys.argv, config_files\u003dconfig_files)\n4293 TRACE keystone   File \"/opt/stack/keystone/keystone/cli.py\", line 590, in main\n4293 TRACE keystone     CONF.command.cmd_class.main()\n4293 TRACE keystone   File \"/opt/stack/keystone/keystone/cli.py\", line 319, in main\n4293 TRACE keystone     mapping[\u0027domain_id\u0027] \u003d get_domain_id(CONF.command.domain_name)\n4293 TRACE keystone   File \"/opt/stack/keystone/keystone/cli.py\", line 305, in get_domain_id\n4293 TRACE keystone     return resource_manager.get_domain_by_name(name)[\u0027id\u0027]\n4293 TRACE keystone   File \"/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py\", line 1040, in decorate\n4293 TRACE keystone     should_cache_fn)\n4293 TRACE keystone   File \"/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py\", line 629, in get_or_create\n4293 TRACE keystone     expiration_time \u003d self.expiration_time\n4293 TRACE keystone AttributeError: \u0027CacheRegion\u0027 object has no attribute \u0027expiration_time\u0027\n4293 TRACE keystone \n\n\nI\u0027ll consolidate.","commit_id":"318d48187535109d5ddaa050fdc90ba327386435"}]}
