Bug 1778189

Summary: [RFE] [UI] Add ability to cancel the import / export operation from UI
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Templates PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7.0CC: mhulan, oprazak, sghai
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
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: 2019-12-18 07:57:19 UTC Type: ---
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:    
Bug Blocks: 1778146    

Description Jitendra Yejare 2019-11-29 13:07:27 UTC
Description of problem:
One can not cancel the Foreman Templates export and import from UI for now. 

Version-Release number of selected component (if applicable):
Satellite 6.3 snap 3

How reproducible:
Always

Steps to Reproduce:
1. From UI, Hosts -> Templates -> Sync Templates , Export or import the templates.
2. Attempt to cancel the export / import operation from UI.

Actual results:
No option to cancel the export / import operation from UI.

Expected results:
Add ability to cancel the export / import operation from UI.

Comment 7 Marek Hulan 2019-12-18 07:57:19 UTC
There's no way of canceling foregroung operations, e.g. importing vms from compute resource. Given this is not possible today through API/CLI either, this would be an RFE. It was raised that API/CLI supports ctrl+c to interrupt the operation. However ctrl+c in API/CLI is basically an equivalent of closing the browswer tab. It does not cancel the request on the server and the operation will continue executing, the response is just not displayed to anyone. Cancelling would be doable once we make import/export a background task. I'm closing for now, we can reopen if that gets implemented.