[myoung@server ovirt-system-tests]$ sudo service libvirtd statusRedirecting to /bin/systemctl status libvirtd.service● libvirtd.service - Virtualization daemonLoaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)Active: active (running) since Sat 2017-07-15 21:14:05 CDT; 2min 24s agoDocs: man:libvirtd(8)Main PID: 3139 (libvirtd)CGroup: /system.slice/libvirtd.service├─2757 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper├─2758 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper└─3139 /usr/sbin/libvirtd --listenJul 15 21:14:04 server.blindrage.local systemd[1]: Starting Virtualization daemon...Jul 15 21:14:05 server.blindrage.local systemd[1]: Started Virtualization daemon.Jul 15 21:14:05 server.blindrage.local dnsmasq[2757]: read /etc/hosts - 4 addressesJul 15 21:14:05 server.blindrage.local dnsmasq[2757]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addressesJul 15 21:14:05 server.blindrage.local dnsmasq-dhcp[2757]: read /var/lib/libvirt/dnsmasq/default.hostsfileJul 15 21:15:43 server.blindrage.local libvirtd[3139]: libvirt version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem <http://bugs.centos.org>, 2017-05-25-20:52:28, c1bm.rdu2.centos.org)Jul 15 21:15:43 server.blindrage.local libvirtd[3139]: hostname: server.blindrage.localJul 15 21:15:43 server.blindrage.local libvirtd[3139]: End of file while reading data: Input/output error
# Copying any deploy scripts: Success (in 0:00:00)libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)# Missing current link, setting it to default@ Initialize and populate prefix: ERROR (in 0:00:01)Error occured, abortingTraceback (most recent call last):File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in maincli_plugins[args.verb].do_run(args)File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_runself._do_run(**vars(args))File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_initdo_build=not skip_build,File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_streamdo_build=do_buildFile "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_confnet_specs=conf['nets'],File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__libvirt_url=libvirt_url,File "/usr/lib/python2.7/site-packages/lago/providers/libvirt/utils.py", line 87, in get_libvirt_connectionLIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuthif 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)
I did set up libvirtd per docs but I'll double check to make sure human error isn't the problem
On Fri, Jul 14, 2017, 6:33 AM Eyal Edri <eedri@redhat.com> wrote:Hey Marc,Thanks for trying out OST!
From a first look, lt looks like libvirtd isn't running or configured properly.oVirt system tests rely on Lago to work, have you gone through the install steps to make sure Lago is installed properly?You can check out recent documentation at [1] or [2]. Once you have Lago up and running, you can run OST.On Fri, Jul 14, 2017 at 1:56 PM, Marc Young <3vilpenguin@gmail.com> wrote: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 a3b1753Shortened error below [2]full Output far below[3][2]libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)# Missing current link, setting it to default@ Initialize and populate prefix: ERROR (in 0:02:12)Error occured, abortingTraceback (most recent call last):File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main cli_plugins[args.verb].do_run(args) File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run self._do_run(**vars(args))File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init do_build=not skip_build,File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream do_build=do_buildFile "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf net_specs=conf['nets'],File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__ libvirt_url=libvirt_url,File "/usr/lib/python2.7/site-packages/lago/providers/ libvirt/utils.py", line 87, in get_libvirt_connection LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth 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)[3][myoung@server ovirt-system-tests]$ ./run_suite.sh basic-suite-4.1+ CLI=lago+ DO_CLEANUP=false+ RECOMMENDED_RAM_IN_MB=8196+ EXTRA_SOURCES=()+ RPMS_TO_INSTALL=()++ 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'\''' + [[ 0 != \0 ]]+ eval set -- ' -- '\''basic-suite-4.1'\'''++ set -- -- basic-suite-4.1+ true+ case $1 in+ shift+ break+ [[ -z basic-suite-4.1 ]]+ export OST_REPO_ROOT=/home/myoung/ovirt-system-tests + OST_REPO_ROOT=/home/myoung/ovirt-system-tests ++ realpath basic-suite-4.1+ export SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1 + SUITE=/home/myoung/ovirt-system-tests/basic-suite-4.1 + '[' -z '' ']'+ export PREFIX=/home/myoung/ovirt-system-tests/deployment-basic- suite-4.1 + PREFIX=/home/myoung/ovirt-system-tests/deployment-basic- suite-4.1 + false+ [[ -d /home/myoung/ovirt-system-tests/basic-suite-4.1 ]] + echo '################# lago version'################# lago version + lago --version lago 0.40.0+ echo '#################'#################+ check_ram 8196+ local recommended=8196++ free -m++ grep Mem ++ awk '{print $2}'+ local cur_ram=7812+ [[ 7812 -lt 8196 ]]+ 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)'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)+ echo 'Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1' Running suite found in /home/myoung/ovirt-system-tests/basic-suite-4.1 + echo 'Environment will be deployed at /home/myoung/ovirt-system-tests/deployment-basic-suite- 4.1' Environment will be deployed at /home/myoung/ovirt-system-tests/deployment-basic-suite- 4.1 + rm -rf /home/myoung/ovirt-system-tests/deployment-basic-suite- 4.1 + export PYTHONPATH=:/home/myoung/ovirt-system-tests/basic- suite-4.1 + PYTHONPATH=:/home/myoung/ovirt-system-tests/basic- suite-4.1 + source /home/myoung/ovirt-system-tests/basic-suite-4.1/control. sh + prep_suite '' '' ''+ local suite_name=basic-suite-4.1+ suite_name=basic-suite-4-1+ local engine hosts+ source /home/myoung/ovirt-system-tests/basic-suite-4.1/ templates ++ engine=el7.3-base++ hosts=el7.3-base+ 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 + env_init '' /home/myoung/ovirt-system-tests/basic-suite-4.1/ LagoInitFile + ci_msg_if_fails env_init+ msg_if_fails 'Failed to prepare environment on step env_init, please contact the CI team.'++ dirname /home/myoung/ovirt-system-tests/basic-suite-4.1 + local repo_root_dir=/home/myoung/ovirt-system-tests + echo 'Failed to prepare environment on step env_init, please contact the CI team.' + echo '#########################'#########################+ local template_repo=/home/myoung/ovirt-system-tests/basic- suite-4.1/template-repo.json + local initfile=/home/myoung/ovirt-system-tests/basic-suite-4.1/ LagoInitFile + 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 @ Initialize and populate prefix:# Initialize prefix:* Create prefix dirs:* Create prefix dirs: Success (in 0:00:00)* Generate prefix uuid:* Generate prefix uuid: Success (in 0:00:00)* Create ssh keys:* Create ssh keys: Success (in 0:00:00)* Tag prefix as initialized:* Tag prefix as initialized: Success (in 0:00:00)# Initialize prefix: Success (in 0:00:00)# Create disks for VM lago-basic-suite-4-1-engine:* Create disk root:- Template phx_repo:el7.3-base:v1 not in cache, downloadingDownloading 382982 Kilobytes from http://templates.ovirt.org/repo/el7.3-base.xz 100.0% complete (382984 Kilobytes) * Create disk root: Success (in 0:02:11) * Create disk nfs:* Create disk nfs: Success (in 0:00:00)* Create disk iscsi:* Create disk iscsi: Success (in 0:00:00)# Create disks for VM lago-basic-suite-4-1-engine: Success (in 0:02:12)# Create disks for VM lago-basic-suite-4-1-host1:* Create disk root: * Create disk root: Success (in 0:00:00)# Create disks for VM lago-basic-suite-4-1-host1: Success (in 0:00:00)# Create disks for VM lago-basic-suite-4-1-host0:* Create disk root:* Create disk root: Success (in 0:00:00)# Create disks for VM lago-basic-suite-4-1-host0: Success (in 0:00:00)# Copying any deploy scripts:# Copying any deploy scripts: Success (in 0:00:00)libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)# Missing current link, setting it to default@ Initialize and populate prefix: ERROR (in 0:02:12)Error occured, abortingTraceback (most recent call last):File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 954, in main cli_plugins[args.verb].do_run(args) File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in do_run self._do_run(**vars(args))File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 190, in do_init do_build=not skip_build,File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1089, in virt_conf_from_stream do_build=do_build File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1214, in virt_conf net_specs=conf['nets'], File "/usr/lib/python2.7/site-packages/lago/virt.py", line 90, in __init__ libvirt_url=libvirt_url,File "/usr/lib/python2.7/site-packages/lago/providers/ libvirt/utils.py", line 87, in get_libvirt_connection LIBVIRT_CONNECTIONS[name] = libvirt.openAuth(libvirt_url, auth)File "/usr/lib64/python2.7/site-packages/libvirt.py", line 105, in openAuth 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) _______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel --phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)