cumulus icon indicating copy to clipboard operation
cumulus copied to clipboard

Better boto error output by default

Open peterkh opened this issue 11 years ago • 1 comments

To keep the output clean, by default boto logging level is set to CRITICAL. but when you have a template error, cumulus doesn't tell you anything useful about why it failed to create the stack. Should be able to log more information about the error without having to increase boto's level.

Current output by default: CRITICAL:cumulus.MegaStack:Creating stack scpnweb-pkh failed. Error: BotoServerError: 400 Bad Request

Boto logging level error: ERROR:boto:{"Error":{"Code":"ValidationError","Message":"Template error: resource xxxx references undefined symbol: SecurityGroup.","Type":"Sender"},"RequestId":"xxxx"} CRITICAL:cumulus.MegaStack:Creating stack scpnweb-pkh failed. Error: BotoServerError: 400 Bad Request

peterkh avatar May 16 '13 01:05 peterkh

Hi Peterk, I do not work as part of the cumulus team but love their work - I had this issue and found that cumulus still respects the boto config - adding:

[Boto] debug = 2

to my ~/.boto has helped me to debug - HTH!

Thanks, //P

s1l0uk avatar Apr 15 '14 10:04 s1l0uk