Unwanted error message when running puppet agent on Solaris -
when run puppet agent fetch catalogue puppet master giving below error message though puppet agent executed properly.
error: not set 'file' on ensure: user 20170818-18082-9pyaem doesn't exist error: not set 'file' on ensure: user 20170818-18082-9pyaem doesn't exist wrapped exception: user 20170818-18082-9pyaem doesn't exist error: /file[/var/lib/puppet/lib/facter/~]/ensure: change absent file failed: not set 'file' on ensure: user 20170818-18082-9pyaem doesn't exist
whenever run puppet agent value "20170818-18082-9pyaem
" in above output keep changing , not sure coming. below files available in folder /var/lib/puppet/lib/facter/.
root@test-server:~# ls -l /var/lib/puppet/lib/facter/ -rw-r--r-- 1 root root 390 jul 25 00:35 apt_package_updates.rb -rw-r--r-- 1 root root 295 jul 25 00:35 apt_security_updates.rb -rw-r--r-- 1 root root 286 jul 25 00:35 apt_updates.rb -rw-r--r-- 1 root root 212 jul 25 00:36 concat_basedir.rb -rw-r--r-- 1 root root 4637 jul 25 00:35 facter_dot_d.rb -rw-r--r-- 1 root root 218 jul 25 06:39 gemhome.rb -rw-r--r-- 1 root root 139 jul 25 00:35 httpd_running.rb -rw-r--r-- 1 root root 236 jul 25 00:35 ip6tables_version.rb -rw-r--r-- 1 root root 444 jul 25 00:35 iptables_persistent_version.rb -rw-r--r-- 1 root root 234 jul 25 00:36 iptables_version.rb -rw-r--r-- 1 root root 427 jul 25 06:39 lib_process_running.rb -rw-r--r-- 1 root root 1172 jul 25 00:35 pe_version.rb -rw-r--r-- 1 root root 937 jul 25 00:35 puppet_vardir.rb drwxr-xr-x 2 root root 3 jul 25 00:35 util root@test-server:~#
can provide suggestion fix or identify error coming.
update 1:
debug output,
debug: failed load library 'selinux' feature 'selinux' debug: using settings: adding file resource 'confdir': 'file[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: failed load library 'shadow' feature 'libshadow' debug: failed load library 'ldap' feature 'ldap' debug: puppet::type::user::providerldap: feature ldap missing debug: puppet::type::user::provideruseradd: file chage not exist debug: puppet::type::user::providerdirectoryservice: file /usr/bin/uuidgen not exist debug: puppet::type::user::providerpw: file pw not exist debug: /user[puppet]: provider user_role_add not support features libuser; not managing attribute forcelocal debug: puppet::type::group::providerpw: file pw not exist debug: failed load library 'ldap' feature 'ldap' debug: puppet::type::group::providerldap: feature ldap missing debug: puppet::type::group::providerdirectoryservice: file /usr/bin/dscl not exist debug: /group[puppet]: provider groupadd not support features libuser; not managing attribute forcelocal debug: using settings: adding file resource 'vardir': 'file[/var/lib/puppet]{:path=>"/var/lib/puppet", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'logdir': 'file[/var/log/puppet]{:path=>"/var/log/puppet", :mode=>"750", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'statedir': 'file[/var/lib/puppet/state]{:path=>"/var/lib/puppet/state", :mode=>"1755", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'rundir': 'file[/var/run/puppet]{:path=>"/var/run/puppet", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'libdir': 'file[/var/lib/puppet/lib]{:path=>"/var/lib/puppet/lib", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'certdir': 'file[/var/lib/puppet/ssl/certs]{:path=>"/var/lib/puppet/ssl/certs", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'ssldir': 'file[/var/lib/puppet/ssl]{:path=>"/var/lib/puppet/ssl", :mode=>"771", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'publickeydir': 'file[/var/lib/puppet/ssl/public_keys]{:path=>"/var/lib/puppet/ssl/public_keys", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'requestdir': 'file[/var/lib/puppet/ssl/certificate_requests]{:path=>"/var/lib/puppet/ssl/certificate_requests", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'privatekeydir': 'file[/var/lib/puppet/ssl/private_keys]{:path=>"/var/lib/puppet/ssl/private_keys", :mode=>"750", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'privatedir': 'file[/var/lib/puppet/ssl/private]{:path=>"/var/lib/puppet/ssl/private", :mode=>"750", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostcert': 'file[/var/lib/puppet/ssl/certs/test.server.com.pem]{:path=>"/var/lib/puppet/ssl/certs/test.server.com.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostprivkey': 'file[/var/lib/puppet/ssl/private_keys/test.server.com.pem]{:path=>"/var/lib/puppet/ssl/private_keys/test.server.com.pem", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostpubkey': 'file[/var/lib/puppet/ssl/public_keys/test.server.com.pem]{:path=>"/var/lib/puppet/ssl/public_keys/test.server.com.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'localcacert': 'file[/var/lib/puppet/ssl/certs/ca.pem]{:path=>"/var/lib/puppet/ssl/certs/ca.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostcrl': 'file[/var/lib/puppet/ssl/crl.pem]{:path=>"/var/lib/puppet/ssl/crl.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'statefile': 'file[/var/lib/puppet/state/state.yaml]{:path=>"/var/lib/puppet/state/state.yaml", :mode=>"660", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'clientyamldir': 'file[/var/lib/puppet/client_yaml]{:path=>"/var/lib/puppet/client_yaml", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'client_datadir': 'file[/var/lib/puppet/client_data]{:path=>"/var/lib/puppet/client_data", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'classfile': 'file[/var/lib/puppet/classes.txt]{:path=>"/var/lib/puppet/classes.txt", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'resourcefile': 'file[/var/lib/puppet/state/resources.txt]{:path=>"/var/lib/puppet/state/resources.txt", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'clientbucketdir': 'file[/var/lib/puppet/clientbucket]{:path=>"/var/lib/puppet/clientbucket", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'lastrunfile': 'file[/var/lib/puppet/state/last_run_summary.yaml]{:path=>"/var/lib/puppet/state/last_run_summary.yaml", :mode=>"644", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'lastrunreport': 'file[/var/lib/puppet/state/last_run_report.yaml]{:path=>"/var/lib/puppet/state/last_run_report.yaml", :mode=>"640", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'graphdir': 'file[/var/lib/puppet/state/graphs]{:path=>"/var/lib/puppet/state/graphs", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'pluginfactdest': 'file[/var/lib/puppet/facts.d]{:path=>"/var/lib/puppet/facts.d", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: /file[/var/lib/puppet/state]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/lib]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/ssl/certs]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/ssl/public_keys]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/certificate_requests]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/private_keys]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/private]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/certs/test.server.com.pem]: autorequiring file[/var/lib/puppet/ssl/certs] debug: /file[/var/lib/puppet/ssl/private_keys/test.server.com.pem]: autorequiring file[/var/lib/puppet/ssl/private_keys] debug: /file[/var/lib/puppet/ssl/public_keys/test.server.com.pem]: autorequiring file[/var/lib/puppet/ssl/public_keys] debug: /file[/var/lib/puppet/ssl/certs/ca.pem]: autorequiring file[/var/lib/puppet/ssl/certs] debug: /file[/var/lib/puppet/ssl/crl.pem]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/state/state.yaml]: autorequiring file[/var/lib/puppet/state] debug: /file[/var/lib/puppet/client_yaml]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/client_data]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/classes.txt]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/state/resources.txt]: autorequiring file[/var/lib/puppet/state] debug: /file[/var/lib/puppet/clientbucket]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/state/last_run_summary.yaml]: autorequiring file[/var/lib/puppet/state] debug: /file[/var/lib/puppet/state/last_run_report.yaml]: autorequiring file[/var/lib/puppet/state] debug: /file[/var/lib/puppet/state/graphs]: autorequiring file[/var/lib/puppet/state] debug: /file[/var/lib/puppet/facts.d]: autorequiring file[/var/lib/puppet] debug: finishing transaction 11123916 debug: using settings: adding file resource 'confdir': 'file[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'vardir': 'file[/var/lib/puppet]{:path=>"/var/lib/puppet", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'logdir': 'file[/var/log/puppet]{:path=>"/var/log/puppet", :mode=>"750", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'statedir': 'file[/var/lib/puppet/state]{:path=>"/var/lib/puppet/state", :mode=>"1755", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'rundir': 'file[/var/run/puppet]{:path=>"/var/run/puppet", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'libdir': 'file[/var/lib/puppet/lib]{:path=>"/var/lib/puppet/lib", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'certdir': 'file[/var/lib/puppet/ssl/certs]{:path=>"/var/lib/puppet/ssl/certs", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'ssldir': 'file[/var/lib/puppet/ssl]{:path=>"/var/lib/puppet/ssl", :mode=>"771", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'publickeydir': 'file[/var/lib/puppet/ssl/public_keys]{:path=>"/var/lib/puppet/ssl/public_keys", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'requestdir': 'file[/var/lib/puppet/ssl/certificate_requests]{:path=>"/var/lib/puppet/ssl/certificate_requests", :mode=>"755", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'privatekeydir': 'file[/var/lib/puppet/ssl/private_keys]{:path=>"/var/lib/puppet/ssl/private_keys", :mode=>"750", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'privatedir': 'file[/var/lib/puppet/ssl/private]{:path=>"/var/lib/puppet/ssl/private", :mode=>"750", :owner=>"root", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostcert': 'file[/var/lib/puppet/ssl/certs/test.server.com.pem]{:path=>"/var/lib/puppet/ssl/certs/test.server.com.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostprivkey': 'file[/var/lib/puppet/ssl/private_keys/test.server.com.pem]{:path=>"/var/lib/puppet/ssl/private_keys/test.server.com.pem", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostpubkey': 'file[/var/lib/puppet/ssl/public_keys/test.server.com.pem]{:path=>"/var/lib/puppet/ssl/public_keys/test.server.com.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'localcacert': 'file[/var/lib/puppet/ssl/certs/ca.pem]{:path=>"/var/lib/puppet/ssl/certs/ca.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'hostcrl': 'file[/var/lib/puppet/ssl/crl.pem]{:path=>"/var/lib/puppet/ssl/crl.pem", :mode=>"644", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'pluginfactdest': 'file[/var/lib/puppet/facts.d]{:path=>"/var/lib/puppet/facts.d", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: /file[/var/lib/puppet/state]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/lib]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/ssl/certs]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl]: autorequiring file[/var/lib/puppet] debug: /file[/var/lib/puppet/ssl/public_keys]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/certificate_requests]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/private_keys]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/private]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/ssl/certs/test.server.com.pem]: autorequiring file[/var/lib/puppet/ssl/certs] debug: /file[/var/lib/puppet/ssl/private_keys/test.server.com.pem]: autorequiring file[/var/lib/puppet/ssl/private_keys] debug: /file[/var/lib/puppet/ssl/public_keys/test.server.com.pem]: autorequiring file[/var/lib/puppet/ssl/public_keys] debug: /file[/var/lib/puppet/ssl/certs/ca.pem]: autorequiring file[/var/lib/puppet/ssl/certs] debug: /file[/var/lib/puppet/ssl/crl.pem]: autorequiring file[/var/lib/puppet/ssl] debug: /file[/var/lib/puppet/facts.d]: autorequiring file[/var/lib/puppet] debug: finishing transaction 12444336 debug: using cached certificate ca debug: using cached certificate test.server.com debug: using settings: adding file resource 'statefile': 'file[/var/lib/puppet/state/state.yaml]{:path=>"/var/lib/puppet/state/state.yaml", :mode=>"660", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'clientyamldir': 'file[/var/lib/puppet/client_yaml]{:path=>"/var/lib/puppet/client_yaml", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'client_datadir': 'file[/var/lib/puppet/client_data]{:path=>"/var/lib/puppet/client_data", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'classfile': 'file[/var/lib/puppet/classes.txt]{:path=>"/var/lib/puppet/classes.txt", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'resourcefile': 'file[/var/lib/puppet/state/resources.txt]{:path=>"/var/lib/puppet/state/resources.txt", :mode=>"640", :owner=>"root", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'clientbucketdir': 'file[/var/lib/puppet/clientbucket]{:path=>"/var/lib/puppet/clientbucket", :mode=>"750", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'lastrunfile': 'file[/var/lib/puppet/state/last_run_summary.yaml]{:path=>"/var/lib/puppet/state/last_run_summary.yaml", :mode=>"644", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'lastrunreport': 'file[/var/lib/puppet/state/last_run_report.yaml]{:path=>"/var/lib/puppet/state/last_run_report.yaml", :mode=>"640", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: using settings: adding file resource 'graphdir': 'file[/var/lib/puppet/state/graphs]{:path=>"/var/lib/puppet/state/graphs", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' debug: finishing transaction 12947400 debug: loaded state in 0.01 seconds debug: failed load library 'msgpack' feature 'msgpack' debug: puppet::network::format[msgpack]: feature msgpack missing debug: node supports formats: pson b64_zlib_yaml yaml raw debug: using cached certificate ca debug: using cached certificate test.server.com debug: using cached certificate_revocation_list ca info: retrieving pluginfacts debug: failed load library 'msgpack' feature 'msgpack' debug: puppet::network::format[msgpack]: feature msgpack missing debug: file_metadata supports formats: pson b64_zlib_yaml yaml raw debug: finishing transaction 14046708 info: retrieving plugin debug: failed load library 'msgpack' feature 'msgpack' debug: puppet::network::format[msgpack]: feature msgpack missing debug: file_metadata supports formats: pson b64_zlib_yaml yaml raw error: not set 'file' on ensure: user 20170818-22623-1gm6w6c doesn't exist error: not set 'file' on ensure: user 20170818-22623-1gm6w6c doesn't exist wrapped exception: user 20170818-22623-1gm6w6c doesn't exist error: /file[/var/lib/puppet/lib/facter/~]/ensure: change absent file failed: not set 'file' on ensure: user 20170818-22623-1gm6w6c doesn't exist debug: finishing transaction 1564008 info: loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb info: loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb info: loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb info: loading facts in /var/lib/puppet/lib/facter/gemhome.rb info: loading facts in /var/lib/puppet/lib/facter/iptables_version.rb info: loading facts in /var/lib/puppet/lib/facter/httpd_running.rb info: loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb info: loading facts in /var/lib/puppet/lib/facter/apt_updates.rb info: loading facts in /var/lib/puppet/lib/facter/lib_process_running.rb info: loading facts in /var/lib/puppet/lib/facter/apt_package_updates.rb info: loading facts in /var/lib/puppet/lib/facter/pe_version.rb info: loading facts in /var/lib/puppet/lib/facter/apt_security_updates.rb info: loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb info: loading facts in /var/lib/puppet/lib/facter/root_home.rb debug: failed load library 'msgpack' feature 'msgpack' debug: puppet::network::format[msgpack]: feature msgpack missing debug: catalog supports formats: pson b64_zlib_yaml yaml dot raw info: caching catalog test.server.com
it says below user doesnt exist .
user 20170818-18082-9pyaem
can please check whether creating file , setting ownership user .?
if yes , need create user , set ownership
Comments
Post a Comment