<div dir="ltr">It seems we've seen it in the past and the issue was a missing package:<div><a href="http://lists.ovirt.org/pipermail/devel/2016-June/013336.html">http://lists.ovirt.org/pipermail/devel/2016-June/013336.html</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 1:35 PM, Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Running Lago/ovirt-system-tests on F24:<div><br></div><div><div style="font-size:medium"><div><div style="width:1745.45px"><div style="width:1745.45px"><div style="width:1733.64px"><div style="min-height:3511px"><div style="padding-bottom:56px"><div dir="ltr" style="outline:none;width:1337px;min-height:auto"><pre> # [Thread-1] Bootstrapping lago_basic_suite_3_6_engine:
# [Thread-2] Bootstrapping lago_basic_suite_3_6_host1:
# [Thread-3] Bootstrapping lago_basic_suite_3_6_host0:
# [Thread-4] Bootstrapping lago_basic_suite_3_6_storage:
# [Thread-1] Bootstrapping lago_basic_suite_3_6_engine: ERROR (in 0:00:04)
Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 53, in _ret_via_queue
queue.put({'return': func()})
File "/usr/lib/python2.7/site-<wbr>packages/lago/virt.py", line 156, in <lambda>
utils.invoke_in_parallel(<wbr>lambda vm: vm.bootstrap(), self._vms.values())
File "/usr/lib/python2.7/site-<wbr>packages/lago/plugins/vm.py", line 265, in bootstrap
return self.provider.bootstrap(*args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/lago/vm.py", line 128, in bootstrap
if 'ip' in nic
File "/usr/lib/python2.7/site-<wbr>packages/lago/sysprep.py", line 134, in sysprep
ret.err,
RuntimeError: Failed to bootstrap $LAGO_PREFIX_PATH/images/lago_<wbr>basic_suite_3_6_engine_root.<wbr>qcow2
command:"virt-sysprep" "-a" "$LAGO_PREFIX_PATH/images/<wbr>lago_basic_suite_3_6_engine_<wbr>root.qcow2" "--selinux-relabel" "--hostname" "lago_basic_suite_3_6_engine" "--root-password" "password:123456" "--mkdir" "/root/.ssh" "--chmod" "0700:/root/.ssh" "--upload" "/home/omer/ovirt-system-<wbr>tests/deployment-basic_suite_<wbr>3.6/default/id_rsa.pub:/root/.<wbr>ssh/authorized_keys" "--run-command" "chown root.root /root/.ssh/authorized_keys" "--mkdir" "/etc/iscsi" "--chmod" "0755:/etc/iscsi" "--write" "/etc/iscsi/initiatorname.<wbr>iscsi:InitiatorName=iqn.2014-<wbr>07.org.lago:lago_basic_suite_<wbr>3_6_engine" "--mkdir" "/etc/selinux" "--chmod" "0755:/etc/selinux" "--write" "/etc/selinux/config:SELINUX=<wbr>enforcing
SELINUXTYPE=targeted
" "--mkdir" "/etc/sysconfig/network-<wbr>scripts" "--chmod" "0755:/etc/sysconfig/network-<wbr>scripts" "--write" "/etc/sysconfig/network-<wbr>scripts/ifcfg-eth0:HWADDR="54:<wbr>52:c0:a8:c8:02"
BOOTPROTO="dhcp"
TYPE="Ethernet"
ONBOOT="yes"
NAME="eth0""
stdout:[ 0.0] Examining the guest ...
stderr:virt-sysprep: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
<a href="http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs" target="_blank">http://libguestfs.org/guestfs-<wbr>faq.1.html#debugging-<wbr>libguestfs</a>
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sysprep with debugging enabled and include the
complete output:
virt-sysprep -v -x [...]
# [Thread-4] Bootstrapping lago_basic_suite_3_6_storage: ERROR (in 0:00:04)
Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 53, in _ret_via_queue
queue.put({'return': func()})
File "/usr/lib/python2.7/site-<wbr>packages/lago/virt.py", line 156, in <lambda>
utils.invoke_in_parallel(<wbr>lambda vm: vm.bootstrap(), self._vms.values())
File "/usr/lib/python2.7/site-<wbr>packages/lago/plugins/vm.py", line 265, in bootstrap
return self.provider.bootstrap(*args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/lago/vm.py", line 128, in bootstrap
if 'ip' in nic
File "/usr/lib/python2.7/site-<wbr>packages/lago/sysprep.py", line 134, in sysprep
ret.err,
RuntimeError: Failed to bootstrap $LAGO_PREFIX_PATH/images/lago_<wbr>basic_suite_3_6_storage_root.<wbr>qcow2
command:"virt-sysprep" "-a" "$LAGO_PREFIX_PATH/images/<wbr>lago_basic_suite_3_6_storage_<wbr>root.qcow2" "--selinux-relabel" "--hostname" "lago_basic_suite_3_6_storage" "--root-password" "password:123456" "--mkdir" "/root/.ssh" "--chmod" "0700:/root/.ssh" "--upload" "/home/omer/ovirt-system-<wbr>tests/deployment-basic_suite_<wbr>3.6/default/id_rsa.pub:/root/.<wbr>ssh/authorized_keys" "--run-command" "chown root.root /root/.ssh/authorized_keys" "--mkdir" "/etc/iscsi" "--chmod" "0755:/etc/iscsi" "--write" "/etc/iscsi/initiatorname.<wbr>iscsi:InitiatorName=iqn.2014-<wbr>07.org.lago:lago_basic_suite_<wbr>3_6_storage" "--mkdir" "/etc/selinux" "--chmod" "0755:/etc/selinux" "--write" "/etc/selinux/config:SELINUX=<wbr>enforcing
SELINUXTYPE=targeted
" "--mkdir" "/etc/sysconfig/network-<wbr>scripts" "--chmod" "0755:/etc/sysconfig/network-<wbr>scripts" "--write" "/etc/sysconfig/network-<wbr>scripts/ifcfg-eth0:HWADDR="54:<wbr>52:c0:a8:c8:05"
BOOTPROTO="dhcp"
TYPE="Ethernet"
ONBOOT="yes"
NAME="eth0""
stdout:[ 0.0] Examining the guest ...
stderr:virt-sysprep: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
<a href="http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs" target="_blank">http://libguestfs.org/guestfs-<wbr>faq.1.html#debugging-<wbr>libguestfs</a>
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sysprep with debugging enabled and include the
complete output:
virt-sysprep -v -x [...]
# [Thread-2] Bootstrapping lago_basic_suite_3_6_host1: ERROR (in 0:00:04)
# [Thread-3] Bootstrapping lago_basic_suite_3_6_host0: ERROR (in 0:00:04)
Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 53, in _ret_via_queue
queue.put({'return': func()})
File "/usr/lib/python2.7/site-<wbr>packages/lago/virt.py", line 156, in <lambda>
utils.invoke_in_parallel(<wbr>lambda vm: vm.bootstrap(), self._vms.values())
File "/usr/lib/python2.7/site-<wbr>packages/lago/plugins/vm.py", line 265, in bootstrap
return self.provider.bootstrap(*args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/lago/vm.py", line 128, in bootstrap
if 'ip' in nic
File "/usr/lib/python2.7/site-<wbr>packages/lago/sysprep.py", line 134, in sysprep
ret.err,
RuntimeError: Failed to bootstrap $LAGO_PREFIX_PATH/images/lago_<wbr>basic_suite_3_6_host1_root.<wbr>qcow2
command:"virt-sysprep" "-a" "$LAGO_PREFIX_PATH/images/<wbr>lago_basic_suite_3_6_host1_<wbr>root.qcow2" "--selinux-relabel" "--hostname" "lago_basic_suite_3_6_host1" "--root-password" "password:123456" "--mkdir" "/root/.ssh" "--chmod" "0700:/root/.ssh" "--upload" "/home/omer/ovirt-system-<wbr>tests/deployment-basic_suite_<wbr>3.6/default/id_rsa.pub:/root/.<wbr>ssh/authorized_keys" "--run-command" "chown root.root /root/.ssh/authorized_keys" "--mkdir" "/etc/iscsi" "--chmod" "0755:/etc/iscsi" "--write" "/etc/iscsi/initiatorname.<wbr>iscsi:InitiatorName=iqn.2014-<wbr>07.org.lago:lago_basic_suite_<wbr>3_6_host1" "--mkdir" "/etc/selinux" "--chmod" "0755:/etc/selinux" "--write" "/etc/selinux/config:SELINUX=<wbr>enforcing
SELINUXTYPE=targeted
" "--mkdir" "/etc/sysconfig/network-<wbr>scripts" "--chmod" "0755:/etc/sysconfig/network-<wbr>scripts" "--write" "/etc/sysconfig/network-<wbr>scripts/ifcfg-eth0:HWADDR="54:<wbr>52:c0:a8:c8:03"
BOOTPROTO="dhcp"
TYPE="Ethernet"
ONBOOT="yes"
NAME="eth0""
stdout:[ 0.0] Examining the guest ...
stderr:virt-sysprep: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
<a href="http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs" target="_blank">http://libguestfs.org/guestfs-<wbr>faq.1.html#debugging-<wbr>libguestfs</a>
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sysprep with debugging enabled and include the
complete output:
virt-sysprep -v -x [...]
Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 53, in _ret_via_queue
queue.put({'return': func()})
File "/usr/lib/python2.7/site-<wbr>packages/lago/virt.py", line 156, in <lambda>
utils.invoke_in_parallel(<wbr>lambda vm: vm.bootstrap(), self._vms.values())
File "/usr/lib/python2.7/site-<wbr>packages/lago/plugins/vm.py", line 265, in bootstrap
return self.provider.bootstrap(*args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/lago/vm.py", line 128, in bootstrap
if 'ip' in nic
File "/usr/lib/python2.7/site-<wbr>packages/lago/sysprep.py", line 134, in sysprep
ret.err,
RuntimeError: Failed to bootstrap $LAGO_PREFIX_PATH/images/lago_<wbr>basic_suite_3_6_host0_root.<wbr>qcow2
command:"virt-sysprep" "-a" "$LAGO_PREFIX_PATH/images/<wbr>lago_basic_suite_3_6_host0_<wbr>root.qcow2" "--selinux-relabel" "--hostname" "lago_basic_suite_3_6_host0" "--root-password" "password:123456" "--mkdir" "/root/.ssh" "--chmod" "0700:/root/.ssh" "--upload" "/home/omer/ovirt-system-<wbr>tests/deployment-basic_suite_<wbr>3.6/default/id_rsa.pub:/root/.<wbr>ssh/authorized_keys" "--run-command" "chown root.root /root/.ssh/authorized_keys" "--mkdir" "/etc/iscsi" "--chmod" "0755:/etc/iscsi" "--write" "/etc/iscsi/initiatorname.<wbr>iscsi:InitiatorName=iqn.2014-<wbr>07.org.lago:lago_basic_suite_<wbr>3_6_host0" "--mkdir" "/etc/selinux" "--chmod" "0755:/etc/selinux" "--write" "/etc/selinux/config:SELINUX=<wbr>enforcing
SELINUXTYPE=targeted
" "--mkdir" "/etc/sysconfig/network-<wbr>scripts" "--chmod" "0755:/etc/sysconfig/network-<wbr>scripts" "--write" "/etc/sysconfig/network-<wbr>scripts/ifcfg-eth0:HWADDR="54:<wbr>52:c0:a8:c8:04"
BOOTPROTO="dhcp"
TYPE="Ethernet"
ONBOOT="yes"
NAME="eth0""
stdout:[ 0.0] Examining the guest ...
stderr:virt-sysprep: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
<a href="http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs" target="_blank">http://libguestfs.org/guestfs-<wbr>faq.1.html#debugging-<wbr>libguestfs</a>
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sysprep with debugging enabled and include the
complete output:
virt-sysprep -v -x [...]
@ Initialize and populate prefix: ERROR (in 0:00:08)
Error occured, aborting
Traceback (most recent call last):
File "/usr/lib/python2.7/site-<wbr>packages/lago/cmd.py", line 691, in main
cli_plugins[args.verb].do_run(<wbr>args)
File "/usr/lib/python2.7/site-<wbr>packages/lago/plugins/cli.py", line 180, in do_run
self._do_run(**vars(args))
File "/usr/lib/python2.7/site-<wbr>packages/lago/log_utils.py", line 615, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/lago/cmd.py", line 181, in do_init
do_bootstrap=not skip_bootstrap,
File "/usr/lib/python2.7/site-<wbr>packages/lago/prefix.py", line 816, in virt_conf_from_stream
do_bootstrap=do_bootstrap,
File "/usr/lib/python2.7/site-<wbr>packages/lago/prefix.py", line 943, in virt_conf
self.virt_env.bootstrap()
File "/usr/lib/python2.7/site-<wbr>packages/lago/virt.py", line 156, in bootstrap
utils.invoke_in_parallel(<wbr>lambda vm: vm.bootstrap(), self._vms.values())
File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 95, in invoke_in_parallel
vt.join_all()
File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 53, in _ret_via_queue
queue.put({'return': func()})
File "/usr/lib/python2.7/site-<wbr>packages/lago/virt.py", line 156, in <lambda>
utils.invoke_in_parallel(<wbr>lambda vm: vm.bootstrap(), self._vms.values())
File "/usr/lib/python2.7/site-<wbr>packages/lago/plugins/vm.py", line 265, in bootstrap
return self.provider.bootstrap(*args, **kwargs)
File "/usr/lib/python2.7/site-<wbr>packages/lago/vm.py", line 128, in bootstrap
if 'ip' in nic
File "/usr/lib/python2.7/site-<wbr>packages/lago/sysprep.py", line 134, in sysprep
ret.err,
RuntimeError: Failed to bootstrap $LAGO_PREFIX_PATH/images/lago_<wbr>basic_suite_3_6_engine_root.<wbr>qcow2
command:"virt-sysprep" "-a" "$LAGO_PREFIX_PATH/images/<wbr>lago_basic_suite_3_6_engine_<wbr>root.qcow2" "--selinux-relabel" "--hostname" "lago_basic_suite_3_6_engine" "--root-password" "password:123456" "--mkdir" "/root/.ssh" "--chmod" "0700:/root/.ssh" "--upload" "/home/omer/ovirt-system-<wbr>tests/deployment-basic_suite_<wbr>3.6/default/id_rsa.pub:/root/.<wbr>ssh/authorized_keys" "--run-command" "chown root.root /root/.ssh/authorized_keys" "--mkdir" "/etc/iscsi" "--chmod" "0755:/etc/iscsi" "--write" "/etc/iscsi/initiatorname.<wbr>iscsi:InitiatorName=iqn.2014-<wbr>07.org.lago:lago_basic_suite_<wbr>3_6_engine" "--mkdir" "/etc/selinux" "--chmod" "0755:/etc/selinux" "--write" "/etc/selinux/config:SELINUX=<wbr>enforcing
SELINUXTYPE=targeted
" "--mkdir" "/etc/sysconfig/network-<wbr>scripts" "--chmod" "0755:/etc/sysconfig/network-<wbr>scripts" "--write" "/etc/sysconfig/network-<wbr>scripts/ifcfg-eth0:HWADDR="54:<wbr>52:c0:a8:c8:02"
BOOTPROTO="dhcp"
TYPE="Ethernet"
ONBOOT="yes"
NAME="eth0""
stdout:[ 0.0] Examining the guest ...
stderr:virt-sysprep: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
<a href="http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs" target="_blank">http://libguestfs.org/guestfs-<wbr>faq.1.html#debugging-<wbr>libguestfs</a>
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
If reporting bugs, run virt-sysprep with debugging enabled and include the
complete output:
virt-sysprep -v -x [...]
</pre></div></div></div></div></div></div></div><div style="background-image:linear-gradient(rgba(0,0,0,0.65098) 0%,transparent 100%)"><div><div><div><div></div></div><div style="background-image:url("");background-repeat:no-repeat"></div><div><div style="width:74px">lago-error.txt</div><div></div><div></div></div></div><div><div><div><div style="background-image:url("https://lh5.googleusercontent.com/-sExaefYZOlc/USUx8r8x41I/AAAAAAAACPk/fNS8IBQh8iw/s64-c-k/docs-64.png");background-repeat:no-repeat"></div><div>Open with Google Docs</div></div><div><div></div><div><div><div></div></div></div></div></div><div></div></div><div><div><div><div></div></div><div><div><div></div></div><div><div></div></div></div></div></div></div></div></div><span style="color:rgb(0,0,0);font-size:medium"></span><div style="color:rgb(0,0,0);font-size:medium;min-height:1px;overflow:hidden">Displaying lago-error.txt.</div></div></div>
<br>______________________________<wbr>_________________<br>
lago-devel mailing list<br>
<a href="mailto:lago-devel@ovirt.org">lago-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/lago-devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/lago-devel</a><br>
<br></blockquote></div><br></div>