Project

General

Profile

Bug #30802

Azure VM provision fails with error `requests.exceptions.HTTPError: 502 Server Error: Proxy Error for url`

Added by Eric Helms over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1875426

Description of problem:

Azure VM provision fails with error `requests.exceptions.HTTPError: 502 Server Error: Proxy Error for url`

Version-Release number of selected component (if applicable):

6.8.0 Snap 11

How reproducible:

Always

Steps to Reproduce:
1. Try to provision a VM using Azure CR using CLI/API/UI
2.
3.

Actual results:

requests.exceptions.HTTPError: 502 Server Error: Proxy Error for url`

Expected results:

VM should provision

Additional info:

a. After setting the 'ProxyTimeout 600' all scenarios works well

b. More could refer from here : https://bugzilla.redhat.com/show_bug.cgi?id=1850934

Associated revisions

Revision ff058556 (diff)
Added by Eric Helms over 2 years ago

Fixes #30802: Set proxy timeout to 15 minutes

This sets the Foreman HTTPs reverse proxy timeout to 15 minutes to
give a cushion for some requests (such as provisioning) that can
keep an open request for 10+ minutes. This sets a sane default and
users can then tune it to their own infrastructure needs.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/575 added

#2 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 2.3.0 added

#3 Updated by Eric Helms over 2 years ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Triaged changed from No to Yes
  • Target version set to 2.3.0
  • Category set to foreman-installer script

Also available in: Atom PDF