Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra login and infra list report errors while Infra Engine load balancer DNS resolves #371

Closed
jmorganca opened this issue Sep 30, 2021 · 2 comments · Fixed by #498
Closed
Assignees
Labels
area/destinations/kubernetes kind/bug A report or a fix for a problem with functional correctness.

Comments

@jmorganca
Copy link
Contributor

Since it may take a few minutes for the Infra Engine's load balancer to provision and resolve, it may be in a state where it does not resolve for a few minutes:

jmorgan@mba infra % infra list
❌

     NAME                      TYPE  STATUS                                                                                  
  *  infra:testing-118-public  k8s   💻 → 🌎 → ❌ Can't reach endpoint                                                       
                                      "ac94f6d7ca92344b8a82985c865bdffa-615121052.us-east-2.elb.amazonaws.com:8443"           
                                      (Get                                                                                    
                                      "https://ac94f6d7ca92344b8a82985c865bdffa-615121052.us-east-2.elb.amazonaws.com:8443":  
                                      dial tcp: lookup                                                                        
                                      ac94f6d7ca92344b8a82985c865bdffa-615121052.us-east-2.elb.amazonaws.com:                 
                                      no such host)     

We should add a health check on the Infra Engine side to examine it's own load balancer prior to registering itself it to the Infra Registry

@jmorganca jmorganca added the kind/bug A report or a fix for a problem with functional correctness. label Sep 30, 2021
@mxyng
Copy link
Collaborator

mxyng commented Sep 30, 2021

The port 8443 is odd here. Is that the port exposed by the LB?

@jmorganca
Copy link
Contributor Author

Oops, that was just me testing a custom Infra Engine port, but this would happen regardless of the port

@BruceMacD BruceMacD self-assigned this Oct 18, 2021
BruceMacD added a commit that referenced this issue Oct 22, 2021
* Check DNS resolution in engine before creating destination
* Update docker-desktop.yaml.in to log at the debug level
* update docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/destinations/kubernetes kind/bug A report or a fix for a problem with functional correctness.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants