Simian trouble shooting

87 views
Skip to first unread message

Andrew Marks

unread,
Nov 23, 2015, 5:11:30 PM11/23/15
to Simian Discuss
Hello, I am new to the world of Simian, 

I am running into an issue when i try to run managed software update on a 10.10.5 machine.

I am looking for an some direction on where to go from here .

This is the log error 



$ sudo /usr/local/munki/managedsoftwareupdate
Managed Software Update Tool
Copyright 2010-2014 The Munki Project
https://github.com/munki/munki

Starting...
   Performing preflight tasks...
   preflight return code: 1
   preflight stderr: /usr/local/munki/simian/lib/python2.6/site-packages/simian-2.4-py2.6.egg/simian/client/gae_client.zip/google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead
/usr/local/munki/simian/lib/python2.6/site-packages/tlslite-0.3.8-py2.6.egg/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
WARNING:root:Root CA Cert Chain was EMPTY!
WARNING:root:Certname was not found in facter!
ERROR:root:Failed to harvest Puppet SSL cert facter specified.
Traceback (most recent call last):
 File "/usr/local/munki/simian_client.py", line 87, in <module>
   sys.exit(main(sys.argv[1:]))
 File "/usr/local/munki/simian_client.py", line 73, in main
   preflight.RunPreflight(runtype, server_url=server_url)
 File "/usr/local/munki/simian/lib/python2.6/site-packages/simian-2.4-py2.6.egg/simian/mac/client/preflight.py", line 365, in RunPreflight
   secure_config, client_id, user_settings, client_exit)
 File "/usr/local/munki/simian/lib/python2.6/site-packages/simian-2.4-py2.6.egg/simian/mac/client/preflight.py", line 139, in LoginToServer
   token = client.GetAuthToken()
 File "/usr/local/munki/simian/lib/python2.6/site-packages/simian-2.4-py2.6.egg/simian/client/client.py", line 1828, in GetAuthToken
   self.DoSimianAuth()
 File "/usr/local/munki/simian/lib/python2.6/site-packages/simian-2.4-py2.6.egg/simian/client/client.py", line 1376, in DoSimianAuth
   raise SimianServerError('Auth step 2')
simian.client.client.SimianServerError: Auth step 2
   managedsoftwareupdate run aborted by preflight script: 1

I did validate the machine is communicating with puppet and facter


Thanks for any input.

Justin McWilliams

unread,
Nov 23, 2015, 5:15:51 PM11/23/15
to Simian Discuss
These log lines seem to indicate the cert specified in /etc/simian/settings.cfg do not exist:
"""
WARNING:root:Certname was not found in facter!
ERROR:root:Failed to harvest Puppet SSL cert facter specified.
"""
So step #1 would be to validate you have certs in the right places, per: https://github.com/google/simian/wiki/SimianAndCertificates



Does the output of the following command make the failure any more clear?
     sudo /usr/local/munki/preflight --debug

(beware pasting it's output here, as it may contain sensitive data)

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Marks

unread,
Nov 26, 2015, 12:08:59 PM11/26/15
to Simian Discuss
@ Justin thanks, the error turned out to be an issue with puppet I have been dealing with.
Reply all
Reply to author
Forward
0 new messages