Project

General

Profile

Actions

Bug #24717

closed

hammer hostgroup create fails due to pagination when the number of supplied puppet classes exceeds entries_per_page

Added by Cameron Berkley over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

"hammer hostgroup create" fails with "HammerCLIForeman::ResolverError (one of puppetclasses not found.)" when the number of classes passed into --puppet-classes exceeds the entries_per_page Foreman setting. Hammer queries /api/puppetclasses but appears to ignore classes after the first page.


Related issues 2 (0 open2 closed)

Has duplicate Hammer CLI - Bug #22693: hammer can't create user-group with more than 20 rolesClosedOleh FedorenkoActions
Has duplicate Hammer CLI - Bug #21347: Hammer hostgroup create fails with multiple puppet classesClosedActions
Actions

Also available in: Atom PDF