Bug 1461382 - API calls after log out
Summary: API calls after log out
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: Dashboard
Version: 3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 3
Assignee: Neha Gupta
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-14 11:02 UTC by Lubos Trilety
Modified: 2018-11-19 05:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-19 05:40:33 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.