#8457 Fix Bodhi timeouts (web and API)
Closed: Fixed 4 years ago by pingou. Opened 4 years ago by robert.

Describe what you would like us to do:

Fixing Bodhi so that it allows to create new updates again, because:
* https://bodhi.fedoraproject.org/updates/new doesn't allow to add any Koji builds (since the weekend, just runs into timeout after adding the build: "Error encountered getting candidate builds from koji")
* https://bodhi.fedoraproject.org/updates/ doesn't work when using bodhi command line ("504 Gateway Time-out") since a couple of minutes


When do you need this to be done by? (YYYY/MM/DD)


ASAP? ;-)


Despite the time out when it tries to load the builds from koji, you can just fill in the NVR in the builds field as we have always done it, so this shouldn't be a blocker to create new updates.

Note: this was already reported as https://pagure.io/fedora-infrastructure/issue/8451 which was closed in favor of an upstream ticket: https://github.com/fedora-infra/bodhi/issues/3841

So I'm going to close this ticket as well. There is nothing infra can do itself on this, it's an upstream issue and it shouldn't be a blocker from creating new updates.

Thanks for your report though, it is always appreciated.

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

4 years ago

I'm sorry, but creating new updates still doesn't work: Normally filling https://bodhi.fedoraproject.org/updates/new, clicking to submit makes the wheel spinning for some time, then it stops, nothing happens and no update. Ctrl+Shift+I in browser says for this HTTP POST:

<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>

Metadata Update from @robert:
- Issue status updated to: Open (was: Closed)

4 years ago

And you can just fill in the NVR of the build you want to submit, it works fine for me here.

I've just checked using libgit2-0.28.4-1.fc32 found in koji's front page.
While the wheel is spinning, I just type (ctrl+v) the nvr in the field, press enter, et voilĂ  :)

The NVR is not the issue (anymore), after pressing "Submit" in lower right corner (HTTP POST to submit the entire form) just runs into the HTTP error above. I also can reproduce this using the CLI:

ServerError: ServerError(https://bodhi.fedoraproject.org/updates/, 504, Error returned from json module while processing https://bodhi.fedoraproject.org/updates/: No JSON object could be decoded
<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
)

Ok, sorry.
We're investigating something being odd on the infra side, could be related although we're not sure about it yet.

Could you see if this is still happening for you? We believe we tracked down the issue on our side.

Now it works as expected (except for the Koji lookup indeed), update successfully created.

Thanks!
I'm going to close this ticket as fixed as the second issue is and the first one is being followed up on upstream.

Sorry for the inconvenience!

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

4 years ago

Thank you for taking care! :)

Login to comment on this ticket.

Metadata