Bug #10738
closedChanging puppet environment of host to one missing assigned puppet module fails silently
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1173617
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
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2445 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Category set to Puppet integration
- Assignee changed from Ohad Levy to Shimon Shtein
- Translation missing: en.field_release set to 35
Updated by Shimon Shtein over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset fa229d321ada9913d98c9ada103678ab73ff222e.