Bug #25184
closed
Content Host -> Bulk Action -> Manage Package doesn't add a task and doesn't write a audit entry
Added by Bernhard Suttner about 6 years ago.
Updated about 6 years ago.
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.
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.
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
- 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!
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7780 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF