salopensource / sal-scripts

Apache License 2.0
23 stars 31 forks source link

Troubleshooting informations #65

Closed simone-pignotti closed 4 years ago

simone-pignotti commented 4 years ago

Hi, I have deployed Sal using docker according to https://github.com/salopensource/sal/wiki/Getting-Started (using the latest tags to date) and I have a working munki repo on the same server. Test clients run sal-scripts 2.1.5 and Munki 3.6.4. I am having issues getting the clients to report: the configuration looks good and the server logs too, but the machine group does not get populated. I tried to restart after setting the preferences SoftwareURL and key, and also to manually run /usr/local/sal/bin/sal-submit -d as root, which exits with code 0 producing no output/error at all. Therefore it's very hard to debug what could be going wrong... Is there a better way to troubleshoot the client/server configuration? Thanks a lot in advance! Simone

simone-pignotti commented 4 years ago

I also tried to add the machine's serial manually in the machine group, ending up with this error when clicking it (no log from either container):

Screen Shot 2019-11-22 at 12 38 40 Screen Shot 2019-11-22 at 12 38 59
grahamgilbert commented 4 years ago

You shouldn’t use latest unless you are wanting to use a development version. You should use a tagged version.

Having said that, please pass in the debug environment variable and it will produce a stack trace.

sheagcraig commented 4 years ago

@simone-pignotti any updates for us? Still need this issue open?