#526 Greenwave si returning 500 for a bogus item
Closed: Fixed 2 years ago by lholecek. Opened 4 years ago by mvadkert.

This is output of our gating bot:

[15:50:36] [E] [greenwave] Got 500 response:
{
    "payload": {
        "decision_context": "context",
        "product_version": "pversion",
        "subject": [
            {
                "item": "nieco",
                "type": "brew-build"
            }
        ],
        "verbose": true
    },
    "post-url": "https://greenwave/api/v1.0/decision"
}

Not a priority :)


Fixed in 94d9f31.

Unsatisfied requirements in Greenwave decision response would contain:

{
    "error": "Unexpected error",
    "scenario": null,
    "sources": [],
    "subject_identifier": "nieco",
    "subject_type": "koji_build",
    "testcase": "failed-fetch-gating-yaml",
    "type": "failed-fetch-gating-yaml"
}

Patch in #632 will improve the error message.

Metadata Update from @lholecek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata