<div dir="ltr"><div>AFAIR lago expects libvirt to run with no sasl (I guess this machine was vdsm before that?) <br><br></div><div>I think if you just comment out every thing in /etc/libvirt/libvirtd.conf and restart libvirtd service it should work for you.<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 16, 2017 at 5:18 AM Marc Young <<a href="mailto:3vilpenguin@gmail.com">3vilpenguin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry it took a while to get back. <div><br></div><div>libvirtd is running, but with a line that may be related, might not</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>[myoung@server ovirt-system-tests]$ sudo service libvirtd status</div><div>Redirecting to /bin/systemctl status libvirtd.service</div><div>● libvirtd.service - Virtualization daemon</div><div> Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)</div><div> Active: active (running) since Sat 2017-07-15 21:14:05 CDT; 2min 24s ago</div><div> Docs: man:libvirtd(8)</div><div> <a href="http://libvirt.org" target="_blank">http://libvirt.org</a></div><div> Main PID: 3139 (libvirtd)</div><div> CGroup: /system.slice/libvirtd.service</div><div> ├─2757 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper</div><div> ├─2758 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper</div><div> └─3139 /usr/sbin/libvirtd --listen</div><div><br></div><div>Jul 15 21:14:04 server.blindrage.local systemd[1]: Starting Virtualization daemon...</div><div>Jul 15 21:14:05 server.blindrage.local systemd[1]: Started Virtualization daemon.</div><div>Jul 15 21:14:05 server.blindrage.local dnsmasq[2757]: read /etc/hosts - 4 addresses</div><div>Jul 15 21:14:05 server.blindrage.local dnsmasq[2757]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses</div><div>Jul 15 21:14:05 server.blindrage.local dnsmasq-dhcp[2757]: read /var/lib/libvirt/dnsmasq/default.hostsfile</div><div>Jul 15 21:15:43 server.blindrage.local libvirtd[3139]: libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <<a href="http://bugs.centos.org" target="_blank">http://bugs.centos.org</a>>, 2017-05-25-20:52:28, <a href="http://c1bm.rdu2.centos.org" target="_blank">c1bm.rdu2.centos.org</a>)</div><div>Jul 15 21:15:43 server.blindrage.local libvirtd[3139]: hostname: server.blindrage.local</div><div>Jul 15 21:15:43 server.blindrage.local libvirtd[3139]: End of file while reading data: Input/output error</div></div></blockquote><br></div><div>system tests still fail:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div></div></blockquote></div></div><div dir="ltr"><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div> # Copying any deploy scripts: Success (in 0:00:00)</div><div>libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div><div> # Missing current link, setting it to default</div></div></blockquote></div></div><div dir="ltr"><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>@ Initialize and populate prefix: ERROR (in 0:00:01)</div></div></blockquote></div></div><div dir="ltr"><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>Error occured, aborting</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main</div><div> cli_plugins[args.verb].do_run(args)</div><div> File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run</div><div> self._do_run(**vars(args))</div><div> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init</div><div> do_build=not skip_build,</div><div> File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream</div><div> do_build=do_build</div><div> File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf</div><div> net_specs=conf['nets'],</div><div> File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__</div><div> libvirt_url=libvirt_url,</div><div> File "/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py", line 87, in get_libvirt_connection</div><div> LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)</div><div> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth</div><div> if ret is None:raise libvirtError('virConnectOpenAuth() failed')</div><div>libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div></div></blockquote></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 14, 2017 at 6:43 AM, Marc Young <span dir="ltr"><<a href="mailto:3vilpenguin@gmail.com" target="_blank">3vilpenguin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I did set up libvirtd per docs but I'll double check to make sure human error isn't the problem</p><div class="m_-4999387817486790858HOEnZb"><div class="m_-4999387817486790858h5">
<br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 14, 2017, 6:33 AM Eyal Edri <<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Marc,<div><br></div><div>Thanks for trying out OST!<br>From a first look, lt looks like libvirtd isn't running or configured properly.<br></div><div>oVirt system tests rely on Lago to work, have you gone through the install steps to make sure Lago is installed properly?</div><div><br></div><div><br></div><div>You can check out recent documentation at [1] or [2]. Once you have Lago up and running, you can run OST.</div><div><br></div><div>[1] <a href="http://lago.readthedocs.io/en/stable/" target="_blank">http://lago.readthedocs.io/en/stable/</a></div><div>[2] <a href="http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/installation.html" target="_blank">http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/installation.html</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 14, 2017 at 1:56 PM, Marc Young <span dir="ltr"><<a href="mailto:3vilpenguin@gmail.com" target="_blank">3vilpenguin@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm following the introduction docs[1] to get familiar with the ovirt-system-tests and encountered a failure on first run. I dug around but I'm not familiar enough to know if it's something I set up incorrectly, a real failure, etc. Git ref is a3b1753<div><br></div><div>Shortened error below [2]</div><div>full Output far below[3]</div><div><br></div><div>[1] <a href="http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/running_tests.html" target="_blank">http://ovirt-system-tests.readthedocs.io/en/latest/docs/general/running_tests.html</a></div><div><br></div><div><br></div><div><div>[2]</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div><div> # Missing current link, setting it to default</div><div>@ Initialize and populate prefix: ERROR (in 0:02:12)</div><div>Error occured, aborting</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main</div><div> cli_plugins[args.verb].do_run(args)</div><div> File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run</div><div> self._do_run(**vars(args))</div><div> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init</div><div> do_build=not skip_build,</div><div> File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream</div><div> do_build=do_build</div><div> File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf</div><div> net_specs=conf['nets'],</div><div> File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__</div><div> libvirt_url=libvirt_url,</div><div> File "/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py", line 87, in get_libvirt_connection</div><div> LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)</div><div> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth</div><div> if ret is None:raise libvirtError('virConnectOpenAuth() failed')</div><div>libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div></blockquote></div></div><div><br></div><div>[3]</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>[myoung@server ovirt-system-tests]$ ./run_suite.sh basic-suite-4.1<br></div><div>+ CLI=lago</div></div><div><div>+ DO_CLEANUP=false</div><div>+ RECOMMENDED_RAM_IN_MB=8196</div><div>+ EXTRA_SOURCES=()</div><div>+ RPMS_TO_INSTALL=()</div><div>++ getopt -o ho:e:n:b:cs:r:l:i --long help,output:,engine:,node:,boot-iso:,cleanup,images --long extra-rpm-source,reposync-config:,local-rpms: -n run_suite.sh -- basic-suite-4.1 + options=' -- '\''basic-suite-4.1'\'''</div><div>+ [[ 0 != \0 ]]</div><div>+ eval set -- ' -- '\''basic-suite-4.1'\'''</div><div>++ set -- -- basic-suite-4.1</div><div>+ true</div><div>+ case $1 in</div><div>+ shift</div><div>+ break</div><div>+ [[ -z basic-suite-4.1 ]]</div><div>+ export OST_REPO_ROOT=/home/myoung/ovirt-system-tests</div><div>+ OST_REPO_ROOT=/home/myoung/ovirt-system-tests</div><div>++ realpath basic-suite-4.1</div><div>+ export SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ '[' -z '' ']'</div><div>+ export PREFIX=/home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ PREFIX=/home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ false</div><div>+ [[ -d /home/myoung/ovirt-system-tests/basic-suite-4.1 ]]</div><div>+ echo '################# lago version'</div><div>################# lago version + lago --version lago 0.40.0</div><div>+ echo '#################'</div></div><div><div>#################</div><div>+ check_ram 8196</div><div>+ local recommended=8196</div><div>++ free -m</div><div>++ grep Mem ++ awk '{print $2}'</div><div>+ local cur_ram=7812</div><div>+ [[ 7812 -lt 8196 ]]</div><div>+ echo 'It'\''s recommended to have at least 8196MB of RAM' 'installed on the system to run the system tests, if you find' 'issues while running them, consider upgrading your system.' '(only detected 7812MB installed)'</div><div>It's recommended to have at least 8196MB of RAM installed on the system to run the system tests, if you find issues while running them, consider upgrading your system. (only detected 7812MB installed)</div><div>+ echo 'Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1'</div><div>Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ echo 'Environment will be deployed at /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1'</div><div>Environment will be deployed at /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ rm -rf /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1</div><div>+ export PYTHONPATH=:/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ PYTHONPATH=:/home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ source /home/myoung/ovirt-system-tests/basic-suite-4.1/control.sh</div><div>+ prep_suite '' '' ''</div><div>+ local suite_name=basic-suite-4.1</div><div>+ suite_name=basic-suite-4-1</div><div>+ local engine hosts</div><div>+ source /home/myoung/ovirt-system-tests/basic-suite-4.1/templates</div><div>++ engine=el7.3-base</div><div>++ hosts=el7.3-base</div><div>+ sed -r -e s,__ENGINE__,lago-basic-suite-4-1-engine,g -e 's,__HOST([0-9]+)__,lago-basic-suite-4-1-host\1,g' -e 's,__LAGO_NET_([A-Za-z0-9]*)__,lago-basic-suite-4-1-net-\L\1,g' -e s,__STORAGE__,lago-basic-suite-4-1-storage,g -e s,__ENGINE_TEMPLATE__,el7.3-base,g -e s,__HOSTS_TEMPLATE__,el7.3-base,g + run_suite</div><div>+ env_init '' /home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile</div></div><div><div>+ ci_msg_if_fails env_init</div><div>+ msg_if_fails 'Failed to prepare environment on step env_init, please contact the CI team.'</div><div>++ dirname /home/myoung/ovirt-system-tests/basic-suite-4.1</div><div>+ local repo_root_dir=/home/myoung/ovirt-system-tests</div><div>+ echo 'Failed to prepare environment on step env_init, please contact the CI team.' + echo '#########################'</div><div>#########################</div><div>+ local template_repo=/home/myoung/ovirt-system-tests/basic-suite-4.1/template-repo.json</div><div>+ local initfile=/home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile</div><div>+ lago init /home/myoung/ovirt-system-tests/deployment-basic-suite-4.1 /home/myoung/ovirt-system-tests/basic-suite-4.1/LagoInitFile --template-repo-path /home/myoung/ovirt-system-tests/basic-suite-4.1/template-repo.json</div><div>@ Initialize and populate prefix:</div><div> # Initialize prefix:</div><div> * Create prefix dirs:</div><div> * Create prefix dirs: Success (in 0:00:00)</div><div> * Generate prefix uuid:</div><div> * Generate prefix uuid: Success (in 0:00:00)</div><div> * Create ssh keys:</div><div> * Create ssh keys: Success (in 0:00:00)</div><div> * Tag prefix as initialized:</div><div> * Tag prefix as initialized: Success (in 0:00:00)</div><div> # Initialize prefix: Success (in 0:00:00)</div><div> # Create disks for VM lago-basic-suite-4-1-engine:</div><div> * Create disk root:</div><div> - Template phx_repo:el7.3-base:v1 not in cache, downloading</div><div>Downloading 382982 Kilobytes from <a href="http://templates.ovirt.org/repo/el7.3-base.xz" target="_blank">http://templates.ovirt.org/repo/el7.3-base.xz</a></div><div> 100.0% complete (382984 Kilobytes) * Create disk root: Success (in 0:02:11) * Create disk nfs:</div><div> * Create disk nfs: Success (in 0:00:00)</div></div><div><div> * Create disk iscsi:</div><div> * Create disk iscsi: Success (in 0:00:00)</div><div> # Create disks for VM lago-basic-suite-4-1-engine: Success (in 0:02:12)</div><div> # Create disks for VM lago-basic-suite-4-1-host1:</div><div> * Create disk root: * Create disk root: Success (in 0:00:00)</div><div> # Create disks for VM lago-basic-suite-4-1-host1: Success (in 0:00:00)</div><div> # Create disks for VM lago-basic-suite-4-1-host0:</div><div> * Create disk root:</div><div> * Create disk root: Success (in 0:00:00)</div><div> # Create disks for VM lago-basic-suite-4-1-host0: Success (in 0:00:00)</div><div> # Copying any deploy scripts:</div><div> # Copying any deploy scripts: Success (in 0:00:00)</div><div>libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div><div> # Missing current link, setting it to default</div><div>@ Initialize and populate prefix: ERROR (in 0:02:12)</div><div>Error occured, aborting</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main</div><div> cli_plugins[args.verb].do_run(args)</div><div> File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run</div><div> self._do_run(**vars(args))</div><div> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init</div><div> do_build=not skip_build,</div><div> File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream</div><div> do_build=do_build File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf net_specs=conf['nets'],</div><div> File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__</div></div><div><div> libvirt_url=libvirt_url,</div><div> File "/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py", line 87, in get_libvirt_connection</div><div> LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)</div><div> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth</div><div> if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)</div></div></blockquote></div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-4999387817486790858m_-5980600178178851727m_-336121203563175481gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="font-family:overpass,sans-serif;margin:0px;padding:0px;font-size:14px;text-transform:uppercase;font-weight:bold"><font color="#cc0000">Eyal edri</font></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><br></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">ASSOCIATE MANAGER</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">RHV DevOps</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">EMEA VIRTUALIZATION R&D</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><br></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat EMEA</a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></td></tr></tbody></table></div><div>phone: <a href="tel:+972%209-769-2018" value="+97297692018" target="_blank">+972-9-7692018</a><br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div></div></div>
</div>
</blockquote></div></div></div></blockquote></div><br></div>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a></blockquote></div>