Bug 1622264
Summary: | foreman_tasks:cleanup process, STATES is not working as expected when passing * | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Waldirio M Pinheiro <wpinheir> |
Component: | Tasks Plugin | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED WONTFIX | QA Contact: | Jan HutaĆ <jhutar> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.2 | CC: | aruzicka, inecas |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-01 08:09:24 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: | 1619394 |
Description
Waldirio M Pinheiro
2018-08-25 00:15:41 UTC
I'd say it is working exactly as expected. From the description of the task "comma separated list of task states to touch with the cleanup, by default only stopped tasks are covered". That doesn't suggest that asterisk could be used to match all. Also to me using an asterisk would imply some kind of glob matching and if we went with that we would also have to extend the support for matching "stopped" and "scheduled" with "s*" and so on. In foreman-tasks >= 0.10.3 the user can use a special keyword "all" to match against all the states. Closing this BZ in favor of a better interface for tasks cleanup BZ[1]. [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1723751 |