Bug #25184
closedContent Host -> Bulk Action -> Manage Package doesn't add a task and doesn't write a audit entry
Description
Installing a package via Content Host -> Bulk actions -> Manage package (via Katello Agent) isn't implemented as a Foreman Task and therefore there is no Task added to Monitor -> Tasks.
Additionally, and this is even worse, there is no new entry in Monitor -> Audit.
Updated by Michael Johnson about 6 years ago
Thank you for submitting this bug Bernhard! The action is acting as expected as far as I understand you. When using Katello Agent it will not create a Foreman task, but the same action with remote execution will create a Foreman task.Did you perhaps mean to say that a Foreman task is not created via remote execution?
If so, please submit the Monitor -> Audit issue as a separate bug report. Else, you can update this bug report to address the Monitor -> Audit issue only.
Updated by Bernhard Suttner about 6 years ago
Unfortunately, this is what I have tested:
Install package using the bulk action Manage Packages > via Katello Agent:
- no Audit entry (NOK)
- no Foreman Task entry (NOK)
=> I expect to have a Audit Entry AND a Foreman Task entry
Install package using the bulk action Manage Packages > via Remote Execution:
- Audit entry exists (OK)
- Job entry exists (OK)
=> this is what I expect
---
In case I install a package within one specific Content Host in the tab Packages > Actions using Katello Agent:
- Audit entry exists (NOK)
- Foreman Task entry exists (OK)
=> this is what I expect
---
Therefore, why is there a difference between installing a package for ONE specific content host AND installing a package by using a bulk action to list of content hosts
Updated by John Mitsch about 6 years ago
- Category set to Hosts
- Target version set to Katello 3.10.0
- Triaged changed from No to Yes
Thanks for explaining Bernard,
That does sound like a valid bug, we will look into it more, thanks for reporting!
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7780 added
Updated by Anonymous about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|a97c5526e3bc7a622f8c247d39d6dcfebd377f3b.