Bug #20151

allow to enter multiple tags for check filtering

Added by Kavita Gaikwad 5 months ago. Updated 2 months ago.

Status:Ready For Testing
Priority:Normal
Assigned To:Kavita Gaikwad
Category:-
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman_maintain/pull/70
Story points-
Velocity based estimate-

Description

foreman-maintain health check --help command gives two options:

--label label Limit only for a specific label. (Use "list" command to see available labels)
--tags tags Limit only for specific set of labels. (Use list-tags command to see available

Lets say, tags = [default, pre-upgrade, post-upgrade]
I have tried below commands to apply default & pre-upgrade tags for filtering checks which is not working.

foreman-maintain health list --tags default --tags pre-upgrade -> it is overriding default tag value with pre-upgrade.
foreman-maintain health list --tags default,pre-upgrade -> no any output
foreman-maintain health list --tags default, pre-upgrade -> ERROR too many arguments.

Is there any way to apply multiple tags to filter checks

History

#1 Updated by Kavita Gaikwad 5 months ago

  • Subject changed from Fix - allow to enter multiple tags for check filtering to allow to enter multiple tags for check filtering

#2 Updated by Kavita Gaikwad 2 months ago

  • Status changed from New to Ready For Testing

Also available in: Atom PDF