livecd-tools RPM from ci-tools repo is missing dependencies

Description

It was reported in that sssd-client is not installed on EL7 slaves, yet it is needed for livecd-creator. After investigating, the version of livecd-tools we have is installed from our ci-tools repo. It has a newer version so it overrides the version from CentOS, yet it's missing the sssd-client dependency. If we really need the newer version, we should rebuild the RPM to ensure a dependency for sssd-client is in place since livecd-creator may fail otherwise.

Activity

Show:

Former user September 5, 2016 at 2:41 PM

Fabian, thanks for the info! So it's probably just ovirt-live jobs that still invoke livecd-creator. Hopefully Sandro can confirm if these jobs need a specific version, or even if a move to livemedia-creator can be performed.

Fabian Deutsch September 5, 2016 at 2:33 PM

livecd-creator is deprecated, that is why we moved to use livemedia-creator from the lorax package.

Former user September 5, 2016 at 11:13 AM

As livecd-creator is used for generating ISOs I'd like and to confirm if there's a special need for version livecd-tools-23.2 as opposed to livecd-tools-20.1 available in CentOS. If we really need it - we'd need to rebuild the RPM to fix dependencies. Otherwise - remove it and use the official version.

Former user September 4, 2016 at 7:11 AM

, yes, currently the package is installed at the beginning of the job.

Eyal Edri September 4, 2016 at 7:05 AM

did you end up installing locally the RPM in the job? do we still need to refresh the rpm on ci-tools repo?

Former user August 31, 2016 at 7:38 AM

example of error log from here:
http://jenkins.ovirt.org/job/ovirt-live_4.0-create-iso/2/console

12:33:59 livecd-creator -d -v -p --config=kickstart/ovirt-live-ovirt-custom.ks --fslabel=ovirt-live-4.0.3_rc1 2>&1 | tee iso.log
12:33:59 Traceback (most recent call last):
12:33:59 File "/bin/livecd-creator", line 241, in <module>
12:33:59 hack = do_nss_sss_hack()
12:33:59 File "/bin/livecd-creator", line 236, in do_nss_sss_hack
12:33:59 hack = forgettable._dlopen('libnss_sss.so.2')
12:33:59 OSError: libnss_sss.so.2: cannot open shared object file: No such file or directory

Installed RPM version:

$ rpm -qf /bin/livecd-creator
livecd-tools-23.2-0.el7.centos.x86_64

this version is from here:
http://resources.ovirt.org/repos/ci-tools/el7/x86_64/

its dependencies:
$ rpm -qR livecd-tools
/bin/bash
/usr/bin/python
/usr/sbin/extlinux
dosfstools
dumpet
e2fsprogs
hfsplus-tools
isomd5sum
lorax >= 18.3
mkisofs
parted
pyparted
python-imgcreate = 1:23.2-0.el7.centos
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rsync
syslinux
util-linux
rpmlib(PayloadIsXz) <= 5.2-1

CentOS ships version 21.4-2 and I am unsure why we need the newer version, but obviously there's some reasoning so dependencies have to be fixed there.

Incomplete

Details

Assignee

Reporter

Components

Priority

Created August 31, 2016 at 7:31 AM
Updated August 29, 2019 at 2:12 PM
Resolved December 31, 2018 at 3:25 PM