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 over 5 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 #1

Updated by Ondřej Pražák over 8 years ago

  • Related to Bug #11658: In host/hostgroup form, removing puppetclasses in 'Puppet classes' tab does not trigger call to server added
Actions #2

Updated by Ondřej Pražák over 8 years ago

  • Related to Bug #11465: In host/hostgroup parameters form, tables that are empty should display helpful text added
Actions #3

Updated by Dominic Cleal over 8 years ago

  • Category changed from Web Interface to Host groups
Actions #4

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2677 added
  • Pull request deleted ()
Actions #5

Updated by Ondřej Pražák over 8 years ago

  • Related to Bug #11713: Deface override breaks dropdown in hosts form added
Actions #6

Updated by Ondřej Pražák over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Dominic Cleal over 8 years ago

  • Assignee set to Ondřej Pražák
  • translation missing: en.field_release set to 63
Actions #8

Updated by Marek Hulán over 8 years ago

  • Related to Bug #11761: Cloning of hostgroup redirects to host creation added
Actions

Also available in: Atom PDF