Project

General

Profile

Actions

Bug #17759

closed

Package installation done using hammer does not show up under Tasks on the Satellite

Added by Andrew Kofink about 8 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1294944
Description of problem:
Package installation scheduled using hammer does not show up in Tasks on satellite and also there is no way by which we can confirm whether the action has been completed on the content hosts.

Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Add some clients under a host collection.
2. Now run the below command to install a package on all the clients of this host collection
  1. hammer host-collection package install --name 'MyHostCollection' --packages sos --organization Myorg
3. The command only gives below output:
---
  1. hammer host-collection package install --name 'MyHostCollection' --packages sos --organization Myorg
    Successfully scheduled installation of package(s)
    ---
4. Checking under Monitor >> Task, we cant find any entry for this action. Also Checking under each content host's "Task" tab we cant see any entry for this task so its hard to confirm whether the task was completed or not from the satellite side.
Actual results:
No entry created under Tasks tab for this action, also now option with hammer to check details of this scheduled task.
Expected results:
A task should be created with details for this action so that we can identify that the action was scheduled and completed. Currently only way to check whether the package was installed or not is to check the installed packages for the client.
Additional info:
The command does not give out any actionid/taskid for reference also even a wrong package name with the command says that the action has been scheduled for eg:
---
hammer> host-collection package install --name 'RHEL6' --packages testpackage --organization Ashwin
Successfully scheduled installation of package(s)
----
Actions #1

Updated by Justin Sherrill about 8 years ago

  • Subject changed from Package installation done using hammer does not show up under Tasks on the Satellite to Package installation done using hammer does not show up under Tasks on the Satellite
  • Status changed from New to Rejected
  • Translation missing: en.field_release set to 166

This is intentional, use remote execution to get a task.

Actions

Also available in: Atom PDF