Bug 1342455

Summary: task export lacks details about task sub-plans
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: Tasks PluginAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.8Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:46:54 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 Pavel Moravec 2016-06-03 10:04:05 UTC
Description of problem:
Having a task with sub-plans (i.e. errata bulk install task), task export lacks /has broken linking this task to the sub-plan tasks. Even taking:

foreman-rake foreman_tasks:export_tasks tasks=all

will generate task export with invalid URL in Sub plans.

The "Sub plans" tasks are collected by the task export, but one does not know which are triggered by the bulk task and which are not. Please add some relationship among the parent task and sub-plans / child tasks.


Version-Release number of selected component (if applicable):
ruby193-rubygem-foreman-tasks-0.6.15.7-1.el7sat.noarch


How reproducible:
100%


Steps to Reproduce:
1. Apply some errata to multiple hosts in one bulk action
2. take task export:
foreman-rake foreman_tasks:export_tasks tasks=all days=1

(remove "days=1" if necessary, this is just to shrink the task export tarball)

3. Open the task export on another machine and click to Actions::BulkAction task -> Run tab -> "Sub plans".
4. Open index.html and check if  Actions::Katello::System::Erratum::ApplicableErrataInstall tasks are present

Actual results:
3. link in "Sub plans" is broken.
4. the tasks are there, but no clear relationship to the Actions::BulkAction


Expected results:
3. The link to be working
4. Some clear relationship what  Actions::Katello::System::Erratum::ApplicableErrataInstall tasks are in the sub-plan and what are not (this information does not necessarily be present in the index.html).


Additional info:

Comment 3 Bryan Kearney 2016-07-08 20:41:55 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 5 Adam Ruzicka 2016-11-15 13:53:27 UTC
Created redmine issue http://projects.theforeman.org/issues/17344 from this bug

Comment 6 Bryan Kearney 2018-09-04 17:46:54 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.