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

VM Pod creation fails (Target interface does not exist) #102

Open
urabenst opened this issue Jun 5, 2018 · 8 comments
Open

VM Pod creation fails (Target interface does not exist) #102

urabenst opened this issue Jun 5, 2018 · 8 comments

Comments

@urabenst
Copy link

urabenst commented Jun 5, 2018

Hi all,

I am using RancherVM but I can't start any VMs, since there is always an error during the creation of the pod. This is the output of kubectl logs for one of my VM pods: logs.txt
At the very end it reports that Target interface ens33 does not exist. How can I fix that?

I am running k8s version 1.10.3 on Ubuntu 16.04 btw.

Thanks for having a look!
Ulrich

@trenton42
Copy link

I just ran into this as well. It looks like RacherVM assumes there will be a interface at ens33, but most likely your system (like mine) uses newer predictable network interface names. I think there should be some changes made in RacherVM to allow configuration of interface names per node as it may be possible that they are not the same across the cluster.

@theagent
Copy link

Same issue on my installation. Running Ubuntu 16.04 on the nodes and my interfaces are definitely not ens33. Actually a mixed bag of tricks in my cluster. Have a few with the old eth0 nomenclature and others with enp1s0 on others.

@ApolloMission
Copy link

ApolloMission commented Jun 10, 2018

Same issue too.
Tried renaming the interface within the deploy yaml from ens33 to ens4 (the default on my google compute instance) - results in the network for that node going down.

Funny story, after a little while it then tries to deploy to another node, taking that one down too.

@trenton42
Copy link

I was able to get RancherVM working by hackily detecting the Ethernet device available each time the image is launched. The image I used is on docker hub under trenton/vm. You can test RancherVM by changing the image in your ranchervm-controller deployment (in the ranchervm-system namespace). But please don't use that image for anything important, as I won't be maintaining it.

@traam
Copy link

traam commented Dec 19, 2018

@trenton42 I still have the same issue even after using your image for the vm-controller trenton/vm. My k8s cluster is running in aws and complains that "ens33 interface does not exist."

Any ideas?

@trenton42
Copy link

@traam Sorry, I haven't looked at this in a while. We didn't end up using this project.

@traam
Copy link

traam commented Dec 21, 2018

Thanks @trenton42 . What do you end up for running legacy VMs in a container envt? Curious to know as I am doing a PoC.

@trenton42
Copy link

We pivoted away from running the VMs in a container environment for now, so nothing at the moment 😞

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

No branches or pull requests

5 participants