cumulus
cumulus copied to clipboard
Better boto error output by default
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
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