-
Notifications
You must be signed in to change notification settings - Fork 650
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
multipass runtime dependencies & nested virtualization with VMWare crash #1085
Comments
Hi @makspiechota, When you say:
Do you mean you're running the Multipass Snap or is there some PPA somewhere that we don't know about? Regarding running a "from build" version of Multipass, I have better luck running
That said, the issue is that And the I hope this helps! |
Thanks for your reply! I've started with libvirt for now and uncommented mentioned line. multipass daemon started without complaining, but when I do
|
Hi @makspiechota, Doing a search of |
Also, I'm curious as to why you are not running Multipass natively on your MacOS machine 😁 |
I would like to build multipass and contribute, but I can't manage to build it on OSX? |
If VMWare cant support it properly why multipass downloaded (yes, you're right - its Multipass Snap) works well? |
Oh, I see, that's totally cool! Regarding why the snap works vs. When you build and run multipass, are you disabling the snap? If not, the |
Hm, running snap multipass with local.driver=qemu seems to work. I've disabled snap now and tried to run built multipass (as root as you suggested):
I think I should start with fresh environment and then disable snap. Playing with libvirt, because of non disabled snap, could mess something. |
Ok, sounds like a plan. Let me know if you are successful or if you still have issues. Thanks for your patience! |
Thank you, for your help. EDIT: Seems from the code that image path (that I assume was just created) passed to qemu does not exists? |
Hi @makspiechota, Sounds like you're making progress 😁 So the problem here is that you're missing the At any rate, you need to install |
I have installed it and now I'm getting: |
Ugh, another missing runtime dependency. Try |
It would be useful to have dependencies documented. Maybe this my fresh environment is a good case study for it 😁 However installing it lead me to this point again:
So again we have the question why snap version works and built one not? |
Yes, we're going to have to at least document it in a HACKING.md or something. Regarding the error, I'm afraid I'm at my limit on how to help. I don't have a VMWare Fusion 8 on OSX environment to help debug this and it is really unclear to me why the snap works, but the built version doesn't. I really wish I could help more and I'm sorry I can't. |
I understand. Is it possible then to build multipass on other platform? I've failed on OSX and Ubuntu 16.04 and for now these are the only native options for me. |
Good news! After quick research (I became inspired with your second post, now, little bit too late, I could have do it faster) I've found that enabling counters in VMWare helps. And indeed it works now! |
You had issues building on a Ubuntu 16.04 machine? What were the issues? Also, I assume this is 16.04 installed directly on the machine itself and not in a hypervisor, correct? If it is a 16.04 bare metal machine, then I think there are few options we can do to get you going. If you need a 18.04 VM so Multipass will build and run, you could use Another option would be just do your work on your 16.04 and then build the snap via snapcraft and test it out that way. Lastly, if you're comfortable using IRC, we have a #multipass channel on freenode where you can drop in and chat with us. I'm in the eastern US and a couple of other Multipass folks are in Europe and we could help you in a more "realtime" way 😁 |
Oh, I just saw your post after I posted my last response. That's great \o/ The invitation stands to join us on IRC if you'd like to chat. |
I'm going to close this issue now, but we'll use #612 to track that we need to be better about the runtime dependencies. |
|
Oh, right the Qt version, yeah, that will cause problems. We should probably see if there is some way to have CMake gate on the Qt version. |
Alright! However many thanks for your help! I think I could start with some first easy issue :) |
Sorry about that. I'm not sure when you asked, but we were all in Paris last week at an engineering sprint, so our communication would definitely be lacking then. But don't hesitate to come back again and try 😀 |
And good luck on your contribution(s)! Just let us know in the issue that you are going to work on it so we don't accidentally duplicate any work. |
Thanks a lot, I spent a long time trying to debug this and missed this comment the first time I looked in this thread - all working now! |
Environment: VM Ubuntu 18.04 LTS virtualized by VMWare Fusion 8 on OSX with option "Enable hypervisor applications in this virtual machine"
multipass --version
multipass launch
multipass list
./multipass --version
sudo ./multipassd &
sudo ./multipass launch
Following #990
sudo ./multipass set local.driver=libvirt
sudo ./multipassd &
The text was updated successfully, but these errors were encountered: