<div dir="ltr"><div>ok I forgot  that if you let vdsmd to manage libvirtd than everything is lockdown to readonly you should try this:<br>1) saslpasswd2 -a libvirt username<br></div>2) then <br>     virsh list --all<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 2, 2017 at 11:39 AM, Koen Vanoppen <span dir="ltr">&lt;<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That works...<br><br>[root@mercury1 ~]# virsh -r list<br> Id    Name                           State<br>------------------------------<wbr>----------------------<br> 3     elear01prod                running<br>...<br><br>[root@mercury1 ~]# ps aux | grep libvirt<br>root      6137  1.6  0.0 1283180 23636 ?       Ssl  Feb16 325:14 /usr/sbin/libvirtd --listen<br>root     48600  0.0  0.0 112652  1008 pts/7    S+   11:37   0:00 grep --color=auto libvirt<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 2 March 2017 at 10:00, Arman Khalatyan <span dir="ltr">&lt;<a href="mailto:arm2arm@gmail.com" target="_blank">arm2arm@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">what about:<br>virsh -r list<br>ps aux | grep libvirt<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_2889466808666999259h5">On Thu, Mar 2, 2017 at 7:38 AM, Koen Vanoppen <span dir="ltr">&lt;<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_2889466808666999259h5"><div dir="ltr"><div><div><div><div>I wasn&#39;t finished... :-)<span><br><div><div><div><div>Dear all,<br><br></div>I know I did it before.... But for the moment I can&#39;t connect to virsh...<br>[root@mercury1 ~]# saslpasswd2 -a libvirt koen<br>Password: <br>Again (for verification): <br>[root@mercury1 ~]# virsh<br>Welcome to virsh, the virtualization interactive terminal.<br><br>Type:  &#39;help&#39; for help with commands<br>       &#39;quit&#39; to quit<br><br>virsh # pool-list <br>Please enter your authentication name: koen<br>Please enter your password: <br>error: failed to connect to the hypervisor<br>error: no valid connection<br>error: authentication failed: authentication failed<br><br></div>So,
 i created a new username (I had the same error when I tried to set a 
password for &quot;admin&quot; user), gave the user a password, but still, I can&#39;t
 connect... What am I missing?<br></div>We are running on ovirt 4. Hypervisors are running.<br></div></span>These are the version of qem:<br>[root@mercury1 ~]# rpm -qa | grep -i qemu<br>qemu-kvm-common-ev-2.3.0-31.el<wbr>7.16.1.x86_64<br>qemu-kvm-ev-2.3.0-31.el7.16.1.<wbr>x86_64<br>qemu-img-ev-2.3.0-31.el7.16.1.<wbr>x86_64<br>qemu-kvm-tools-ev-2.3.0-31.el7<wbr>.16.1.x86_64<br>ipxe-roms-qemu-20130517-8.gitc<wbr>4bce43.el7_2.1.noarch<br>libvirt-daemon-driver-qemu-1.2<wbr>.17-13.el7_2.5.x86_64<br>[root@mercury1 ~]# rpm -qa | grep -i libvirt<br>libvirt-daemon-config-nwfilter<wbr>-1.2.17-13.el7_2.5.x86_64<br>libvirt-daemon-driver-storage-<wbr>1.2.17-13.el7_2.5.x86_64<br>libvirt-client-1.2.17-13.el7_2<wbr>.5.x86_64<br>libvirt-daemon-driver-nodedev-<wbr>1.2.17-13.el7_2.5.x86_64<br>libvirt-daemon-driver-nwfilter<wbr>-1.2.17-13.el7_2.5.x86_64<br>libvirt-daemon-kvm-1.2.17-13.e<wbr>l7_2.5.x86_64<br>libvirt-daemon-1.2.17-13.el7_2<wbr>.5.x86_64<br>libvirt-python-1.2.17-2.el7.x8<wbr>6_64<br>libvirt-lock-sanlock-1.2.17-13<wbr>.el7_2.5.x86_64<br>libvirt-daemon-driver-interfac<wbr>e-1.2.17-13.el7_2.5.x86_64<br>libvirt-daemon-driver-qemu-1.2<wbr>.17-13.el7_2.5.x86_64<br>libvirt-daemon-driver-network-<wbr>1.2.17-13.el7_2.5.x86_64<br>libvirt-daemon-driver-secret-1<wbr>.2.17-13.el7_2.5.x86_64<br><br></div>Anybody any idea?<br><br></div>Thanks in advance.<br><br></div>Kind regards,<br><br></div>Koen<br><div><div><div><div><br> </div></div></div></div></div><div class="m_2889466808666999259m_7050694920420990762HOEnZb"><div class="m_2889466808666999259m_7050694920420990762h5"><div class="gmail_extra"><br><div class="gmail_quote">On 2 March 2017 at 07:37, Koen Vanoppen <span dir="ltr">&lt;<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear all,<br><br></div>I know I did it before.... But for the moment I can&#39;t connect to virsh...<br>[root@mercury1 ~]# saslpasswd2 -a libvirt koen<br>Password: <br>Again (for verification): <br>[root@mercury1 ~]# virsh<br>Welcome to virsh, the virtualization interactive terminal.<br><br>Type:  &#39;help&#39; for help with commands<br>       &#39;quit&#39; to quit<br><br>virsh # pool-list <br>Please enter your authentication name: koen<br>Please enter your password: <br>error: failed to connect to the hypervisor<br>error: no valid connection<br>error: authentication failed: authentication failed<br><br></div>So, i created a new username (I had the same error when I tried to set a password for &quot;admin&quot; user), gave the user a password, but still, I can&#39;t connect... What am I missing?<br></div>We are running on ovirt 4. Hypervisors are running.<br></div>These are the version of qemu <br></div>
</blockquote></div><br></div>
</div></div><br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>