Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Kubernetes deployment yields errors in the UI. #117

Open
twitchax opened this issue Nov 8, 2018 · 9 comments
Open

Kubernetes deployment yields errors in the UI. #117

twitchax opened this issue Nov 8, 2018 · 9 comments
Assignees
Labels

Comments

@twitchax
Copy link

twitchax commented Nov 8, 2018

Deploying to kubernetes yields javascript errors in the UI.

uncaught at t TypeError: Cannot read property 'length' of null
    at o (http://ranchervm.k8s.ajroney.com/0.dashboard.js:10:26555)
    at r.render (http://ranchervm.k8s.ajroney.com/index.js:32:19614)
    at c._renderValidatedComponentWithoutOwnerOrContext (http://ranchervm.k8s.ajroney.com/index.js:32:26093)
    at c._renderValidatedComponent (http://ranchervm.k8s.ajroney.com/index.js:32:26305)
    at c._updateRenderedComponent (http://ranchervm.k8s.ajroney.com/index.js:32:25520)
    at c._performComponentUpdate (http://ranchervm.k8s.ajroney.com/index.js:32:25321)
    at c.updateComponent (http://ranchervm.k8s.ajroney.com/index.js:32:24599)
    at c.receiveComponent (http://ranchervm.k8s.ajroney.com/index.js:32:23710)
    at Object.receiveComponent (http://ranchervm.k8s.ajroney.com/index.js:5:30860)
    at c._updateRenderedComponent (http://ranchervm.k8s.ajroney.com/index.js:32:25564)

Any idea what might be going on?

@Oats87
Copy link

Oats87 commented Nov 8, 2018

There seems to be an issue where if you have no VM's created the initial dashboard will load. After creating a VM the dashboard starts working.

@twitchax
Copy link
Author

twitchax commented Nov 8, 2018

Hmmm, I tried creating a VM via a kubectl apply, but that does not address anything.

@twitchax
Copy link
Author

Hey @LLParse, awesome to see the traction here. Do you have a current roadmap for the milestone you referenced?

If there are still issues, feel free to loop me in, as well, and I might be able to carve out some time to contribute.

@LLParse
Copy link
Contributor

LLParse commented Nov 30, 2018

Hello @twitchax ! We will probably require another few weeks to complete the Longhorn integration.

Seeing as there's interest (and this is a particularly annoying bug), I'll target a bugfix release for early next week and move this out of the milestone. In the meantime, if you want to temporarily adjust your chart, you can use rancher/vm-frontend:80d4c31 image.

@LLParse LLParse removed this from the v0.2.0 milestone Nov 30, 2018
@twitchax
Copy link
Author

Very cool: I will give that a go and offer any feedback. :)

@twitchax
Copy link
Author

twitchax commented Dec 1, 2018

That images fixes the UI. Looks like I am not running into an issue similar to #114.

I will add my logs to that thread.

@LLParse
Copy link
Contributor

LLParse commented Dec 3, 2018

@twitchax Thanks for the feedback.

@aleksey005
Copy link

aleksey005 commented Dec 29, 2018

He mistakenly created a vm (Windows:7 for not exist rancher/windows:7 docker hub) through Yaml, now the machines created earlier disappeared in the panel, but they work. How to fix the problem?
image
image
Maybe there is an opportunity to delete a task through kubectl so that this incorrectly created machine is not deployed?

@aleksey005
Copy link

aleksey005 commented Dec 29, 2018

I answer my own question:
kubectl delete virtualmachines.vm.rancher.io [virtual machine name]
And all good
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants