Bug 1559361
| Summary: | spacewalk-manage-snapshots accepts negative number for "--delete-older-than" and "--batch-size" parameter | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Other | Assignee: | Grant Gainey <ggainey> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 580 | CC: | 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:39 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 | ||
closing as dup of original SW BZ - will fix there *** This bug has been marked as a duplicate of bug 1537766 *** |
Description of problem: spacewalk-manage-snapshots accepts negative number for "--delete-older-than" and "--batch-size" parameter Version-Release number of selected component (if applicable): spacewalk-utils-2.5.1-29.el6sat.noarch How reproducible: always Steps to Reproduce: 1. spacewalk-manage-snapshots --delete-older-than=-10 --batch-size=-3 Actual results: # spacewalk-manage-snapshots --delete-older-than=-10 --batch-size=-3 Deleting snapshots older than -10 days 0 snapshots currently 0 snapshots to be deleted, -3 per commit 0 snapshots remain Expected results: IMO should complain right from the start. Additional info: Feel free to resolve this only as CLOSED(UPSTREAM).