Hi,

Yes, I did. And this is what I understand,

1) Clicking the "Build" button creates a pxe config file in the directory
specified in "settings.yaml"

2) After the machine is rebuilt, this file/link is removed.

Please correct me if I am wrong.

Best regards,
-LOhit

On Mon, Feb 22, 2010 at 2:54 PM, Ohad Levy <ohadl...@gmail.com> wrote:

> Hi,
>
> did you read
> http://theforeman.org/wiki/foreman/Unattended_installations#How-does-Foreman-manages-TFTP
>
> cheers,
> Ohad
>
>
> On Mon, Feb 22, 2010 at 11:02 AM, LOhit <lohi...@gmail.com> wrote:
>
>> Hi,
>>
>> I have hit one more dead end :(. After I click on the "Build" button, I
>> get the message "Host xxx enabled for installation boot away". And I can see
>> a link created in "/tftpboot/linux-install/pxelinux.cfg" with the MAC
>> address of the machine being rebuilt.
>>
>> However, the symlink points to a non-existent destination in the same
>> directory. Example.
>>
>> *lrwxrwxrwx 1 puppet puppet 15 Feb 22 11:15 01-00-1b-78-32-44-90 ->
>> RedHat-4-x86_64*
>>
>> Any help?
>>
>> Regards,
>> -LOhit
>>
>>
>> On Fri, Feb 19, 2010 at 5:26 PM, LOhit <lohi...@gmail.com> wrote:
>>
>>> Hi Ohad, You are a genius..!!! I owe you a beer. :)
>>>
>>> My SSL directory is "/etc/puppet/ssl". I wasted one whole day trying to
>>> figure it out.
>>>
>>> Thanks a bunch.
>>>
>>>
>>> On Fri, Feb 19, 2010 at 4:03 PM, Ohad Levy <ohadl...@gmail.com> wrote:
>>>
>>>> the real error message is generated here:
>>>> http://theforeman.org/repositories/entry/foreman/vendor/plugins/proxy/lib/proxy.rb#L80
>>>>
>>>> which basically tests if the ca directory is available and puppetca can
>>>> be found.
>>>> I'm guessing one of these two are missing (or in a non standard
>>>> location).
>>>>
>>>> cheers,
>>>> Ohad
>>>>
>>>>
>>>>
>>>> On Fri, Feb 19, 2010 at 6:14 AM, LOhit <lohi...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Actually, I have built custom RPMs of  Puppet & Facter tailored to meet
>>>>> the requirements of my environment. So, when I install these RPMs, the
>>>>> binaries go into "/usr/sbin" including "puppetca"
>>>>> And Pupept & Foreman are started by root. Initially, I too thought that
>>>>> foreman was not able to find the "puppetca" binary, but then I wasn't 
>>>>> sure.
>>>>>
>>>>> I couldn't find much info anywhere, so thought of taking look at the
>>>>> code.
>>>>>
>>>>>  *def setBuild
>>>>>     host = Host.find params[:id]
>>>>>     if host.setBuild != false (if I set this to true, I get the right
>>>>> message in the web UI but, obviously that doesn't solve the problem)
>>>>>       flash[:foreman_notice] = "Enabled #{host.name} for installation
>>>>> boot away"
>>>>>     else
>>>>>       flash[:foreman_error] = "Failed to enable #{host.name} for
>>>>> installation"
>>>>>     end
>>>>>     redirect_to :back
>>>>>   end*
>>>>>
>>>>>
>>>>> So, the conditions are not being met to enable the host for
>>>>> installation.
>>>>>
>>>>>
>>>>> *PS: THIS IS A TEST SETUP, SO, I CAN TRY OUT DIFFERENT THINGS, PLEASE
>>>>> FEEL FREE TO SUGGEST FIXES. :)*
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> On Thu, Feb 18, 2010 at 11:37 PM, Ohad Levy <ohadl...@gmail.com>wrote:
>>>>>
>>>>>> hmm.. another option, do you use a non-standard directory for puppet
>>>>>> binaries ?
>>>>>>
>>>>>> Ohad
>>>>>>
>>>>>>
>>>>>> On Thu, Feb 18, 2010 at 4:21 PM, Ohad Levy <ohadl...@gmail.com>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Foreman needs to be able to execute puppetca, see
>>>>>>> http://theforeman.org/repositories/entry/foreman/extras/puppet/foreman/manifests/puppetca.pp
>>>>>>>
>>>>>>> cheers,
>>>>>>> Ohad
>>>>>>>
>>>>>>> On Thu, Feb 18, 2010 at 9:21 AM, LOhit <lohi...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I ran into this problem today, I am trying to implement "One click
>>>>>>>> installation", I followed foreman howtos and set up the pre-requisites
>>>>>>>> accordingly.
>>>>>>>>
>>>>>>>> However, when I click on "Build" button, I get the following errors
>>>>>>>> in the foreman's console and another error in the web interface 
>>>>>>>> indicating
>>>>>>>> that the installation failed. Any ideas?
>>>>>>>>
>>>>>>>> *"PuppetCA: SSL/CA or puppetca unavailable on this machine"*
>>>>>>>>
>>>>>>>> *"Failed to enable hostname_here for installation"*
>>>>>>>>
>>>>>>>> Thanks in advance.
>>>>>>>>
>>>>>>>> --
>>>>>>>> LOhit
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Puppet Users" group.
>>>>>>>> To post to this group, send email to puppet-us...@googlegroups.com.
>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>>>>>>>> .
>>>>>>>> For more options, visit this group at
>>>>>>>> http://groups.google.com/group/puppet-users?hl=en.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Puppet Users" group.
>>>>>> To post to this group, send email to puppet-us...@googlegroups.com.
>>>>>> To unsubscribe from this group, send email to
>>>>>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>>>>>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/puppet-users?hl=en.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> LOhit
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Puppet Users" group.
>>>>> To post to this group, send email to puppet-us...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/puppet-users?hl=en.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Puppet Users" group.
>>>> To post to this group, send email to puppet-us...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/puppet-users?hl=en.
>>>>
>>>
>>>
>>>
>>> --
>>> LOhit
>>>
>>
>>
>>
>> --
>> LOhit
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To post to this group, send email to puppet-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>



-- 
LOhit

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to