KVM on Fedora 26 Server edition
- 
 - I installed a Fedora 26 installation, choosing only "Headless virtualization" as the install option.
- I installed a Fedora Workstation VM on my PC so I can create VMs, and see the VM Console via a simple GUI (virt-manager).
- Virt-Manager looks straight forward, just like any other Hyper-visor management GUI.
 However, I'm running into issues with getting connected. I'm getting the feeling that i missed a step, but can't find a good guide to check against. When making a new connection in Virt-Manager, I specify QEMU/KVM as the Hypervisor, SSH as the method, username root, and then the hostname (IP). When I connect, I immediately get the error: Virtual machine manager connection failure" Unable to connect to libvirt You need to install openssh-askpass or similar to connect to this host."This message seems pretty specific, like I missed something during the setup process. Can anyone outline the procedure to fix this? 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: openssh-askpass try : sudo yum install openssh-askpass 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: openssh-askpass Try this dnf install -y openssh-askpass
- 
 OK, we're getting there. I can now connect, however, virt-manager is asking me for my password about 10 times. After entering it over and over, I am now in and am able to do some tasks. Let's see how it goes. 
- 
 Oh yeah, that is super annoying. Anytime i want to do anything, I am prompted for a password about 8 times. 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: Oh yeah, that is super annoying. Anytime i want to do anything, I am prompted for a password about 8 times. You can set up key based authentication and that problem goes away... ssh-copy-id user@kvmserverwill stop it from asking for your password every time. You just have to put your user into the livbirt group on the KVM server. 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: Oh yeah, that is super annoying. Anytime i want to do anything, I am prompted for a password about 8 times. You also need to make sure your user is in the libvirt group on the KVM server side. 
- 
 Awesome. I'm out at the moment but will do this and report back. Thanks! 
- 
 @dafyre said in KVM on Fedora 26 Server edition: @fuznutz04 said in KVM on Fedora 26 Server edition: Oh yeah, that is super annoying. Anytime i want to do anything, I am prompted for a password about 8 times. You can set up key based authentication and that problem goes away... ssh-copy-id user@kvmserverwill stop it from asking for your password every time. You just have to put your user into the livbirt group on the KVM server. I cannot upvote this enough. 
- 
 I'll be doing this shortly (as a test against Hyper-V) so I'll be following this thread. 
- 
 OMG, that is so much better. Thank you. Now your comment from earlier this week @EddieJennings makes perfect sense.  
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: OMG, that is so much better. Thank you. Now your comment from earlier this week @EddieJennings makes perfect sense.  In case you don't have a key generated yet... https://mangolassi.it/topic/9862/generating-an-ssh-key-in-linux 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: OMG, that is so much better. Thank you. Now your comment from earlier this week @EddieJennings makes perfect sense.   
- 
 This is bizarre. I just set up a Plex VM on KVM. If I pump a lot of traffic to the VM (like copying movies to it), the VM will go into a paused state. 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: This is bizarre. I just set up a Plex VM on KVM. If I pump a lot of traffic to the VM (like copying movies to it), the VM will go into a paused state. Check the SAR report to see what the wait states are like. 
- 
 @scottalanmiller said in KVM on Fedora 26 Server edition: @fuznutz04 said in KVM on Fedora 26 Server edition: This is bizarre. I just set up a Plex VM on KVM. If I pump a lot of traffic to the VM (like copying movies to it), the VM will go into a paused state. Check the SAR report to see what the wait states are like. Sigh... no need. I know why. I am out of space on the host drive. Stupid mistake. How would you suggest the partition layout for the HyperVisor? I have 4.5 TB of space once the array is setup. Obviously, I'll be using LVM here. 
- 
 One small volume for the hypervisor, maybe 12GB. Everything else in one big volume. 
- 
 @scottalanmiller said in KVM on Fedora 26 Server edition: One small volume for the hypervisor, maybe 12GB. Everything else in one big volume. Yeah, so not the "Automatic partition" defaults on the standard installation.... 
- 
 @fuznutz04 said in KVM on Fedora 26 Server edition: @scottalanmiller said in KVM on Fedora 26 Server edition: One small volume for the hypervisor, maybe 12GB. Everything else in one big volume. Yeah, so not the "Automatic partition" defaults on the standard installation.... Not normally, no. 
- 
 @scottalanmiller Like so?  






