Last active
August 9, 2016 12:17
-
-
Save mcouthon/dae389b210eee88f346e3bf536636f24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List of errors with known causes | |
# * The file is treated as a YAML list, which means that every items start with a `-`. | |
# * Every item *must* have a `pattern` and `message` keys. | |
# * An item *can* have an optional `group_ids` key. | |
# * `pattern` - a valid regex pattern. To avoid having to escape characters, | |
# use the `>-` directive (literal scalar) on a new, indented, line. | |
# The pattern can have search groups (see `group_ids`). | |
# * `message` - a valid python string. If search groups are used, positional | |
# arguments can be added (in order to be expanded with str.format). The | |
# order is as provided in the optional `group_ids` list. | |
# * `group_ids` - if provided, each string relating to a search group will be | |
# extracted from the regex, and used in the `message`'s format method. | |
- pattern: >- | |
(?<=EC2ResponseError)(.+?)Not authorized for images: \[([^\]]+)\] | |
message: "EC2 Error - No autorization for images. Suspect PC: {0}" | |
group_ids: [2] | |
- pattern: >- | |
'ec2.instance.run_instances' -> EC2ResponseError | |
message: EC2 Error - Some other error | |
- pattern: >- | |
ValueError: invalid literal | |
message: No such file or directory | |
- pattern: >- | |
invalid (URL Error: (gaierror(-2, 'Name or service not known') | |
message: Add DNS values (default are 8.8.8.8 and 8.8.4.4) to OpenStack inputs file | |
# - pattern: >- | |
# .* | |
# message: Catch 'em all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment