Bug #6369
closedUnable to create host without Puppet master when specified on host group
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1108099
Description of problem:
I detected the problem with switch off the puppet in the provisioning form ("Hosts" > "New host"). Satellite ignores my choice of puppet options in "New host" form and it uses configuration from host group.
Version-Release number of selected component (if applicable):
katello-1.5.0-25.el6sat
foreman-1.6.0.14-1.el6sat
How reproducible:
100%
Steps to Reproduce:
1. We have got Sat6.0.3 with some compute resource (in my case RHEV)
2. We create new host group ("Configure" > "Host Groups" > "New Host Group") and choose some "Puppet CA" and "Puppet Master".
3. We create new guest (in my case RHEV) and we choose our new host group in the selectbox "Host Group"
4. We try to disable puppet, choose empty line for "Puppet CA" and "Puppet Master".
Actual results:
In my case, I had a bad configuration of puppet and I got this error in the log file /var/log/foreman/production.log. When I deselect "Puppet CA" and "Puppet Master" in the host group, everything works well.
Operation FAILED: ERF12-0104 [ProxyAPI::ProxyException]: Unable to set PuppetCA autosign for rhev11.test.example.com ([RestClient::ResourceNotFound]: 404 Resource Not Found) for proxy https://sat6.redhat.com:9090/puppet/ca
Completed 500 Internal Server Error in 418ms
Expected results:
The configuration in the new host form, it will have higher priority than configuration from host group (especially puppet options).
Additional info: