Bug 1559360 - manpage says that spacewalk-manage-snapshots.log should contain "Number of snapshots to be deleted, and batch-size" but it does not
Summary: manpage says that spacewalk-manage-snapshots.log should contain "Number of sn...
Keywords:
Status: CLOSED DUPLICATE of bug 1537766
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat58-nth
TreeView+ depends on / blocked
 
Reported: 2018-03-22 11:45 UTC by Jan Hutař
Modified: 2018-03-22 14:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-22 14:42:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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