-
Notifications
You must be signed in to change notification settings - Fork 266
Metal Install - No Tectonic-Console loads #2973
Comments
This is looking suspiciously like the same problem I'm hitting. What does I'm getting the following for the same three crashing pods:
|
This is what I'm getting.. Its like it cant get to the identity server but thats running fine. its like the router is not proxy for the services. [root@matchbox install]# kubectl logs tectonic-console-6d4578d847-ff664 --namespace=tectonic-system |
We are running on OpenStack and also experienced these issues. Is there any communication possible between workers and controllers? The time-out tells me network traffic on 443 is not possible. |
As far as I can tell the Kubernetes cluster itself is working, I can use |
@bodgit bare-metal installations of tectonic are not expected to run ingress on port 32000. Bare-metal installs should have a hostPort [0] based ingress controller listening directly on port 443 [1]. @dmgaraway can you manually curl https://console.lab.com/identity/.well-known/openid-configuration? If not, then the issue is that identity is not running correctly. If you can curl it then the issue is that console cannot reach identity for some reason, and without identity, console will not start correctly. [0] https://github.com/coreos/tectonic-installer/blob/track-1/platforms/metal/tectonic.tf#L95 |
@squat Sure, that's how I would expect it be running, however on my workers there's nothing listening on port 443 but I found it is listening on port 32000. For reference my thread on the google group is here: https://groups.google.com/d/topic/coreos-user/bsmWjYqdOCs/discussion I found that https://console.lab.com:32000/identity/.well-known/openid-configuration worked fine, however the console pods are trying to use port 443 and failing. I've literally just ran the installer with the settings as noted in the above topic so I'm not sure how/why it's broken that way. |
Is there some debugging or commands I can run to help get you more info? Edit: I found I still had this output in a terminal:
which is what led me to try port 32000. So it looks like it's of type NodePort instead of HostPort? |
@bodgit I see. Your situation is a little different from @dmgaraway's. In your case, the tfvars posted in the google groups thread indicate that you deployed Tectonic onto vmware, which we treat as a separate platform from bare-metal. The configuration for the vmware ingress controller was changed very recently [0]. This PR changed the ingress controller to use a nodePort service on 32000, expecting you to have some load balancer proxying traffic from https://:443 to https://:32000. Without that proxy, console and identity will not work at port 443. For reference, AWS uses an ELB to perform this load balancing; bare-metal uses the hostPort strategy as we cannot provision a load balancer for the user. One thing you can try to get your console working is to modify the Alternatively, you can modify cc @lander2k2 [0] #2911 |
@bodgit yes please file as it’s own issue so we can track it. I’ll make sure the right people see it. |
I've raised #3080. |
@bodgit thanks. @dmgaraway please let share your tfvars file. If you are also running on vmware, then we can close this issue in favor of #3080. |
First I want to thank you for taking time to respond (I've been stuck with no help for weeks). I've tried to install on 2 bare metal HP blades as well as virtualbox and vmware. Question, if i have virtual machines on Vmware ESX6.0 and use the tectonic bare metal installer, why would this problem occur? is there something about how the virtual machine interacts with the hypervisior that causes the issue? The current build I have up was installed on Vmware (i was sick of dealing with the slowness of the bare metal instal). I followed the Tectonic installer but I dont have anything running on port 32000. is there a documented way i should be installing on vmware esx6.0? [root@matchbox ~]# kubectl describe svc tectonic-lb --namespace=tectonic-system { |
@dmgaraway Tectonic does have a VMware specific install, which is what @bodgit followed, though your approach should also work, however it is distinct. The bare metal install flow never expects ingress on port 32000. On metal, ingress works by scheduling a daemonset to listen on all worker nodes on port 443. Your tfvars above do not quite match the logs you posted. In the tfvars you specify the ingress domain as node2.lab.com, whereas in the logs I can see the console trying to contact identity at console.lab.com. The logs are from a cluster with a different configuration, no? Assuming the ingress domain is node2.lab.com, the console should request the OIDC configuration at https://node2.lab.com/identity/.well-known/openid-configuration. Please try manually |
@dmgaraway any update? Otherwise I'll close for now until we confirm you are still experiencing this issue. |
I have since tried to get an install going on virtualbox just like the video on the tectonic installer page. everything works when i select "bare metal" but i still run into the same issue stated in this thread. What am i doing wrong or is there another option to select when trying to simulate bare metal on virtual using virtualbox? |
Can you post the result of curling the OIDC configuration from a worker node? This URL should include the ingress domain i.e. it should be the same URL the console would use to access the configuration |
I found something interesting, when i get a list of nodes either one has an external IP. Isn't the ingress controller supposed to have an external IP? NAME STATUS ROLES AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME |
Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT or FEATURE REQUEST
BUG REPORT
Versions
tectonic_1.8.4-tectonic.3
Tectonic version (release or commit hash):
Terraform version (
terraform version
):Platform (aws|azure|openstack|metal|vmware):
What happened?
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
References
Feature Request
Environment
Desired Feature
Other Information
The text was updated successfully, but these errors were encountered: