Bug 1559360

Summary: manpage says that spacewalk-manage-snapshots.log should contain "Number of snapshots to be deleted, and batch-size" but it does not
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: OtherAssignee: Grant Gainey <ggainey>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: tlestach
Target Milestone: ---   
Target Release: ---   
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: 2018-03-22 14:42:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1450940    

Description Jan Hutař 2018-03-22 11:45:43 UTC
Description of problem:
manpage says that spacewalk-manage-snapshots.log should contain "Number of snapshots to be deleted, and batch-size" but it does not


Version-Release number of selected component (if applicable):
spacewalk-utils-2.5.1-29.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Have a fresh Satellite with few systems registered
2. # spacewalk-manage-snapshots --delete-older-than=0 --batch-size=3


Actual results:
Looking into /var/log/rhn/spacewalk-manage-snapshots.log shows:

2018-03-22 07:34:35|root|Deleting snapshots older than 0 days
2018-03-22 07:34:35|root|         220 snapshots currently
2018-03-22 07:34:35|root|...         220 snapshots left to purge
[...]
2018-03-22 07:34:40|root|...           1 snapshots left to purge
2018-03-22 07:34:40|root|           0 snapshots remain

but man-page says:

Log output includes:
    [...]
    * Number of snapshots to be deleted, and batch-size
    [...]


Expected results:
Either docs should not promise that, or that info should be present (well, you can compute "batch-size" from two "snapshots left to purge" numbers, but still.


Additional info:
Please feel free only CLOSE(UPSTREAM).

Comment 1 Grant Gainey 2018-03-22 14:42:37 UTC
closing as dup of original SW BZ - will fix there

*** This bug has been marked as a duplicate of bug 1537766 ***