UI - Cancel all requests api, async jobs when user logs out#5663
UI - Cancel all requests api, async jobs when user logs out#5663sureshanaparti merged 3 commits intoapache:4.16from
Conversation
|
@utchoang Can you add some description of what you're actually trying to achieve here please. The title reads like this - if a user sets off an async job like a volume snapshot, and then logs out, that async job (volume snapshot) would then be canceled. |
is the thumbsup to say 'yes, if a user logs out when a snapshot is taking place, then the job is cancelled' ? |
|
No, it won't cancel the job - just UI will cancelling its internal polls for async job results. |
|
@rhtyd a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✖️ |
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Hi @utchoang I deployed few VMs from UI and logged out. Noticed the job progress still displayed after logout. Please check. |
|
@sureshanaparti How did you create that multiple requests? |
|
@utchoang a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
I've deployed these VMs from 'Add Instance' form in the UI. |
|
Verified. LGTM. |

Description
This PR fixes #5652
When the user performs tasks related to API requests or runs async jobs, as soon as the user logs out, the API requests and async jobs will be canceled immediately.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?