Bug 2217826

Summary: [Doc] [RFE] hammer recurring-logic list should display 'Action', 'Last Occurrence' and 'Next Occurrence' field which can be seen on Satellite web UI.
Product: Red Hat Satellite Reporter: Aneta Šteflová Petrová <apetrova>
Component: Tasks PluginAssignee: Aneta Šteflová Petrová <apetrova>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: aruzicka
Target Milestone: UnspecifiedKeywords: Documentation
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-28 08:28:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Aneta Šteflová Petrová 2023-06-27 08:07:28 UTC
This bug was initially created as a copy of Bug #2129432

I am copying this bug because: 

The update is to be evaluated for doc impact.


Description of problem:

- The output of the hammer for recurring-logic list is shows ID and cron line, but not the 'Action', 'Last Occurrence' and 'Next Occurrence' columns displayed.

~~~~~
# hammer recurring-logic list
---|-----------|-----------|----------|-------
ID | CRON LINE | ITERATION | END TIME | STATE 
---|-----------|-----------|----------|-------
5  | 0 0 * * * | 51        |          | active
6  | 0 0 * * * | 51        |          | active
1  | 0 0 * * * | 51        |          | active
4  | 0 0 * * * | 51        |          | active
---|-----------|-----------|----------|-------
# hammer recurring-logic list --fields ALL
---|-----------|-----------|----------|-------
ID | CRON LINE | ITERATION | END TIME | STATE 
---|-----------|-----------|----------|-------
5  | 0 0 * * * | 51        |          | active
6  | 0 0 * * * | 51        |          | active
1  | 0 0 * * * | 51        |          | active
4  | 0 0 * * * | 51        |          | active
---|-----------|-----------|----------|-------
~~~~~

- However, the info 'Action', 'Last Occurrence' and 'Next Occurrence' available when we go on Satellite web UI -> Monitor -> Recurring logics. 


Version-Release number of selected component (if applicable): Red Hat Satellite

How reproducible: Yes.

Steps to Reproduce:
1. Check the output of hammer recurring-logic list from Satellite CLI.
2. Compare the output with the info available on Satellite web UI -> Monitor -> Recurring logics.


Actual results:

-The command hammer recurring-logic list shows only ID and cron line which is not useful to get an overview/summary to provide as info.

Expected results:

-The output of hammer recurring-logic list should display more info with additional columns like 'Action', 'Last Occurrence' and 'Next Occurrence'.

Additional info:

Comment 2 Aneta Šteflová Petrová 2023-06-27 09:36:09 UTC
I didn't find any instances of "hammer recurring-logic" in the docs set.

Comment 3 Adam Ruzicka 2023-06-27 10:15:49 UTC
Does that mean we can just close this or that it should be documented from the ground up?

Comment 4 Aneta Šteflová Petrová 2023-06-27 13:38:38 UTC
(In reply to Adam Ruzicka from comment #3)
> Does that mean we can just close this or that it should be documented from
> the ground up?
I'd prefer not to add any new docs to the product *guides*. If this really is just about a change in behavior of a command (hammer recurring-logic) that was not documented before, I don't see a reason to document it now.

Another option would be to publish a *release note*. But in my opinion, the change in behavior is too small even for that.

What do you think? Would you be ok with not documenting this at all?

Comment 5 Adam Ruzicka 2023-06-27 13:39:54 UTC
Sure, fine by me

Comment 6 Aneta Šteflová Petrová 2023-06-28 08:28:31 UTC
Nothing to document here.