Bug 1461382

Summary: API calls after log out
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Lubos Trilety <ltrilety>
Component: DashboardAssignee: Neha Gupta <negupta>
Status: CLOSED WONTFIX QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3CC: mkarnik, nthomas, sankarshan
Target Milestone: beta   
Target Release: 3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 05:40:33 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:

Description Lubos Trilety 2017-06-14 11:02:32 UTC
Description of problem:
Tendrl dashboard doesn't stop with regular API calls even when user logs out. After that all calls always end correctly with 401 'Unauthorized' however they should not be called at all.

Version-Release number of selected component (if applicable):
tendrl-node-agent-3.0-alpha.9.el7scon.noarch
tendrl-commons-3.0-alpha.9.el7scon.noarch
tendrl-performance-monitoring-3.0-alpha.7.el7scon.noarch
tendrl-api-3.0-alpha.4.el7scon.noarch
tendrl-api-httpd-3.0-alpha.4.el7scon.noarch
tendrl-dashboard-3.0-alpha.4.el7scon.noarch
tendrl-alerting-3.0-alpha.3.el7scon.noarch
tendrl-api-doc-3.0-alpha.4.el7scon.noarch

How reproducible:
100%

Steps to Reproduce:
1. Log in on tendrl dashboard
2. Log out
3. Look on what API calls are run

Actual results:
Tendrl dashboard continue to run those calls which were run repeatedly before user logged out.

Expected results:
No API calls will be run after log out.

Additional info:

Comment 2 Lubos Trilety 2017-06-14 11:18:51 UTC
The issue is incremental. After first log in - log out there's e.g. one notifications call every 5 seconds, after several log in - log out, there could be 10 of them and more.

One note after several log in -log out, it happened to me that when I logged in again I was automatically logged out. Not sure if it is related though.

Comment 3 Nishanth Thomas 2017-06-15 06:33:57 UTC
What is the expected behaviour?
I don't think any API calls will initiated after logout. So I assume you want us to chase down the calls in progress and kill them?

In any case I don't think this is a priority at the moment

Comment 4 Lubos Trilety 2017-06-15 10:30:48 UTC
(In reply to Nishanth Thomas from comment #3)
> What is the expected behaviour?
> I don't think any API calls will initiated after logout. So I assume you
> want us to chase down the calls in progress and kill them?
> 
> In any case I don't think this is a priority at the moment

Well no different calls are initiated after log out. However e.g. those notifications calls are run every 10 seconds again. They are part of the current running setup in browser so when the page is reloaded after log out, they stop to be called.

Comment 5 Shubhendu Tripathi 2018-11-19 05:40:33 UTC
This product is EOL now