Bug 1472532 - [starter][starter-us-east-1] numerous 429 errors from API server
Summary: [starter][starter-us-east-1] numerous 429 errors from API server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Master
Version: 3.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: Chuan Yu
URL:
Whiteboard:
: 1479582 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-19 01:43 UTC by Steve Speicher
Modified: 2020-12-14 09:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-09 18:51:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steve Speicher 2017-07-19 01:43:43 UTC
Web console is not usable due to numerous 429 response codes from the api server on starter-us-east-1. Simply trying to load the web console.

GET /apis/policy/v1beta1 HTTP/1.1
Host: api.starter-us-east-1.openshift.com
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: */*
Origin: https://console.starter-us-east-1.openshift.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
DNT: 1
Referer: https://console.starter-us-east-1.openshift.com/console/error?error_description=Unable%20to%20load%20details%20about%20the%20server.%20If%20the%20problem%20continues,%20please%20contact%20your%20system%20administrator.&error=API_DISCOVERY
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8

HTTP/1.1 429 Too Many Requests
Content-Type: text/plain; charset=utf-8
Retry-After: 1
X-Content-Type-Options: nosniff
Date: Wed, 19 Jul 2017 01:39:42 GMT
Content-Length: 43

OpenShift Master:
v3.6.126.1 (online version 3.5.0.20)
Kubernetes Master:
v1.6.1+5115d708d7

See dakini or eparis for cluster logs

Comment 1 Jordan Liggitt 2017-08-01 15:16:54 UTC
resolved with multiple changes:

- increased max connections (config change)
- upgraded nodes to 3.6.170 to send fewer event requests
- resolved issue with long-hanging requests from nodes (https://github.com/openshift/origin/pull/15515)

Comment 2 Chuan Yu 2017-08-02 02:03:08 UTC
Verified with v3.6.170 (online version 3.5.0.20), no such issue found.

Comment 4 Jordan Liggitt 2017-08-11 14:18:38 UTC
the max connections are set in the master config:

servingInfo:
  maxRequestsInFlight: ...
  ...


That was increased to 1200 by default

Comment 5 Matt Woodson 2017-08-11 14:27:32 UTC
We updated these changes in 3 places.  We went to 9000.

assetConfig:
  servingInfo:
    maxRequestsInFlight: 9000
...


servingInfo:
  maxRequestsInFlight: 9000

....


kubernetesMasterConfig:
  apiServerArguments:
    max-requests-inflight:
    - '9000'

Comment 6 myoder 2017-08-30 13:11:16 UTC
*** Bug 1479582 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.