I got a node built & brought up by Foreman (yay !), but there are a
few things I am lost on:
-
No inventory data for the host brought up by foreman.
-
Hostname/fqdn is not set correctly as preseeded. Domain name value
is correct though.
-
Puppet master has no knowledge of the host brought up by foreman ?
The setup is like: Foreman (0.1-5) + Puppet Master (0.25.5) without
storeconfig and using LDAP for handling nodes + (TFTP/DNS/DHCP) on
Debian Squeeze.
The node that is brought up by Foreman: Debian lenny + Puppet
(0.24.5)
Also, I think this would probably explain my problems :
Processing UnattendedController#preseed (for 192.168.1.216 at
2010-08-05 10:40:33) [GET]
Parameters: {"action"=>"preseed", "controller"=>"unattended"}
unattended: conditions string: ip = ?192.168.1.216
/var/lib/puppet/ssl/PuppetCA: ca/signed/foretestb.deeproot.in.pem does
not exists - skipping
Rendering unattended/preseed
Completed in 43ms (View: 13, DB: 8) | 200 OK [http://192.168.1.214/
unattended/preseed]
Processing UnattendedController#preseed_finish (for 192.168.1.216 at
2010-08-05 11:16:36) [GET]
Parameters: {"action"=>"preseed_finish", "controller"=>"unattended"}
unattended: conditions string: ip = ?192.168.1.216
Rendering unattended/preseed_finish
Completed in 2958ms (View: 1392, DB: 129) | 200 OK [http://
192.168.1.214/unattended/preseed_finish]
Processing UnattendedController#built (for 192.168.1.216 at 2010-08-05
11:17:07) [GET]
Parameters: {"action"=>"built", "controller"=>"unattended"}
unattended: conditions string: ip = ?192.168.1.216
/var/lib/puppet/ssl/PuppetCA: ca/signed/foretestb.deeproot.in.pem does
not exists - skipping
unattended: foretestb.deeproot.in is Built!
Completed in 3133ms (View: 24, DB: 268) | 201 Created [http://
192.168.1.214/unattended/built]
…
So the node does get built, but there's a problem with certificates
not being available at server. hmmm, there was an entry in
autosign.conf though
···
On Aug 5, 10:43 am, alcy wrote:
> 2) is a problem with Debian's preseed mechanism. Hostname should be
> passed as a kernel paramater.
>
> On Aug 4, 5:19 pm, alcy wrote:
>
> > I got a node built & brought up by Foreman (yay !), but there are a
> > few things I am lost on:
>
> > 1) No inventory data for the host brought up by foreman.
>
> > 2) Hostname/fqdn is not set correctly as preseeded. Domain name value
> > is correct though.
>
> > 3) Puppet master has no knowledge of the host brought up by foreman ?
>
> > The setup is like: Foreman (0.1-5) + Puppet Master (0.25.5) without
> > storeconfig and using LDAP for handling nodes + (TFTP/DNS/DHCP) on
> > Debian Squeeze.
>
> > The node that is brought up by Foreman: Debian lenny + Puppet
> > (0.24.5)
Also, there's no entry for the puppet master server in /etc/hosts of
the node brought up. Is there a different way that foreman makes the
node it brought up aware of the master ?
···
On Aug 5, 10:55 am, alcy wrote:
> Also, I think this would probably explain my problems :
>
> Processing UnattendedController#preseed (for 192.168.1.216 at
> 2010-08-05 10:40:33) [GET]
> Parameters: {"action"=>"preseed", "controller"=>"unattended"}
> unattended: conditions string: ip = ?192.168.1.216
> /var/lib/puppet/ssl/PuppetCA: ca/signed/foretestb.deeproot.in.pem does
> not exists - skipping
> Rendering unattended/preseed
> Completed in 43ms (View: 13, DB: 8) | 200 OK [http://192.168.1.214/
> unattended/preseed]
>
> Processing UnattendedController#preseed_finish (for 192.168.1.216 at
> 2010-08-05 11:16:36) [GET]
> Parameters: {"action"=>"preseed_finish", "controller"=>"unattended"}
> unattended: conditions string: ip = ?192.168.1.216
> Rendering unattended/preseed_finish
> Completed in 2958ms (View: 1392, DB: 129) | 200 OK [http://
> 192.168.1.214/unattended/preseed_finish]
>
> Processing UnattendedController#built (for 192.168.1.216 at 2010-08-05
> 11:17:07) [GET]
> Parameters: {"action"=>"built", "controller"=>"unattended"}
> unattended: conditions string: ip = ?192.168.1.216
> /var/lib/puppet/ssl/PuppetCA: ca/signed/foretestb.deeproot.in.pem does
> not exists - skipping
> unattended: foretestb.deeproot.in is Built!
> Completed in 3133ms (View: 24, DB: 268) | 201 Created [http://
> 192.168.1.214/unattended/built]
>
> ...
>
> So the node does get built, but there's a problem with certificates
> not being available at server. hmmm, there was an entry in
> autosign.conf though
>
> On Aug 5, 10:43 am, alcy wrote:
>
> > 2) is a problem with Debian's preseed mechanism. Hostname should be
> > passed as a kernel paramater.
>
> > On Aug 4, 5:19 pm, alcy wrote:
>
> > > I got a node built & brought up by Foreman (yay !), but there are a
> > > few things I am lost on:
>
> > > 1) No inventory data for the host brought up by foreman.
>
> > > 2) Hostname/fqdn is not set correctly as preseeded. Domain name value
> > > is correct though.
>
> > > 3) Puppet master has no knowledge of the host brought up by foreman ?
>
> > > The setup is like: Foreman (0.1-5) + Puppet Master (0.25.5) without
> > > storeconfig and using LDAP for handling nodes + (TFTP/DNS/DHCP) on
> > > Debian Squeeze.
>
> > > The node that is brought up by Foreman: Debian lenny + Puppet
> > > (0.24.5)
Oops ! My dhcp setup was a bit lacking. wrong entry for the local dns
server, had supplied it with opendns instead. ![:stuck_out_tongue: :stuck_out_tongue:](https://community.theforeman.org/images/emoji/twitter/stuck_out_tongue.png?v=12)
···
On Thu, Aug 5, 2010 at 11:35 AM, alcy wrote:
Also, there’s no entry for the puppet master server in /etc/hosts of
the node brought up. Is there a different way that foreman makes the
node it brought up aware of the master ?
On Aug 5, 10:55 am, alcy mohit.chawla.bin...@gmail.com wrote:
Also, I think this would probably explain my problems :
Processing UnattendedController#preseed (for 192.168.1.216 at
2010-08-05 10:40:33) [GET]
Parameters: {“action”=>“preseed”, “controller”=>“unattended”}
unattended: conditions string: ip = ?192.168.1.216
/var/lib/puppet/ssl/PuppetCA: ca/signed/foretestb.deeproot.in.pem does
not exists - skipping
Rendering unattended/preseed
Completed in 43ms (View: 13, DB: 8) | 200 OK [http://192.168.1.214/
unattended/preseed]
Processing UnattendedController#preseed_finish (for 192.168.1.216 at
2010-08-05 11:16:36) [GET]
Parameters: {“action”=>“preseed_finish”, “controller”=>“unattended”}
unattended: conditions string: ip = ?192.168.1.216
Rendering unattended/preseed_finish
Completed in 2958ms (View: 1392, DB: 129) | 200 OK [http://
192.168.1.214/unattended/preseed_finish]
Processing UnattendedController#built (for 192.168.1.216 at 2010-08-05
11:17:07) [GET]
Parameters: {“action”=>“built”, “controller”=>“unattended”}
unattended: conditions string: ip = ?192.168.1.216
/var/lib/puppet/ssl/PuppetCA: ca/signed/foretestb.deeproot.in.pem does
not exists - skipping
unattended: foretestb.deeproot.in is Built!
Completed in 3133ms (View: 24, DB: 268) | 201 Created [http://
192.168.1.214/unattended/built]
…
So the node does get built, but there’s a problem with certificates
not being available at server. hmmm, there was an entry in
autosign.conf though
On Aug 5, 10:43 am, alcy mohit.chawla.bin...@gmail.com wrote:
- is a problem with Debian’s preseed mechanism. Hostname should be
passed as a kernel paramater.
On Aug 4, 5:19 pm, alcy mohit.chawla.bin...@gmail.com wrote:
I got a node built & brought up by Foreman (yay !), but there are a
few things I am lost on:
- No inventory data for the host brought up by foreman.
- Hostname/fqdn is not set correctly as preseeded. Domain name value
is correct though.
- Puppet master has no knowledge of the host brought up by foreman ?
The setup is like: Foreman (0.1-5) + Puppet Master (0.25.5) without
storeconfig and using LDAP for handling nodes + (TFTP/DNS/DHCP) on
Debian Squeeze.
The node that is brought up by Foreman: Debian lenny + Puppet
(0.24.5)
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.