Issue #4829 has been updated by Matthew Flanagan.

Hi James,

puppet is installed from my own solaris package made with 'ruby install.rb 
--destdir=$DESTDIR'
ruby version is 1.8.6.114

    # puppetmasterd --no-daemonize --trace --debug --verbose
    debug: Failed to load library 'shadow' for feature 'libshadow'
    debug: Failed to load library 'ldap' for feature 'ldap'
    debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
    debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl 
does not exist
    debug: Puppet::Type::User::ProviderPw: file pw does not exist
    debug: Failed to load library 'selinux' for feature 'selinux'
    debug: Puppet::Type::File::ProviderMicrosoft_windows: feature 
microsoft_windows is missing
    debug: /File[/var/lib/puppet/server_data]: Autorequiring 
File[/var/lib/puppet]
    debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring 
File[/etc/puppet/ssl]
    debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
    debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/puppet]
    debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/fileserver.conf]: Autorequiring File[/etc/puppet]
    debug: /File[/var/lib/puppet/log/masterhttp.log]: Autorequiring 
File[/var/lib/puppet/log]
    debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
    debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring 
File[/etc/puppet/ssl/certs]
    debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring 
File[/etc/puppet/manifests]
    debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring 
File[/etc/puppet/ssl]
    debug: /File[/etc/puppet/ssl/certs/master.example.com.pem]: Autorequiring 
File[/etc/puppet/ssl/certs]
    debug: /File[/etc/puppet/ssl/public_keys/master.example.com.pem]: 
Autorequiring File[/etc/puppet/ssl/public_keys]
    debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet]
    debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
    debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
    debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring 
File[/etc/puppet/ssl]
    debug: /File[/etc/puppet/ssl/private_keys/master.example.com.pem]: 
Autorequiring File[/etc/puppet/ssl/private_keys]
    debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
    debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
    debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
    debug: Finishing transaction 9599976
    debug: /File[/etc/puppet/ssl/ca/ca_key.pem]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/private]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/ca_crt.pem]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/ca_pub.pem]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/inventory.txt]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/signed]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/serial]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/private/ca.pass]: Autorequiring 
File[/etc/puppet/ssl/ca/private]
    debug: /File[/etc/puppet/ssl/ca/ca_crl.pem]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: /File[/etc/puppet/ssl/ca/requests]: Autorequiring 
File[/etc/puppet/ssl/ca]
    debug: Finishing transaction 9181392
    debug: Using cached certificate for ca
    debug: Using cached certificate for ca
    debug: Using cached certificate for master.example.com
    notice: Starting Puppet master version 2.6.1
    info: mount[files]: allowing 127.0.0.1 access
    info: mount[files]: allowing *.example.com access
    info: mount[pkg]: allowing 127.0.0.1 access
    info: mount[pkg]: allowing *.example.com access
    debug: No modules mount given; autocreating with default permissions
    debug: No plugins mount given; autocreating with default permissions
    debug: Finishing transaction 4496688
    info: Inserting default '~ ^/catalog/([^/]+)$'(auth) acl because 
/etc/puppet/auth.conf doesn't exist
    info: Inserting default '/file'(non-auth) acl because /etc/puppet/auth.conf 
doesn't exist
    info: Inserting default '/certificate_revocation_list/ca'(auth) acl because 
/etc/puppet/auth.conf doesn't exist
    info: Inserting default '/report'(auth) acl because /etc/puppet/auth.conf 
doesn't exist
    info: Inserting default '/certificate/ca'(non-auth) acl because 
/etc/puppet/auth.conf doesn't exist
    info: Inserting default '/certificate/'(non-auth) acl because 
/etc/puppet/auth.conf doesn't exist
    info: Inserting default '/certificate_request'(non-auth) acl because 
/etc/puppet/auth.conf doesn't exist
    info: Inserting default '/status'(auth) acl because /etc/puppet/auth.conf 
doesn't exist
    info: Inserting default '/resource'(auth) acl because /etc/puppet/auth.conf 
doesn't exist
    info: mount[files]: allowing 127.0.0.1 access
    info: mount[files]: allowing *.example.com access
    info: mount[pkg]: allowing 127.0.0.1 access
    info: mount[pkg]: allowing *.example.com access
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:247:in 
`parse_object'
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:177:in 
`parse_value'
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:232:in 
`parse_object'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:97:in 
`parse'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/common.rb:133:in 
`parse'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/module.rb:112:in `load_metadata'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/module.rb:59:in `initialize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:110:in `new'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:110:in 
`init_modules'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:108:in 
`collect'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:108:in 
`init_modules'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in 
`cached_value'
    /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:98:in `cached_value'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:48:in `modules'
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/file_serving/mount/plugins.rb:19:in 
`search'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/file_server.rb:45:in 
`search'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:238:in 
`search'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector.rb:58:in `search'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:117:in 
`do_search'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in 
`send'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in 
`process'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in 
`service'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in 
`listen'
    /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `call'
    /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in 
`listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in 
`initialize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in 
`listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in 
`synchronize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in 
`listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/daemon.rb:124:in `start'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in 
`run_command'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in 
`exit_on_fail'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
    /usr/local/sbin/puppetmasterd:4
    err: expected next name, value pair in object at '}
    '!
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:247:in 
`parse_object'
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:177:in 
`parse_value'
    
/usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:232:in 
`parse_object'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/pure/parser.rb:97:in 
`parse'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/external/pson/common.rb:133:in 
`parse'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/module.rb:112:in `load_metadata'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/module.rb:59:in `initialize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:110:in `new'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:110:in 
`init_modules'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:108:in 
`collect'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/node/environment.rb:108:in 
`init_modules'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in 
`cached_value'
    /usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:98:in `cached_value'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:48:in `modules'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/file_serving/mount/plugins.rb:9:in 
`find'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/file_server.rb:33:in 
`find'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in 
`find'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in 
`do_find'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in 
`send'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in 
`process'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in 
`service'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in 
`listen'
    /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `call'
    /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in 
`listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in 
`initialize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in 
`listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in 
`synchronize'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in 
`listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/daemon.rb:124:in `start'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in 
`run_command'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in 
`exit_on_fail'
    /usr/local/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
    /usr/local/sbin/puppetmasterd:4
    err: expected next name, value pair in object at '}
    '!
    info: Expiring the node cache of client.example.com
    info: Not using expired node for client.example.com from cache; expired at 
Thu Sep 23 18:20:11 +1000 2010
    info: Caching node for client.example.com
    debug: importing '/etc/puppet/manifests/ipselab/site.pp' in environment 
production
    debug: importing '/etc/puppet/manifests/ipselab/modules.pp' in environment 
production
    debug: importing '/etc/puppet/modules/bind/manifests/init.pp' in 
environment production
    debug: importing '/etc/puppet/modules/ntp/manifests/init.pp' in environment 
production
    debug: importing '/etc/puppet/modules/puppet/manifests/init.pp' in 
environment production
    debug: importing '/etc/puppet/modules/resolver/manifests/init.pp' in 
environment production
    debug: importing '/etc/puppet/manifests/ipselab/baselines/hardened.pp' in 
environment production
    debug: importing '/etc/puppet/manifests/ipselab/baselines/general.pp' in 
environment production
    debug: importing '/etc/puppet/manifests/ipselab/baselines/minimal.pp' in 
environment production
    debug: importing 
'/etc/puppet/manifests/ipselab/infrastructures/geographical.pp' in environment 
production
    debug: importing 
'/etc/puppet/manifests/ipselab/infrastructures/basenode.pp' in environment 
production
    debug: importing '/etc/puppet/manifests/ipselab/infrastructures/init.pp' in 
environment production
    debug: importing '/etc/puppet/manifests/ipselab/roles/roles.pp' in 
environment production
    debug: importing '/etc/puppet/manifests/ipselab/nodes/example.com.pp' in 
environment production
    debug: Scope(Class[Resolver]): Retrieving template resolver/resolv.conf
    debug: template[/etc/puppet/modules/resolver/templates/resolv.conf]: Bound 
template variables for /etc/puppet/modules/resolver/templates/resolv.conf in 
0.01 seconds
    debug: template[/etc/puppet/modules/resolver/templates/resolv.conf]: 
Interpolated template /etc/puppet/modules/resolver/templates/resolv.conf in 
0.01 seconds
    debug: importing '/etc/puppet/modules/common/manifests/init.pp' in 
environment production
    debug: importing 
'/etc/puppet/modules/common/manifests/classes/svcmethod.pp' in environment 
production
    debug: importing '/etc/puppet/modules/common/manifests/classes/sshkeys.pp' 
in environment production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/replacelinepm.pp' in environment 
production
    debug: importing '/etc/puppet/modules/common/manifests/defines/link.pp' in 
environment production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/modules_file.pp' in environment 
production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/netinstall.pp' in environment 
production
    debug: importing '/etc/puppet/modules/common/manifests/defines/line.pp' in 
environment production
    debug: importing '/etc/puppet/modules/common/manifests/defines/config.pp' 
in environment production
    debug: importing '/etc/puppet/modules/common/manifests/defines/replace.pp' 
in environment production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/modules_dir.pp' in environment 
production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/replaceline.pp' in environment 
production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/config_file.pp' in environment 
production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/file2augeas.pp' in environment 
production
    debug: importing 
'/etc/puppet/modules/common/manifests/defines/concatenated_file.pp' in 
environment production
    debug: Automatically imported common::svcmethod from common/svcmethod into 
production
    debug: Scope(Class[Ntp]): Retrieving template ntp/ntp4.conf
    debug: template[/etc/puppet/modules/ntp/templates/ntp4.conf]: Bound 
template variables for /etc/puppet/modules/ntp/templates/ntp4.conf in 0.00 
seconds
    debug: template[/etc/puppet/modules/ntp/templates/ntp4.conf]: Interpolated 
template /etc/puppet/modules/ntp/templates/ntp4.conf in 0.02 seconds
    notice: Compiled catalog for client.example.com in environment production 
in 5.68 seconds


----------------------------------------
Bug #4829: error on puppet-master when compiling catalog
http://projects.puppetlabs.com/issues/4829

Author: Matthew Flanagan
Status: Needs more information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected version: 2.6.1
Keywords: 
Branch: 


I just upgrade my puppetmaster from 0.25.3 to 2.6.1 and I get the following 
error every time the master compiles a client catalog:

    Sep 19 03:11:06 master puppet-master[3436]: [ID 702911 daemon.error] 
expected
    next name, value pair in object at '}
    Sep 19 03:11:06 master '!
    Sep 19 03:11:07 master puppet-master[3436]: [ID 702911 daemon.error] 
expected
    next name, value pair in object at '}
    Sep 19 03:11:07 master '!

    # uname -a
    SunOS master 5.10 Generic_142909-17 sun4v sparc SUNW,Sun-Fire-T200

I thought it might be due to my manifest having some quirks but I reduced the 
site.pp to just 

    node default {
        file { "/tmp/test_puppet":
            ensure => present,
        }
    }

And still got the same error.





-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to