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 about 6 years ago. Updated over 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 #1

Updated by Oleh Fedorenko over 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/417 added
Actions #3

Updated by Martin Bacovsky over 5 years ago

  • Has duplicate Bug #22693: hammer can't create user-group with more than 20 roles added
Actions #4

Updated by Oleh Fedorenko over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Oleh Fedorenko almost 5 years ago

  • Has duplicate Bug #21347: Hammer hostgroup create fails with multiple puppet classes added
Actions

Also available in: Atom PDF