Project

General

Profile

Actions

Bug #11683

closed

Spinner in puppet class parameters spinning indefinitely on hostgroup creation

Added by Ondřej Pražák over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When creating a new hostgroup, a spinner in puppet class table under 'Parameters' tab appears and spins indefinitely.

To reproduce:
1) Configure > Hostgroups > New Hostgroup
2) select arbitrary Lifecycle Environment
3) select arbitrary Puppet Environment
4) go to 'Parameters' tab
5) spinner is spinning indefinitely as a result of failed call to the server

Root cause is that hostgroup id is expected in params (which naturally does not exists since hostgroup has not been created yet): https://github.com/theforeman/foreman/blob/develop/app/controllers/hostgroups_controller.rb#L93
And then in js function handling the call: https://github.com/theforeman/foreman/blob/develop/app/assets/javascripts/host_edit.js#L170-L199


Files

step_3.png View step_3.png 53.5 KB Ondřej Pražák, 09/04/2015 03:23 AM
step_4.png View step_4.png 47.7 KB Ondřej Pražák, 09/04/2015 03:23 AM

Related issues 4 (1 open3 closed)

Related to Foreman - Bug #11658: In host/hostgroup form, removing puppetclasses in 'Puppet classes' tab does not trigger call to serverRejectedOndřej Pražák09/02/2015Actions
Related to Foreman - Bug #11465: In host/hostgroup parameters form, tables that are empty should display helpful textNew08/24/2015Actions
Related to Katello - Bug #11713: Deface override breaks dropdown in hosts formClosedOndřej Pražák09/07/2015Actions
Related to Foreman - Bug #11761: Cloning of hostgroup redirects to host creationClosedMarek Hulán09/10/2015Actions
Actions

Also available in: Atom PDF