intel / ccloudvm

Configurable Cloud VM is a small command line tool for automatically creating development and demo environments for complex projects. The tool sets up these development environments inside a virtual machine which it automatically creates on the user’s host computer. This avoids polluting the user’s host machine with components from the chosen development environment and provides a clean, predictable and repeatable environment in which this development environment can run.
Apache License 2.0
32 stars 19 forks source link

Add instructions for adding the user to the kvm group #66

Open markdryan opened 6 years ago

markdryan commented 6 years ago

This doesn't seem to happen automatically.

egernst commented 6 years ago

@markdryan -- I believe you fixed this in the readme, but I am still seeing issues when following along. I'm on xenial, and as a normal user that is part of group kvm, I still see;

$ ccloudvm create go/src/github.com/intel/ccloudvm/workloads/clearcontainers-3.x.yaml Booting VM with 4000 MiB RAM and 2 cpus Error: Failed to launch qemu : exit status 1, Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied

Any suggestions?

And, heads up that in the directions you say that after making the adjustment (group addition) you can then just type ccloudvm connect. If you had this failure, it would've been at @ the create stage first, so you'll likely want to say, 'rerun ccloudvm create foo.'

egernst commented 6 years ago

while a new terminal didn't solve it, a reboot did. never mind!

markdryan commented 6 years ago

@egernst Just out of a matter of interest. Are you running any other hypervisors on your system, e.g., Virtual box?

egernst commented 6 years ago

@markdryan - no, nothing additional