That got it. The issue stems from this originally being an oVirt box and
repurposing it into a Jenkins box.
I also found an issue with /etc/libvirt/qemu-sanlock.conf but these are all
artifact issues. Thanks!
On Sun, Jul 16, 2017 at 3:03 AM, Roy Golan <rgolan(a)redhat.com> wrote:
AFAIR lago expects libvirt to run with no sasl (I guess this machine
was
vdsm before that?)
I think if you just comment out every thing in /etc/libvirt/libvirtd.conf
and restart libvirtd service it should work for you.
On Sun, Jul 16, 2017 at 5:18 AM Marc Young <3vilpenguin(a)gmail.com> wrote:
> Sorry it took a while to get back.
>
> libvirtd is running, but with a line that may be related, might not
>
> [myoung@server ovirt-system-tests]$ sudo service libvirtd status
> Redirecting to /bin/systemctl status libvirtd.service
> ● libvirtd.service - Virtualization daemon
> Loaded: 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
> ago
> Docs: man:libvirtd(8)
>
http://libvirt.org
> 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 --listen
>
> Jul 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
> addresses
> Jul 15 21:14:05 server.blindrage.local dnsmasq[2757]: read
> /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
> Jul 15 21:14:05 server.blindrage.local dnsmasq-dhcp[2757]: read
> /var/lib/libvirt/dnsmasq/default.hostsfile
> Jul 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.local
> Jul 15 21:15:43 server.blindrage.local libvirtd[3139]: End of file while
> reading data: Input/output error
>
>
> system tests still fail:
>
> # 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, aborting
> Traceback (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)
>
>
> On Fri, Jul 14, 2017 at 6:43 AM, Marc Young <3vilpenguin(a)gmail.com>
> wrote:
>
>> 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(a)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.
>>>
>>> [1]
http://lago.readthedocs.io/en/stable/
>>> [2]
http://ovirt-system-tests.readthedocs.io/en/latest/docs/
>>> general/installation.html
>>>
>>>
>>> On Fri, Jul 14, 2017 at 1:56 PM, Marc Young <3vilpenguin(a)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 a3b1753
>>>>
>>>> Shortened error below [2]
>>>> full Output far below[3]
>>>>
>>>> [1]
http://ovirt-system-tests.readthedocs.io/en/latest/docs/
>>>> general/running_tests.html
>>>>
>>>>
>>>> [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, aborting
>>>> Traceback (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)
>>>>
>>>>
>>>> [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, downloading
>>>> Downloading 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, aborting
>>>> Traceback (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(a)ovirt.org
>>>>
http://lists.ovirt.org/mailman/listinfo/devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Eyal edri
>>>
>>>
>>> ASSOCIATE MANAGER
>>>
>>> RHV DevOps
>>>
>>> EMEA VIRTUALIZATION R&D
>>>
>>>
>>> Red Hat EMEA <
https://www.redhat.com/>
>>> <
https://red.ht/sig> TRIED. TESTED. TRUSTED.
>>> <
https://redhat.com/trusted>
>>> phone: +972-9-7692018 <+972%209-769-2018>
>>> irc: eedri (on #tlv #rhev-dev #rhev-integ)
>>>
>>
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/devel