#3755 [Hotfix] Increase bodhi client request timeout to 300 seconds
Closed: Fixed None Opened 11 years ago by lmacken.

= bug description =

We are currently unable to push EPEL updates due to a request timeout with recent python-fedora changes.

= fix recommendation =

I added a hotfix to modules-staging/bodhi that increases the BodhiClient timeout to 300 seconds. We will eventually want to push this change upstream.


{{{
--- a/modules-staging/hotfix/files/bodhi/bodhi
+++ b/modules-staging/hotfix/files/bodhi/bodhi
@@ -188,6 +188,7 @@ def main():
setup_logger(opts.verbose)

 bodhi = BodhiClient(opts.bodhi_url, username=opts.username, debug=opts.verbose)
  • bodhi.timeout = 300

    def verify_args(args):
    if not args and len(args) != 1:

}}}

This hotfix was +1'd by Kevin and Toshio on IRC.

I pushed it out to the production bodhi mashers on releng04 and relepel01.

Applied upstream. I'll remove this hotfix after I push out a new bodhi release.

This hotfix has been removed from puppet

Login to comment on this ticket.

Metadata