Skip to content

Use ERF error codes for troubleshooting #3578

Open
@ekohl

Description

We used to maintain https://projects.theforeman.org/projects/foreman/wiki/ErrorCodes to make troubleshooting easier. Foreman automatically generates these based on the class and message (see https://github.com/theforeman/foreman/blob/b4bd8e2f248e6bba92b53c1a9264edb8164c84cd/lib/foreman/exception.rb#L8-L14) and there's a command to extract them.

While today it's not well maintained, it can be a solid base for user troubleshooting. Perhaps developers need to improve their code a bit more to make it usable.

Historically it was a wiki so users could also add solutions. These days the wiki isn't used that much anymore so I'm considering replacements.

Upstream we have Discourse and can also consider that. Can also be interesting to work with downstream customer support to see which errors come in.

Originally posted by @ekohl in #3549 (review)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions