-
Notifications
You must be signed in to change notification settings - Fork 133
Creating vm results in pending state and error in controller #114
Comments
I see exactly the same. How can we help debugging this? |
Hi @NicolaiSchmid @makomatic, the observed warning is probably a red herring, unless it's happening continuously. Something's definitely not right, though. Could you please try fetching the VM pod via |
I am having the same issue. Here are my vm pod logs.
Looks like a bridge or networking issue? The host OS is Rancher OS, so I am not sure if that changes the equation. |
@twitchax We've never tried using RancherOS as the host OS, typically we've used Ubuntu LTS. I'm not sure if bridge networking is even possible in RancherOS. Here's a doc on setting up the networking: https://github.com/rancher/vm/blob/master/docs/networking.md The error you see indicates a networking issue. The interface name to be bridged must be named appropriately in the deployment manifest: https://github.com/rancher/vm/blob/master/deploy/ranchervm.yaml#L143. Configuring networking is a manual process for the moment. |
@LLParse, interesting. I set up the bridge, but it is still complaining about ens33 for some reason. Also, do you guys have some docs on developing the frontend? I'd like to make a PR that is more descriptive when the create fails with |
Ahhh, it turns out that the When you guys make this a helm chart, you may want to make that an option. |
@twitchax Thanks for the feedback! RancherVM v0.2.0 is released. There's a Rancher chart available https://github.com/LLParse/charts-rancher/tree/ranchervm-charts/proposed/ranchervm/latest Although I haven't tried, the chart should work with Helm with one exception: the frontend service type will need to change to |
@LLParse, awesome: thanks for the update! |
Hey,
I've just setup a brand new installation of Kubernetes and RancherVM. I deployed the latest version a36f4ce and created a ubuntu-server vm through the web interface.
Since the creation it is stuck in a pending state.
As does the Kubernetes description of the vm say:
The controller did log an error message that the vm could not be updated:
I've not made any changes to the vm since clicking the create button in the webinterface, and my machine should have sufficient resources for creating a vm. Right now I'm kind of clueless what could cause this error and how to repair the system.
Any ideas? Or even a possible fix on my end?
Thanks,
Nicolai
The text was updated successfully, but these errors were encountered: