question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to create KVM machines.

See original GitHub issue

Whenever I try to create a KVM machine I receive the following error:

Creating machine: machine creation finished Machine creation failed: KVM, got exception You have specified /var/lib/libvirt/images/bionic-server-cloudimg-amd64.img as image which does not exist

However the file clearly exists, and should be world-readable.

➜  mist l /var/lib/libvirt/images
total 880M
drwxrwxrwx 2 root     root     4.0K Jan 27 03:26 .
drwxr-xr-x 7 root     root     4.0K Jan 25 01:43 ..
-rwxrwxrwx 1 root     root     325M Jan 19 17:38 bionic-server-cloudimg-amd64.img

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
roddinescommented, Jul 31, 2019

I can also report this show stopper is still around! - OH Wait! I finally figured out I could use the MIST.io Machine [ Shell >] command button to do a test and I still got the SUDOer password request. So a search discovered this document which made it clearer… https://phpraxis.wordpress.com/2016/09/27/enable-sudo-without-password-in-ubuntudebian/ That the mod to /etc/sudoers file {username} ALL=(ALL) NOPASSWD:ALL

Replace {username} with the account username you set up for your CLOUD object key of course.

It is important to add this line at the end of the file so that the other permissions do not override this directive since they are processed in order

Another 2 symptoms which cleared up as soon as I fixed this were:

  1. the server images did not show then did
  2. the monitoring auto-install failed many times then just worked
0reactions
d-mocommented, May 16, 2020

v4.3.0 includes many improvements regarding KVM support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't create KVM virtual machine with same name after initial ...
I first created a KVM machine for an Ubuntu VM, but something didn't go right (I couldn't connect to the VNC session) so...
Read more >
Unable to create KVM virtual machine: Host does not support ...
On a Debian 9 Stretch test machine, creating a KVM virtual machine was impossible and returned an error Host does not support domain...
Read more >
Failed to start kvm when virtualbox is running #4913 - GitHub
Stop all VBox virtual machines before starting KVM. Note: You don't have to delete them, just make sure that they are not running....
Read more >
hyper-v manager no new option - unable to create new/a vm
I am trying to create a virtual machine but I can not do it. In Hyper-v manager I don't have the "new" option....
Read more >
Can't create VM in Virt-Manager due to unavailable storage ...
The in virtmanager, click on Create New Virtual Machine. Choose Local install media (ISO image or CDROM). For "In the Choose ISO or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found