'NameError: global name 'endpoint' is not defined' after browser crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Won't Fix
|
High
|
Unassigned |
Bug Description
I was working on horizon when my firefox browser stopped responding and I had to force shut down the browser and restart it.
once I restored the session, none of the objects could be retrieved by horizon and when I logged out I could not log in with http access error.
the only way I was able to refresh the session is logging in with hostname instead of ip which somehow refreshed the session and allowed me to log in.
Version-Release number of selected component (if applicable):
python-
httpd-tools-
httpd-2.
firefox-
rhel-csb-
python-
How reproducible:
unknown - below is what happened to me.
Steps to Reproduce:
1. open a session to horizon in firefox using ip (http://
2. crash firefox (I suppose killing -9 the pid should simulate this)
3. restore the browser
4. log out/log in with ip again
5. log in with dnsname of host (http://
Actual results:
we fail to get objects from the setup and when we log out we fail to login again until we change from ip to dns name of host
Expected results:
we should refresh the session after a crash in browser.
Additional info:
[Thu Apr 17 10:03:10 2014] [error] RESP BODY: {"limits": {"rate": [], "absolute": {"maxServerMeta": 128, "maxPersonality": 5, "maxImageMeta": 128, "maxPersonality
AMUsed": 4096, "totalInstances
200}}}
[Thu Apr 17 10:03:10 2014] [error]
[Thu Apr 17 10:07:11 2014] [error] Exception in thread Thread-5:
[Thu Apr 17 10:07:11 2014] [error] Traceback (most recent call last):
[Thu Apr 17 10:07:11 2014] [error] File "/usr/lib64/
[Thu Apr 17 10:07:11 2014] [error] self.run()
[Thu Apr 17 10:07:11 2014] [error] File "/usr/lib64/
[Thu Apr 17 10:07:11 2014] [error] self.__
[Thu Apr 17 10:07:11 2014] [error] File "/usr/lib/
[Thu Apr 17 10:07:11 2014] [error] endpoint=endpoint,
[Thu Apr 17 10:07:11 2014] [error] NameError: global name 'endpoint' is not defined
[Thu Apr 17 10:07:11 2014] [error]
[Thu Apr 17 10:46:28 2014] [error] Exception in thread Thread-6:
[Thu Apr 17 10:46:28 2014] [error] Traceback (most recent call last):
[Thu Apr 17 10:46:28 2014] [error] File "/usr/lib64/
[Thu Apr 17 10:46:28 2014] [error] self.run()
[Thu Apr 17 10:46:28 2014] [error] File "/usr/lib64/
[Thu Apr 17 10:46:28 2014] [error] self.__
[Thu Apr 17 10:46:28 2014] [error] File "/usr/lib/
[Thu Apr 17 10:46:28 2014] [error] endpoint=endpoint,
[Thu Apr 17 10:46:28 2014] [error] NameError: global name 'endpoint' is not defined
[Thu Apr 17 10:46:28 2014] [error]
[Thu Apr 17 10:55:03 2014] [error] INFO:urllib3.
[Thu Apr 17 10:55:03 2014] [error] DEBUG:urllib3.
[Thu Apr 17 10:55:03 2014] [error] DEBUG:iso8601.
ear': u'2014', 'separator': u'T', 'day': u'18', 'minute': u'55'} with default timezone <iso8601.
summary: |
- fter I had to force shut down my browser we are getting 'NameError: - global name 'endpoint' is not defined' + 'NameError: global name 'endpoint' is not defined' after browser crash |
tags: | added: dashboard-core |
Changed in horizon: | |
milestone: | juno-3 → juno-rc1 |
Changed in horizon: | |
status: | New → Incomplete |
status: | Incomplete → Won't Fix |
The workaround now is to access the URL with /auth/logout (e.g. http://<horizon URL base>/auth/logout).
It is confusing to users and it is nice we have a solution.