Closed jhartzell closed 5 years ago
Also noticed some rancher container logs when sitting on the cluster page.
I'm closing this, after hour 7 and doing even further testing I've found that the issue was not rancher itself, it was a borked firewall rule.. I've confirmed this by hosting up an entirely new GCP account and retrying my steps above. It worked without fail, now to go find that rule :)
What kind of request is this (question/bug/enhancement/feature request): Bug (I think?), on a number of versions I've tried. 2.2.4, 2.2.5, 2.2.6 and the latest as of writing (2.2.7)
Steps to reproduce (least amount of steps as possible):
nginxdemos/hello
Result: Upon creating the cluster, the websockets connection is flawless, you get provisioning status updates back as expected, however, as soon as the cluster is created and you attempt to scale a newly created workload, you will not see any live updates. This also applies to details of a workload (by clicking on the workload name and viewing the list of deployed pods, if you attempt to delete an instance from the pod list, it will not update until you refresh.
Maybe this screenshot will illustrate better what I'm attempting to articulate. Notice the current state of websockets in DevTools. The ironic part of this is the next screenshot.
sockId=1 & sockId=2 are the only two connections receiving any messages. The rest of the socket connections are just empty
Other details that may be helpful: I have tried this with various different configurations, SSL, no SSL, Let's Encrypt, domain, no domain, same results either way. The issue to me just seems like a Websocket bug with the UI. I say this because sockId=1 and sockId=2 are receiving proper data, I can't recall which exactly is getting the cluster level data but one of them is, its just not bound properly to the UI.
Also, maybe worth noting, socket connections will infinitely be created, I've seen up to 30 active until the timed refresh hits.
OS Details
NAME="Ubuntu" VERSION="18.04.2 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.2 LTS" VERSION_ID="18.04"
Kernel Details
4.15.0-1040-gcp
Docker Version
Client: Version: 18.09.3 API version: 1.39 Go version: go1.10.8 Git commit: 774a1f4 Built: Thu Feb 28 06:53:11 2019 OS/Arch: linux/amd64 Experimental: false
Docker Info Command
https://gist.github.com/jhartzell/e12fdd05eb4298ab8bfea8359094ad23
Further Details
Standalone, Single node - rancher/rancher image
kubectl client - v1.13.7 kubectl server - v1.13.7-gke.19
Can provide further details but I figure this is long enough for now.