manheim / manheim-c7n-tools

Manheim's Cloud Custodian (c7n) wrapper package, policy generator, runner, and supporting tools.
https://manheim-c7n-tools.readthedocs.io/
Apache License 2.0
45 stars 25 forks source link

1.2.1 Release Mailer Bug #50

Closed jleopold28 closed 4 years ago

jleopold28 commented 4 years ago

The latest 1.2.1 release is causing errors with c7n-mailer.

Some output from our latest errorscan:

08:35:34    RequestID=abc123 logGroupName=/aws/lambda/cloud-custodian-mailer logStreamName=2020/06/26/[$LATEST]abc123
08:35:34        START RequestId: X Version: $LATEST
08:35:34        END RequestId: X
08:35:34        REPORT RequestId: X Duration: 1.32 ms Billed Duration: 100 ms Memory Size: 1024 MB Max Memory Used: 72 MB 
08:35:34        START RequestId: Y Version: $LATEST
08:35:34        END RequestId: Y
08:35:34        REPORT RequestId: Y Duration: 1.80 ms Billed Duration: 100 ms Memory Size: 1024 MB Max Memory Used: 72 MB 
08:35:34        START RequestId: Z Version: $LATEST
08:35:34        END RequestId: Z
08:35:34        REPORT RequestId: Z Duration: 1.36 ms Billed Duration: 100 ms Memory Size: 1024 MB Max Memory Used: 72 MB 
08:35:34    Always-Match Logs (RequestID not in DLQ, but log matches regex that we want to always alarm on)
08:35:34        [ERROR] Runtime.ImportModuleError: Unable to import module 'periodic': No module named 'ellipticcurve'
08:35:34        [ERROR] Runtime.ImportModuleError: Unable to import module 'periodic': No module named 'ellipticcurve'
...

I am still investigation the cause of this issue. In the meantime, please use the old 1.2.0 release.

jantman commented 4 years ago

See upstream bug: https://github.com/cloud-custodian/cloud-custodian/issues/5899

jantman commented 4 years ago

this has been fixed