-
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
Move kvm2 driver upstream (was: machine-drivers/docker-machine-driver-libvirt) #3169
Comments
ok, let me reference the issue on "the other side" here: machine-drivers/docker-machine-kvm#3 |
Currently that URL contains the KVM driver, not the KVM2 driver: https://github.com/dhiltgen/docker-machine-kvm/releases/tag/v0.10.0 == And the prebuilt binaries are only available at the previous location... Once the two drivers have been merged, it's probably a good idea. But at the moment, the driver location is still kubernetes/minikube |
@afbjorklund, this is why I referenced the issue from the machine-drivers repo. The KVM2 driver changes need to get merged there first. @tstromberg and I had a quick discussion about this before, I guess we should have been more explicit in the ticket here. Sorry for the confusion. I'm planning on working on a PR to the machine-drivers repo next week. |
The renaming was also slightly premature, just didn't want it to be named "kvm2" and thought the name of "docker-machine-kvm" was confusing and it didn't really talk to kvm (like our qemu did) but used libvirt... |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@mheese - any interest in taking this on? |
@tstromberg yes, you can assign me |
Good to hear. You also need something on the end of machine-drivers?
…On Thu, Jan 24, 2019, 21:13 Marcus Heese ***@***.*** wrote:
@tstromberg <https://github.com/tstromberg> yes, you can assign me
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAHZnJMHej9Vzz9RsosySzxiO7_h2QEks5vGhPegaJpZM4W7SCx>
.
|
Probably least confusing would be to rename the current KVM repo back to "kvm" again (since that is the name of the driver binary), and then use the "libvirt" name for a new designation for the KVM2 driver ? |
@afbjorklund Yeah, I like that idea ... However, I would maybe even like to go a step further and remove the kvm driver completely. They are both doing the same thing and they are both using libvirt, it's just that kvm2 covers a bit more - and at the end of the day, it's based on the kvm driver anyway. The current state is confusing people (even me) too much. With regards to naming in general: I'd like to use the name libvirt instead of kvm because it is a more accurate description of what it uses. At KubeCon in December in Seattle, I learned from a minikube user that this driver did not work for him because he needed to install libvirt - which apparently was not obvious to him. He was though however using kvm, but not together with libvirt. I've personally never see anybody do this, but obviously it seems to happen. If we keep the @gbraad there might be something that is needed from machine-drivers that has to do with passing on configuration (or something like that) while initializing the driver. There is currently a reference to other minikube code, however, if I remember correctly from the top of my head that part can be removed (it's been a couple of months since I looked at this the last time). I'll let you know when I run into an impasse, and will just go through the official github issue way and will reference your github user account. |
@mheese : I also prefer the name "libvirt", which was why we renamed the repository when it was forked... But since the code never changed and nothing ever merged, right now it is not really adding anything ? We couldn't use libvirt because it requires root ( So when support for localkube was dropped, it was also time to drop support for qemu-kvm ( |
One of the things Minishift and Minikube discussed was to enhance the
drivers to handle the prerequisites of the actual driver. At the moment we
handled this in project, but you can imagine that you can do the same: to
add the user to the needed group, prepare and start network, the daemon,
etc. and then most of the 'burden' or 'PITA' can be taken away.
|
Is this something we still want to do? If so, I can definitely start looking into it. Checking what are the differences, and work on migrating it to machine-drivers/docker-machine-driver-libvirt |
@josedonizetti https://github.com/dhiltgen/docker-machine-kvm Latest commit f328c4b on 17 Apr 2017 So I guess an alternative phrasing of this issue would be "Move KVM driver upstream", similar to #3939 for hyperkit. As in: removing minikube-specific issues from the driver, and have it replace kvm(1) driver ? This probably also means that the driver binary should work for both minikube (libmachine) and |
I renamed https://github.com/machine-drivers/docker-machine-driver-libvirt, since it was misleading. We could still move the "kvm2" driver to machine-drivers organization, if it works with docker-machine ? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Evidently it has some fixes we might be interested in.
We'll need to ensure that our local improvements to dhiltgen/docker-machine-kvm are also represented in machine-drivers/docker-machine-driver-libvirt
The text was updated successfully, but these errors were encountered: