Project

General

Profile

Actions

Bug #29231

open

Search options have result limits

Added by Oleh Fedorenko about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
medium
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

While testing

--provisioning-template-search
option for hammer os [add|remove]-provisioning-template subcommands I've noticed that we have it quite broken. It works, but the search result is limited to `per_page` setting in Foreman. Example: I've got an OS with 30 associated templates, 25 of which have prefix `dis_`. If I want to [dis]associate all the templates with this prefix, I will need to run a command with `--...-search` option twice in case I've got `per_page` set to 20 in Foreman. This has been kinda resolved as part of https://github.com/theforeman/hammer-cli-foreman/pull/417, but the solution works only on basic name resolving (uses `--...-name[s]` option).

The solution for this issue should introduce general way of resolving {associated_resource}-search options.


Related issues 2 (0 open2 closed)

Related to Hammer CLI - Feature #28836: Allow multiple disassociating of provisioning templatesClosedyifat makiasActions
Related to Hammer CLI - Bug #19999: Support for associating multiple provisioning templates at onceClosedyifat makiasActions
Actions #1

Updated by Oleh Fedorenko about 4 years ago

  • Related to Feature #28836: Allow multiple disassociating of provisioning templates added
Actions #2

Updated by Oleh Fedorenko about 4 years ago

  • Related to Bug #19999: Support for associating multiple provisioning templates at once added
Actions

Also available in: Atom PDF