peter_sm Posted August 30, 2014 Share Posted August 30, 2014 Yes that would be ok to fix in the plugin. How about network issue I see? Did that work for you? Quote Link to comment
dmacias Posted August 30, 2014 Share Posted August 30, 2014 No it's a libvirt problem. I have a bridge setup in unraid. It does this with virt-manager also Quote Link to comment
peter_sm Posted August 30, 2014 Share Posted August 30, 2014 Network bridge is defined in unraid , but that is not working in webvirt Quote Link to comment
peter_sm Posted August 30, 2014 Share Posted August 30, 2014 Van you Make a screen dump of these network settings? Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 I will try the new plugin later today , but how do you access and run Virt-manager? Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 I run Virt-Manager from my linux mint laptop. In Virt-Manager I setup a TCP connection to unraid. It uses the default port of 16509. With the plugin's version of libvirt you are then prompted for a username/password. Which you setup with the saslpasswd2 command. I tried to use SSH connection in Virt-Manager and WebVirtMgr but it needs netcat. And in the netcat nc.110... package the switch for udp is -u and Virt-Manager expects --U or -U and errors out. Haven't tried TLS. When home I use Virt-Manager but I see WebVirtMgr as a way to manage when away from home from any browser. Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 Ok , I'm on windows laptop , so no go with Virt manager ? Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 Ok , I'm on windows laptop , so no go with Virt manager ? Yeah that's too bad it's a very nice program. But the plugin should give you what you want except for console from webvirtmgr. Still trying to figure that out. Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 I will give this a try , http://blog.allanglesit.com/2011/03/linux-kvm-managing-kvm-guests-using-virt-manager-on-windows/ If that works I will look at Aqemu as well . http://www.slackware.org.uk/slackbuilds.org/14.1/system/aqemu/ Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 Aqemu looks dead though so I hope you get virt-man working in windows. Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 Since b7 use libvirt 1.2.7 can your plugin work on that version ? Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 Yeah I know. I opened a defect report highlighting the missing network management in unRAID's version of libvirt. I just use upgradepkg in the plugin and it removes 1.2.7 and installs 1.2.6 and restarts libvirt. Its been running fine for me all day even with some heavy testing. I'll keep looking for the newer version. Here's the difference between the two if you wanna check them out http://libvirt.org/news.html Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 Installed the new version, and created user taht you wrote, but I cant login with that? any idea ? I'm compiling all packages for virt-manager as wee speak. //Peter Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 Installed the new version, and created user taht you wrote, but I cant login with that? any idea ? I'm compiling all packages for virt-manager as wee speak. //Peter Did you create a user with this? saslpasswd2 -a libvirt username It should create passwd.db in /etc/libvirt. If you don't have /etc/libvirt symlinked to persistent storage it will be gone on reboot. You could also try /etc/rc.d/rc.libvirt stop /etc/rc.d/rc.libvirt start What system are you compiling them for? Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 I have a symlink , and above command what that I used. I do compile it on a slack VM Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 I have a symlink , and above command what that I used. I do compile it on a slack VM With the new libvirt package in the pluggin, it turns on sasl2 for tcp connections to libvirt. I can't figure out how to turn it off. So you need a username/password to connect to libvirt. Without sasl2 you could use any unRAID username/password. That command creates it and stores it in/etc/libvirt/passwd.db. This will show you the users in that db. sasldblistusers2 -f /etc/libvirt/passwd.db I tried changing settings in /etc/libvirt/libvirtd.conf but couldn't turn it off. I might look at commenting out /etc/sasl2/libvirt.conf Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 sasldblistusers2 -f /etc/libvirt/passwd.db show this peter_sm@Tower: userPassword peter_sm@Tower: cmusaslsecretOTP When login it says Incorrect username or password. Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 This is login for webvirtmgr? You might remove the connection from webvirtmgr and recreate it using tcp and the peter_sm/yourpassword Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 This is login for webvirtmgr? You might remove the connection from webvirtmgr and recreate it using tcp and the peter_sm/yourpassword Sorry I just confused myself. The username/password for webvirtmgr login is created with manage.py createsuperuser and the tcp connection username/password is created with saslpasswd2 which is for any kvm management program to access libvirt via tcp So once you login to webvirtmgr, you create a tcp connection to unraid using the saslpasswd2 username/password. Same goes for virt-manager Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 Thanks I will give that I try :-) Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 Up and running, network shows up and it looks great, now I can play around .... ((Peter Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 Up and running, network shows up and it looks great, now I can play around .... ((Peter Maybe you you have a similar setup and can test. I have 2 network cards, one is disabled now and I still have a bridge in unraid named br0. I might want to enable the disabled nic and use it for mythbuntu only. Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 One thing I see is I cant select my unraid bridge (br0) when creating new VM, but I will try some more ...... And I have only one NIC //Peter Quote Link to comment
dmacias Posted August 31, 2014 Share Posted August 31, 2014 One thing I see is I cant select my unraid bridge (br0) when creating new VM, but I will try some more ...... And I have only one NIC //Peter I confirmed under webvirtmgr when creating a new instance (vm) all I see under networking is default which is the virtual network. However under virt-manager I see all of them docker0, eth0 ( bridge br0) and virtual network plus a bunch of others that aren't available. Quote Link to comment
peter_sm Posted August 31, 2014 Share Posted August 31, 2014 virt-manager under my Ubuntu-VM works great for Unraid KVM! //Peter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.