Bug 1066830
| Summary: | [RFE] Adding hosts to openstack foreman the easy way | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ofer Blaut <oblaut> | ||||
| Component: | foreman-installer | Assignee: | Gilles Dubreuil <gdubreui> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Omri Hochman <ohochman> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.0 | CC: | aberezin, dcleal, hbrock, morazi, oblaut, ohochman, rhos-maint, yeylon | ||||
| Target Milestone: | --- | Keywords: | FutureFeature, UserExperience | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: |
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-09-19 03:09:50 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ofer Blaut
2014-02-19 07:55:36 UTC
Some related work is being done in Foreman upstream to improve this, but not by connecting from Foreman to the client. Instead it's a client registration tool, a bit like the foreman_client.sh script shipped in openstack-foreman-installer. http://projects.theforeman.org/issues/3506 Created attachment 926956 [details]
foreman_client.sh
The generated /tmp/foreman_client.sh script (see attachment) not needed when: 1. A puppet DNS alias is assigned to The Foreman server 2. Hosts are built with puppet installed and activated by default Let me explain: - Puppet agents search for a host named 'puppet' by default unless the server parameter is set. Just by adding a DNS alias to the Foreman server will automatically make all nodes to register. - 'Pluginsync = true' is the default (I believe from Puppet 3.x): https://docs.puppetlabs.com/references/latest/configuration.html#pluginsync Above two makes augeas package and associated augtool rules not needed. - Puppet is required (prerequisite) to be installed on any host to work with Foreman/Puppetmster(Foreman-proxy). If foreman is provisioning the hosts, then puppet should be added in the package list otherwise it's assumed it's already there. In the case someone doesn't or can't use 'puppet' alias then the hosts would have to built with the puppet server defined in /etc/puppet/puppet.conf I think thee default behavior is the most flexible approach. Unless someone disagree, I'm tempted to close this RFE. Closing it. Please reopen if needed. |