Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1691490 - [RFE] hammer recurring-logic info lacks info
Summary: [RFE] hammer recurring-logic info lacks info
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.10.0
Assignee: Oleh Fedorenko
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-21 17:55 UTC by Stephen Wadeley
Modified: 2021-11-16 14:08 UTC (History)
4 users (show)

Fixed In Version: tfm-rubygem-foreman-tasks-1.1.0 tfm-rubygem-hammer_cli_foreman_tasks-0.0.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:08:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29506 0 Normal Closed hammer recurring-logic info lacks info 2020-06-08 20:37:39 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:08:40 UTC

Description Stephen Wadeley 2019-03-21 17:55:08 UTC
Description of problem:

The info printed to CLI is less than available in the web UI


Version-Release number of selected component (if applicable):
~]# hammer --version
hammer (0.15.1.1)
 * hammer_cli_csv (unknown version)
 * hammer_cli_foreman (0.15.1)
 * hammer_cli_foreman_admin (0.0.8)
 * hammer_cli_foreman_ansible (unknown version)
 * hammer_cli_foreman_bootdisk (0.1.3.3)
 * hammer_cli_foreman_discovery (1.0.0)
 * hammer_cli_foreman_docker (unknown version)
 * hammer_cli_foreman_openscap (0.1.6)
 * hammer_cli_foreman_remote_execution (unknown version)
 * hammer_cli_foreman_tasks (unknown version)
 * hammer_cli_foreman_templates (0.1.2)
 * hammer_cli_foreman_virt_who_configure (unknown version)
 * hammer_cli_katello (0.16.0.10)

How reproducible:


Steps to Reproduce:
1. create a sync plan 
2. view the sync plan in web UI
3. compare to CLI

Actual results:
~]# hammer recurring-logic info --id 43
ID:        43
Cron line: 26 17 * * 4
End time:  
Iteration: 1
State:     active



Expected results:

~]# hammer recurring-logic info --id 43
ID 	43
Cron line 	26 17 * * 4
Action 	Run Sync Plan:
Last occurrence 	-
Next occurrence 	2019-03-28 17:26:00 +0000
Current iteration 	1
Iteration limit 	Unlimited
Repeat until 	Unlimited
State 	 Active

Comment 6 Oleh Fedorenko 2020-04-08 20:45:34 UTC
Created redmine issue https://projects.theforeman.org/issues/29506 from this bug

Comment 7 Bryan Kearney 2020-04-08 22:04:26 UTC
Upstream bug assigned to ofedoren

Comment 8 Bryan Kearney 2020-04-08 22:04:28 UTC
Upstream bug assigned to ofedoren

Comment 9 Bryan Kearney 2020-05-01 14:15:06 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.

Comment 10 Adam Ruzicka 2020-05-04 07:35:13 UTC
A fix for this is waiting for review in upstream, moving back to assigned.

Comment 14 Peter Ondrejka 2021-06-01 08:00:18 UTC
Verified on Sat 6.10 snap 1, the requested lines are now included:

~]# hammer  recurring-logic info --id 1
ID:              1
Cron line:       52 09 * * *
Action:          Run hosts job:
Last occurrence: -
Next occurrence: 2021-06-02 07:52:00 UTC
Iteration:       1
Iteration limit: 33
Repeat until:    Unlimited
State:           active

~]# hammer  recurring-logic info --id 2
ID:              2
Cron line:       59 * * * *
Action:          Run hosts job: Run ls
Last occurrence: 2021-06-01 07:59:04 UTC
Next occurrence: 2021-06-01 08:59:00 UTC
Iteration:       2
Iteration limit: Unlimited
Repeat until:    2021-06-06 13:57:00 UTC
State:           active

Comment 17 errata-xmlrpc 2021-11-16 14:08:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4702


Note You need to log in before you can comment on or make changes to this bug.