[Puppet Users] Re: puppetmaster fails to start

Oren Marmor
Wed, 23 May 2012 09:15:55 -0000

Hi Dan.
i have tested the same configuration on another server and had no
problems.
also, this configuration worked until couple of days with no changes i
can think of..
nevertheless, i would check active record downgrade.

thanks,
Oren.

On May 23, 11:50 am, Denmat <tu2bg...@gmail.com>
wrote:
> Hi,
>
> Common culprits are rack and activerecord.
>
> Can''t remember the versions to target off the top of my head, but
try first downgrading activerecord.
>
> Cheers
> Den
>
> On 23/05/2012, at 18:04, Oren Marmor <oren.mar...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi all.
> > i have puppet 2.6.8 + passenger installed on centos 5.6 server
> > for some obscure reason, puppetmaster stopped working - i am not aware
> > of any changes done on that server
> > i have tried starting puppetmaster as a service which also failed.
> > checked gems and same configuration on another server works fine.
> > this is the error and gem list, idea would be much appreciated!
>
> > *** LOCAL GEMS ***
>
> > activerecord (2.1.1)
> > activesupport (2.1.1)
> > fastthread (1.0.7)
> > json (1.4.3)
> > mime-types (1.16)
> > passenger (2.2.11)
> > rack (1.1.0)
> > rake (0.8.7)
> > rest-client (1.6.1)
> > sqlite3-ruby (1.2.4)
>
> > # puppetmasterd --no-daemonize --trace
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:171:in `fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:257:in
`validate''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:337:in
`value=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:416:in `[]=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1773:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1749:in
`initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
`send''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
`each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:468:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:621:in
`use''
> > /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:615:in
`use''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:139:in
> > `setup''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in
`hook''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in
> > `exit_on_fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/sbin/puppetmasterd:4
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:171:in `fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:257:in
`validate''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:337:in
`value=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:416:in `[]=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1773:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1749:in
`initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
`send''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
`each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:468:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:621:in
`use''
> > /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:615:in
`use''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:147:in
> > `setup''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in
`hook''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in
> > `exit_on_fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/sbin/puppetmasterd:4
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:171:in `fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:257:in
`validate''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:337:in
`value=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:416:in `[]=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1773:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1749:in
`initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
`send''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
`each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:468:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:621:in
`use''
> > /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:615:in
`use''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:140:in
> > `initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:31:in
> > `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:31:in
> > `init_singleton_instance''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in
`send''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in
> > `cached_value''
> > /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:98:in
`cached_value''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:48:in
> > `singleton_instance''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:45:in
> > `instance''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:148:in
> > `setup''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:420:in
`hook''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:411:in
> > `exit_on_fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:304:in
`run''
> > /usr/sbin/puppetmasterd:4
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:171:in `fail''
> > /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:257:in
`validate''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:300:in
`should=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:337:in
`value=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:416:in `[]=''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1773:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in `each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1767:in
`set_parameters''
> > /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1749:in
`initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:285:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
`send''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:553:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
`each''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:531:in
> > `to_catalog''
> > /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:468:in
`to_ral''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:621:in
`use''
> > /usr/lib/ruby/1.8/sync.rb:229:in `synchronize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:615:in
`use''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:50:in
> > `initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:314:in
> > `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:314:in
> > `make_terminus''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:123:in
> > `terminus''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:302:in
> > `prepare''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:181:in
> > `find''
> > /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:120:in `key''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:158:in
`certificate''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:222:in
> > `setup''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:146:in
> > `initialize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:31:in
> > `new''
> > /usr/lib/ruby/site_ruby/1.8/puppet/ssl/certificate_authority.rb:31:in
> > `init_singleton_instance''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in
`send''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in
> > `cached_value''
> > /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize''
> > /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:98:in
>
> ...
>
>