Bug 1478173
Summary: | [OSP 7] Packstack tempest job failure on keystone identity error | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Nathan Kinder <nkinder> |
Component: | openstack-keystone | Assignee: | John Dennis <jdennis> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth Anbalagan <panbalag> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 7.0 (Kilo) | CC: | afazekas, amuller, apevec, ccollett, fhubik, jdennis, jjoyce, lhh, nkinder, nlevinki, panbalag, rcritten, srevivo |
Target Milestone: | zstream | Keywords: | Triaged, ZStream |
Target Release: | 7.0 (Kilo) | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openstack-keystone-2015.1.4-2.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1475969 | Environment: | |
Last Closed: | 2017-09-12 17:40:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1475969, 1478177 | ||
Bug Blocks: | 1478149 |
Description
Nathan Kinder
2017-08-03 19:27:18 UTC
I figure it's worthwhile to capture this in the bug report. I had a heck of a time figuring out where things were hanging. I tried both strace and gdb and neither of those allowed me to pin-point where where the hang was. This is how I instrumented the WSGI script to get the call list: import sys def trace_calls(frame, event, arg): if event != 'call': return co = frame.f_code func_name = co.co_name if func_name == 'write': # Ignore write() calls from print statements return func_line_no = frame.f_lineno func_filename = co.co_filename caller = frame.f_back if caller: caller_line_no = caller.f_lineno caller_filename = caller.f_code.co_filename sys.stdout.write('Call to %s on line %s of %s from line %s of %s\n' % \ (func_name, func_line_no, func_filename, caller_line_no, caller_filename)) return sys.settrace(trace_calls) This was added at the top of /var/www/cgi-bin/keystone/main Need PM ack. Verified as follows, ************* VERSION ************** [root@lynx13 tempest_run(keystone_admin)]# yum list installed | grep openstack-keystone openstack-keystone.noarch 2015.1.4-2.el7ost @rhelosp-7.0-puddle [root@lynx13 tempest_run(keystone_admin)]# ********************* SAMPLE TEMPEST RUNS ********************* [root@lynx13 tempest_run(keystone_admin)]# python -m testtools.run tempest.api.identity.admin.v2.test_roles.RolesTestJSON.test_assign_user_role Tests running... Ran 1 test in 7.035s OK [root@lynx13 tempest_run(keystone_admin)]# [root@lynx13 tempest_run(keystone_admin)]# [root@lynx13 tempest_run(keystone_admin)]# python -m testtools.run tempest.api.identity.admin.v2.test_roles_negative.RolesNegativeTestJSON.test_assign_user_role_by_unauthorized_user Tests running... Ran 1 test in 6.305s OK Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2696 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |