Bug #10738

Changing puppet environment of host to one missing assigned puppet module fails silently

Added by Shimon Shtein over 6 years ago. Updated over 3 years ago.

Puppet integration
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Cloned from
Description of problem:
If one tries changing Puppet environment of a host to an environment which doesn't contain a puppet module which is assigned to the host, the operation will silently fail without any explanation in the UI.
In the production.log, the following line can be seen:

Failed to save: Puppetclasses puppet_dev does not belong to the KT_acme_it_Prototype_ACME_IT_Sample_Service_13 environment

Version-Release number of selected component (if applicable):
satellite 6.0.6

Steps to Reproduce:
1. Create a host with some puppet class assigned and a smart-parameter set
2. Edit the host and change to a Puppet Environment where said puppet class isn't present
3. Press Submit
4. Note how you are taken back to the "edit host" screen without any explanation

Associated revisions

Revision fa229d32 (diff)
Added by Shimon Shtein over 6 years ago

Fixes #10738 - Added javascript to focus on alert in puppetclasses tab


#1 Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 6 years ago

  • Category set to Puppet integration
  • Assignee changed from Ohad Levy to Shimon Shtein
  • Legacy Backlogs Release (now unused) set to 35

#3 Updated by Shimon Shtein over 6 years ago

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

Also available in: Atom PDF