acorn-io / runtime

A simple application deployment framework built on Kubernetes

Home Page:https://docs.acorn.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

" client rate limiter" error seen when deploying nested acorns that require `acorn login`.

sangee2004 opened this issue · comments

acorn version - v0.10.0-1-g07b2490c+07b2490c

Steps to reproduce the problem:

  1. Deploy app from https://github.com/acorn-io/mongodb-external/tree/main/examples.
  2. When user is prompted to enter credentials , creating a new credentials
  3. App deployment succeeds .
  4. Notice that sometimes , there is the following error message presented:
    ERRO[0135] client rate limiter Wait returned an error: context canceled

Note - This does not prevent app from getting deployed successfully. This error message is not see all the time.

mytestexternal
STATUS: ENDPOINTS[] HEALTHY[] UPTODATE[] 
STATUS: ENDPOINTS[] HEALTHY[0] UPTODATE[0] (container: app): waiting for service to be created [db], waiting for service to be ready [db]; (service: db): pending
STATUS: ENDPOINTS[] HEALTHY[0] UPTODATE[0] (container: app): waiting for service to be created [db], waiting for service to be ready [db]; (service: db): acorn [mytestexternal.db] is not ready
STATUS: ENDPOINTS[http://<Pending Ingress>] HEALTHY[0] UPTODATE[0] (container: app): waiting for service to be created [db], waiting for service to be ready [db]; (service: db): acorn [mytestexternal.db] is not ready
STATUS: ENDPOINTS[http://app-mytestexternal-26009b11.local.oss-acorn.io] HEALTHY[0] UPTODATE[0] (container: app): waiting for service to be created [db], waiting for service to be ready [db]; (service: db): acorn [mytestexternal.db] is not ready

  ## Overview                                                                 
                                                                              
  This will create the service from an existing MongoDB so that it can be     
  swapped with the MongoDB container service.                                 
                                                                              
  ## Instructions                                                             
                                                                              
  fill in:                                                                    
                                                                              
  • address: the address of the MongoDB server (mongo.example.com)            
  • port: the port of the MongoDB server (27017)                              
  • username: the username to use to connect to the MongoDB server            
  • password: the password to use to connect to the MongoDB server            
  • adminUsername: the username to use to connect to the MongoDB server as an 
  admin                                                                       
  • adminPassword: the password to use to connect to the MongoDB server as an 
  admin                                                                       
  • proto: the protocol to use to connect to the MongoDB server (mongodb or   
  mongodb+srv)                                                                
  • dbName: the name of the database to use                                   


? address ****************************
? adminPassword ****************
? adminUsername ******
? dbName *******
? password ****************
? port *****
? proto ***********
? username ******
? Choose an existing credential or enter a new one Existing: config-mkgnw (Keys: [address, adminPassword, adminUsername, dbName, password, port, proto, username], Created: [2024-01-20 08:38:07 -0800 PST])
STATUS: ENDPOINTS[http://app-mytestexternal-26009b11.local.oss-acorn.io] HEALTHY[0] UPTODATE[0] "acorn login mytestexternal" required
ERRO[0135] client rate limiter Wait returned an error: context canceled 

┌────────────────────────────────────────────────────────────────────────────────────────────────────┐
| STATUS: ENDPOINTS[http://app-mytestexternal-26009b11.local.oss-acorn.io] HEALTHY[1] UPTODATE[1] OK |