Bug 1627845

Summary: task is not getting generated in Red Hat Satellite webui while applying the errata through the katello-agent
Product: Red Hat Satellite Reporter: Ganesh Patil <gpatil>
Component: katello-agentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: UnspecifiedCC: gpatil
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-28 13:13:28 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 Ganesh Patil 2018-09-11 16:50:10 UTC
Description of problem:

task is not getting generated in Red Hat Satellite webui while applying the errata through the katello-agent. 



Version-Release number of selected component (if applicable):

Red Hat Satellite 6.3.3



How reproducible:

Click on Content -> Select Packages -> "Select a specific Repository" -> Click 

on check-box - on applicable -> Select a specific Package -> Select Upgradable 

option  --> Select the package --> You will be able to see the hosts in 

"Upgradable for" option -- > Select "All" or "Specific host --> Click on "Select Action" -

-> Select "Manage Packages" --> Under the "Update all Packages" tab select "via 

Katello-agent" --> As soon as you select "via katello-agent option" you will get 

message as " Successfully scheduled an update of all packages " 

However, there will not be any task will get generated for the same in Satellite Webui.



Actual results:

Task is not getting generated in Satellite Webui while applying the errata via katello-agent.

"Under Monitor --> Tasks "


Expected results:

There should be task get generated for errata update, which should get initiated as soon as we click on -- update errata :" via Katello-agent" option.

Comment 1 Brad Buckingham 2018-09-19 15:40:28 UTC
Ganesh,

Do you have an internal reproducer that we can look at?

The scenario above appears to be a 'package install' scenario versus errata install/apply scenario.  Is the description or result incorrectly stated?

Comment 3 Brad Buckingham 2018-09-28 13:13:28 UTC
Hi Ganesh,

Thanks for providing access to the reproducer.  The behavior observed is expected.  In Satellite 6.3 (as well as prior releases), bulk actions performed on a content host via katello-agent do not generate a task.  That said, bulk actions via remote execution do.

Based upon https://bugzilla.redhat.com/show_bug.cgi?id=1108106#c15, there are no plans at this time to migrate the bulk actions for katello-agent to tasks.

For now, I am going to close this one as a duplicate, based upon the referenced comment.

*** This bug has been marked as a duplicate of bug 1108106 ***