-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging doesn't capture filename on OSError #172
Comments
In general, I'd also suggest that you improve the error messages when |
What version of SSM? We added Was there any more log output after that point?
|
Hi, the version was 3.2.0 from UMD. The subsequent lines in the log file were:
I have rebuilt the container yesterday, and now the ssm version is 3.2.1. I didn't try to remove the explicit installation of Thanks, |
Thanks. That's good to hear. I've tweaked this issue to just track the lack of filename in the logging. |
With the changes made in #314, there should now be sufficient logging to track what file is causing the issue. If you do come across this issue again, feel free to open a new one. |
The[Fixed in 3.2.1] This letsopenssl
command is used in/usr/lib/python2.7/site-packages/ssm/crypto.py
, but in a bare CentOS7 container the openssl package is not installed.ssmsend
fail with an undescriptive error:[Investigating this did highlight that
OSError
is a subclass ofEnvironmentError
and that has an additionalfilename
attribute which isn't added to the standardargs
that the generic exception handling is set up to deal with. We could add some generic-ish handling forEnvironmentError
that captures the filename. - AC]The text was updated successfully, but these errors were encountered: