hello, we just wanted to rollout our new puppetized dmz. therefore i change all ip adresses from the test network to the live ips. after restarting puppetmasterd it seems that the fileserver hangs: client log: debug: //true_base/update-check/File[/sbin/update_check.pl]/require: requires Package[libmail-sendmail-perl] debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require: requires Package[puppet] debug: //true_base/apt/Exec[apt_update_on_refresh]/subscribe: subscribes to File[/etc/apt/sources.list] debug: //true_base/sshkeys/File[/root/.ssh/authorized_keys]: Autorequiring File[/root/.ssh] debug: Calling fileserver.describe debug: Storing state debug: Stored state in 0.33 seconds /usr/lib/ruby/1.8/timeout.rb:54:in `open'': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'' from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' from /usr/lib/ruby/1.8/net/http.rb:1032:in `request'' from /usr/lib/ruby/1.8/net/http.rb:989:in `post2'' ... 35 levels... from /usr/lib/ruby/1.8/puppet/client/master.rb:358:in `run'' from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' from /usr/lib/ruby/1.8/puppet/client/master.rb:344:in `run'' from /usr/sbin/puppetd:424 server side: info: Found test.dmz.ciphirelabs.net in /etc/puppet/manifests/site.pp info: Found base_node in /etc/puppet/manifests/site.pp info: Found true_base in /etc/puppet/manifests/site.pp debug: apt: Retrieving template sources.list.erb debug: template[/var/lib/puppet/templates/sources.list.erb]: Interpolated template /var/lib/puppet/templates/sources.list.erb in 0.00 seconds debug: update-check: Retrieving template update_check.pl.erb debug: template[/var/lib/puppet/templates/update_check.pl.erb]: Interpolated template /var/lib/puppet/templates/update_check.pl.erb in 0.00 seconds debug: puppetd: Retrieving template puppetd.conf.erb debug: template[/var/lib/puppet/templates/puppetd.conf.erb]: Interpolated template /var/lib/puppet/templates/puppetd.conf.erb in 0.00 seconds debug: hosts: Retrieving template hosts.erb debug: template[/var/lib/puppet/templates/hosts.erb]: Interpolated template /var/lib/puppet/templates/hosts.erb in 0.00 seconds debug: service provider redhat: Not suitable: missing /sbin/chkconfig debug: postfix_monitor_relay: Retrieving template main.cf.erb debug: template[/var/lib/puppet/templates/main.cf.erb]: Interpolated template /var/lib/puppet/templates/main.cf.erb in 0.00 seconds debug: ntp-client: Retrieving template ntp-client.conf.erb debug: template[/var/lib/puppet/templates/ntp-client.conf.erb]: Interpolated template /var/lib/puppet/templates/ntp-client.conf.erb in 0.00 seconds notice: Compiled configuration for test.dmz.ciphirelabs.net in 0.21 seconds well i''m kinda stuck now, any recommendations for further investigation ? templates are delivered, but it looks like files are not serverd. thanks h.
i guess i found the problem, need to investigate a little bit further short version: puppet already cached the new fileserver ip in localconfig.yaml and tried to contact the server on the new ip, while i was giving puppetd the --server argument to get th econfig from the old ip. On Fri, 2007-05-04 at 10:48 +0200, Holger Brueckner wrote:> hello, > > we just wanted to rollout our new puppetized dmz. therefore i change all > ip adresses from the test network to the live ips. after restarting > puppetmasterd it seems that the fileserver hangs: > > client log: > > debug: //true_base/update-check/File[/sbin/update_check.pl]/require: > requires Package[libmail-sendmail-perl] > debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require: > requires Package[puppet] > debug: //true_base/apt/Exec[apt_update_on_refresh]/subscribe: subscribes > to File[/etc/apt/sources.list] > debug: //true_base/sshkeys/File[/root/.ssh/authorized_keys]: > Autorequiring File[/root/.ssh] > debug: Calling fileserver.describe > debug: Storing state > debug: Stored state in 0.33 seconds > /usr/lib/ruby/1.8/timeout.rb:54:in `open'': execution expired > (Timeout::Error) > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'' > from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' > from /usr/lib/ruby/1.8/net/http.rb:1032:in `request'' > from /usr/lib/ruby/1.8/net/http.rb:989:in `post2'' > ... 35 levels... > from /usr/lib/ruby/1.8/puppet/client/master.rb:358:in `run'' > from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' > from /usr/lib/ruby/1.8/puppet/client/master.rb:344:in `run'' > from /usr/sbin/puppetd:424 > > server side: > info: Found test.dmz.ciphirelabs.net in /etc/puppet/manifests/site.pp > info: Found base_node in /etc/puppet/manifests/site.pp > info: Found true_base in /etc/puppet/manifests/site.pp > debug: apt: Retrieving template sources.list.erb > debug: template[/var/lib/puppet/templates/sources.list.erb]: > Interpolated template /var/lib/puppet/templates/sources.list.erb in 0.00 > seconds > debug: update-check: Retrieving template update_check.pl.erb > debug: template[/var/lib/puppet/templates/update_check.pl.erb]: > Interpolated template /var/lib/puppet/templates/update_check.pl.erb in > 0.00 seconds > debug: puppetd: Retrieving template puppetd.conf.erb > debug: template[/var/lib/puppet/templates/puppetd.conf.erb]: > Interpolated template /var/lib/puppet/templates/puppetd.conf.erb in 0.00 > seconds > debug: hosts: Retrieving template hosts.erb > debug: template[/var/lib/puppet/templates/hosts.erb]: Interpolated > template /var/lib/puppet/templates/hosts.erb in 0.00 seconds > debug: service provider redhat: Not suitable: missing /sbin/chkconfig > debug: postfix_monitor_relay: Retrieving template main.cf.erb > debug: template[/var/lib/puppet/templates/main.cf.erb]: Interpolated > template /var/lib/puppet/templates/main.cf.erb in 0.00 seconds > debug: ntp-client: Retrieving template ntp-client.conf.erb > debug: template[/var/lib/puppet/templates/ntp-client.conf.erb]: > Interpolated template /var/lib/puppet/templates/ntp-client.conf.erb in > 0.00 seconds > notice: Compiled configuration for test.dmz.ciphirelabs.net in 0.21 > seconds > > well i''m kinda stuck now, any recommendations for further > investigation ? templates are delivered, but it looks like files are not > serverd. > > thanks > > h. > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users
found it, working again :-D puppetd cached the new fileserver ip in localconfig.yaml therefore puppetd tried to contact the puppetmaster on its new ip. --server argument seems not to override fileserver locations in localconfig.yaml. h. On Fri, 2007-05-04 at 10:48 +0200, Holger Brueckner wrote:> hello, > > we just wanted to rollout our new puppetized dmz. therefore i change all > ip adresses from the test network to the live ips. after restarting > puppetmasterd it seems that the fileserver hangs: > > client log: > > debug: //true_base/update-check/File[/sbin/update_check.pl]/require: > requires Package[libmail-sendmail-perl] > debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require: > requires Package[puppet] > debug: //true_base/apt/Exec[apt_update_on_refresh]/subscribe: subscribes > to File[/etc/apt/sources.list] > debug: //true_base/sshkeys/File[/root/.ssh/authorized_keys]: > Autorequiring File[/root/.ssh] > debug: Calling fileserver.describe > debug: Storing state > debug: Stored state in 0.33 seconds > /usr/lib/ruby/1.8/timeout.rb:54:in `open'': execution expired > (Timeout::Error) > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'' > from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'' > from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' > from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' > from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' > from /usr/lib/ruby/1.8/net/http.rb:1032:in `request'' > from /usr/lib/ruby/1.8/net/http.rb:989:in `post2'' > ... 35 levels... > from /usr/lib/ruby/1.8/puppet/client/master.rb:358:in `run'' > from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'' > from /usr/lib/ruby/1.8/puppet/client/master.rb:344:in `run'' > from /usr/sbin/puppetd:424 > > server side: > info: Found test.dmz.ciphirelabs.net in /etc/puppet/manifests/site.pp > info: Found base_node in /etc/puppet/manifests/site.pp > info: Found true_base in /etc/puppet/manifests/site.pp > debug: apt: Retrieving template sources.list.erb > debug: template[/var/lib/puppet/templates/sources.list.erb]: > Interpolated template /var/lib/puppet/templates/sources.list.erb in 0.00 > seconds > debug: update-check: Retrieving template update_check.pl.erb > debug: template[/var/lib/puppet/templates/update_check.pl.erb]: > Interpolated template /var/lib/puppet/templates/update_check.pl.erb in > 0.00 seconds > debug: puppetd: Retrieving template puppetd.conf.erb > debug: template[/var/lib/puppet/templates/puppetd.conf.erb]: > Interpolated template /var/lib/puppet/templates/puppetd.conf.erb in 0.00 > seconds > debug: hosts: Retrieving template hosts.erb > debug: template[/var/lib/puppet/templates/hosts.erb]: Interpolated > template /var/lib/puppet/templates/hosts.erb in 0.00 seconds > debug: service provider redhat: Not suitable: missing /sbin/chkconfig > debug: postfix_monitor_relay: Retrieving template main.cf.erb > debug: template[/var/lib/puppet/templates/main.cf.erb]: Interpolated > template /var/lib/puppet/templates/main.cf.erb in 0.00 seconds > debug: ntp-client: Retrieving template ntp-client.conf.erb > debug: template[/var/lib/puppet/templates/ntp-client.conf.erb]: > Interpolated template /var/lib/puppet/templates/ntp-client.conf.erb in > 0.00 seconds > notice: Compiled configuration for test.dmz.ciphirelabs.net in 0.21 > seconds > > well i''m kinda stuck now, any recommendations for further > investigation ? templates are delivered, but it looks like files are not > serverd. > > thanks > > h. > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users
On May 4, 2007, at 4:23 AM, Holger Brueckner wrote:> found it, working again :-D*whew*> puppetd cached the new fileserver ip in localconfig.yaml > therefore puppetd tried to contact the puppetmaster on its new ip. > --server argument seems not to override fileserver locations in > localconfig.yaml.It should only be using the cache if it can''t connect to the server, but otherwise, yeah, it doesn''t override anything in that cache. -- A motion to adjourn is always in order. --Robert Heinlein --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com