Re: [Puppet Users] Rebuilding machines from foreman

2010-03-15 Thread LOhit
Hi, Sure, we can take it up on the irc channel. However, just for the record, sudo permission is fine, it was a working setup prior to upgrade. And the user the foreman runs as, can execute "puppetca", I tested it from the command line to make sure. Best regards, -LOhit On Mon, Mar 15, 2010 at

Re: [Puppet Users] Rebuilding machines from foreman

2010-03-15 Thread Ohad Levy
Hi, I would assume that you cant execute puppetca (e.g. sudo permissions etc), can you double check if there is nothing in the log files? probably its best to continue this discussion at foreman users or #theforeman on irc. cheers, Ohad On Mon, Mar 15, 2010 at 4:51 PM, LOhit wrote: > After up

Re: [Puppet Users] Rebuilding machines from foreman

2010-03-15 Thread LOhit
After upgrading to 0.1-4, I ran into the same problem. *"Failed to enable hostname_here for installation"* * * But, this time around, I don't see any messages/logs regarding the error. Link gets created in the TFTP directory, but nothing else. I have gone through the change log, I even tried chang

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread Ohad Levy
:) Lets start with feature requests for anything in your wishlist Ohad On Mon, Feb 22, 2010 at 1:09 PM, LOhit wrote: > Ahhh!!! I thought those files would be generated automatically. One > more item added to my foreman wishlist. :) > > Please let me know if I can contribute in any way. >

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread LOhit
Ahhh!!! I thought those files would be generated automatically. One more item added to my foreman wishlist. :) Please let me know if I can contribute in any way. -LOhit On Mon, Feb 22, 2010 at 4:23 PM, Ohad Levy wrote: > Hi, > > Thats correct, but you still need to generate the config fil

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread Ohad Levy
Hi, Thats correct, but you still need to generate the config file (e.g. as in the examples) per OS. I guess that in the near future (some code already exist on some github branch) that will auto copy the kernel / ramdisks and create the pxefiles directly. cheers, Ohad On Mon, Feb 22, 2010 at 12

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread LOhit
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

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread Ohad Levy
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 wrote: > Hi, > > I have hit one more dead end :(. After I click on the "Build" button, I get > the message "Host xxx enabled for insta

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread LOhit
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

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-19 Thread LOhit
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 wrote: > the real error message is generated here: > http://theforeman.org/repositories/entry/fo

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-19 Thread Ohad Levy
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, Oha

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-18 Thread LOhit
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

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-18 Thread Ohad Levy
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 wrote: > Hi, > > Foreman needs to be able to execute puppetca, see > http://theforeman.org/repositories/entry/foreman/extras/puppet/foreman/manifests/puppetca.pp > > c

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-18 Thread Ohad Levy
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 wrote: > Hello, > > I ran into this problem today, I am trying to implement "One click > instal