-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional symbol requirements of docker-machine-driver-kvm2 included in v0.31.0 cause regression from v0.30.0 when running on Ubuntu 16.04 #3437
Comments
I have the same problem exactly on Linux Mint 18.2 (which is Ubuntu 16.04 based). The libvirt.so.0 symbol errors are displayed when starting minikube with the verbose level at 10 (-v 10 option ) Downgrading to docker-machine-driver-kvm2 from minikube 0.30.0 works fine. |
Hi @brianonn , I have the same problem, can you explain :
You downgrade docker-machine-driver-kvm2 or minikube ? |
@pc-tradelab I downgraded the docker-machine-driver-kvm2 to v0.30.0
|
macox |
@ANZHONGGEN I think that is a different problem, looks more like #3447. This issue is specifically about missing symbols in |
Thank you, that worked for me! |
Downgrade to kvm2 driver to v0.30.0 works for me, thank you @brianonn . |
Based on @brianonn comments this fixed the issue
|
It seems like we're getting to a situation where a single docker-machine-driver-kvm2 binary is not appropriate across distros, especially as libvirt has been moving quickly. This is somewhat tangentially related to #1623 Help wanted! |
@tstromberg Are you sure that the old binary does not work on new distros? It may be that a single I am having trouble deciphering the release process (it looks like a mixture of Jenkins, shell scripts, |
@alex-xnor @tstromberg FYI, the most recent 0.33.1 minikube also ships with a broken @mheese Marcus, is this also something you are going to be fixing with the rename to |
@brianonn no, this issue is unrelated, and probably more related to our build system for the driver (how we compile it) than anything else. Afaik, there have been no changes to the kvm2 driver between the releases, so it is perfectly safe to use the kvm2 driver from the 0.30 release. This raises another point actually. We don't necessarily need to rebuild the kvm2 driver every time. And is another good reason why we should move the driver to |
Unfortunately any libvirt driver is bound to pick up requirements from the libvirt version used... This is why the https://github.com/dhiltgen/docker-machine-kvm/releases Hopefully there is a way to link it towards an older ABI ? |
I believe the Makefile now uses an older Ubuntu version - so can this be closed? |
Should be fixed (with next release), we are now using old libvirt 1.3.1 again
|
@afbjorklund Is this in v1.0.0? Your comment was on March 24 and v1.0.0 was released March 27, so I would assume it is, but maybe it missed the merge window or something, since v1.0.0 still seems to be using a version of libvirt that is too new:
|
Unfortunately there were race conditions in make, that cause this to not be fixed in 1.0.0. See #4555 |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug
Please provide the following details:
Environment: Ubuntu 16.04.5 LTS with libvirtd
Minikube version (use
minikube version
): v0.31.0cat ~/.minikube/machines/minikube/config.json | grep DriverName
): kvm2cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): minikube-v0.31.0.isocurl
from GitHub releases into~/bin
andchmod +x
;libvirt-bin
from APTWhat happened: After updating
minikube
anddocker-machine-driver-kvm2
from v0.30.0 to v0.31.0:When I looked at other issues, people had this problem due to
libvirt-bin
not being installed, or not being in thelibvirtd
group. It is installed though, and I am in the group. I also saw suggestions to try runningdocker-machine-driver-kvm2
directly, which appears to point to the root of the problem:When downgrading to the old binary instead, I get this:
Hence, I think the new
docker-machine-driver-kvm2
binary introduces a regression with Ubuntu 16.04 by depending on new symbols that are not present on Ubuntu 16.04. When I use the newminikube
binary with the olddocker-machine-driver-kvm2
binary, everything works fine.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
libvirt-bin
.libvirtd
group.PATH
andchmod +x
theminikube
anddocker-machine-driver-kvm2
binaries from the v0.31.0 release on GitHub.minikube start --vm-driver kvm2
Output of
minikube logs
(if applicable):Anything else do we need to know: No
The text was updated successfully, but these errors were encountered: