| Summary: | Unable to build new host without puppet environment | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Christian Marineau <cmarinea> |
| Component: | Hosts - Content | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2.3 | CC: | ahogbin, bbuckingham, chrobert, cmarinea, inecas, jcallaha, jsherril, kdixon, ohadlevy |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-16 22:51:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Christian Marineau
2016-11-14 15:16:34 UTC
The validator for this was changed in Satellite 6.2 to:
validates :environment_id, :presence => true, :unless => Proc.new { |host| host.puppet_proxy_id.blank? }
Which means a puppet environment should NOT be required unless you've selected a puppet master (proxy). Did you select one?
Actually waiting from customer feedback to confirm that the bug is no more required. Regarding the actual linked case, this was simply corrected by making sure that no Puppet Ca and not Puppet Master were selected, I am closing this bug. |