Project

General

Profile

Actions

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 over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Michael Johnson over 5 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.

Actions #2

Updated by Bernhard Suttner over 5 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

Actions #3

Updated by John Mitsch over 5 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!

Actions #4

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7780 added
Actions #5

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF