Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1543325

Summary: lorax fails on Unable to setup /dev/loop0 (Blocks Snasphot-3)
Product: Red Hat Enterprise Linux 7 Reporter: Lubos Kocman <lkocman>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED WORKSFORME QA Contact: Release Test Team <release-test-team-automation>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.5   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-08 09:37:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubos Kocman 2018-02-08 09:22:43 UTC
Hello,

recent RHEL-7.5-Snapshot-3.0 compose failed on following https://brew.engineering.redhat.com/brew/taskinfo?taskID=15244771


I double checked lorax in builroot and in compose (the install repo) and it's the same version
[root@rcm-compose-nightly-01 ~]# brew latest-pkg rhel-7.5-build lorax
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
lorax-19.6.104-1.el7                      rhel-7.5              brlane
[root@rcm-compose-nightly-01 ~]# brew latest-pkg rhel-7.5-snapshot-3.0-set lorax
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
lorax-19.6.104-1.el7                      rhel-7.5-snapshot-3.0-set  brlane
[root@rcm-compose-nightly-01 ~]# 


Installed version of lorax in buildroot

DEBUG util.py:417:   lorax                          x86_64 19.6.104-1.el7               build 173 k


(paste from root.log)
DEBUG util.py:417:  Writing superblocks and filesystem accounting information:   0/256       done
DEBUG util.py:417:  Traceback (most recent call last):
DEBUG util.py:417:    File "/usr/sbin/lorax", line 347, in <module>
DEBUG util.py:417:      main(sys.argv)
DEBUG util.py:417:    File "/usr/sbin/lorax", line 235, in main
DEBUG util.py:417:      remove_temp=True)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 301, in run
DEBUG util.py:417:      compression=compression, compressargs=compressargs)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 165, in create_runtime
DEBUG util.py:417:      "Anaconda", size=size)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 103, in mkrootfsimg
DEBUG util.py:417:      with LoopDev(outfile) as loopdev:
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 298, in __enter__
DEBUG util.py:417:      self.loopdev = loop_attach(self.filename)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 158, in loop_attach
DEBUG util.py:417:      loop_waitfor(dev.strip(), outfile)
DEBUG util.py:417:    File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 150, in loop_waitfor
DEBUG util.py:417:      raise RuntimeError("Unable to setup %s on %s" % (loop_dev, outfile))
DEBUG util.py:417:  RuntimeError: Unable to setup /dev/loop0 on /var/tmp/lorax.h6WY8b/installroot/images/runtime-workdir/LiveOS/rootfs.img


Since lorax itself wasn't touched I suspect one of packages in buildroot

# recent changes in buildroot

[[root@rcm-compose-nightly-01 ~]# brew list-history --tag rhel-7.5 | grep -v untagged | tail -30 | awk '{ print $1 " " $2 " " $3 " " $4 " " $5 " " $6 }'
Mon Feb 5 16:32:06 2018 python-backports-ssl_match_hostname-3.5.0.1-1.el7
Tue Feb 6 08:02:26 2018 ModemManager-1.6.10-1.el7
Tue Feb 6 08:02:29 2018 libqmi-1.18.0-2.el7
Tue Feb 6 10:04:35 2018 glibc-2.17-222.el7
Tue Feb 6 10:04:44 2018 rsync-3.1.2-4.el7
Tue Feb 6 10:31:57 2018 httpd-2.4.6-80.el7
Tue Feb 6 12:03:50 2018 python-urllib3-1.10.2-5.el7
Tue Feb 6 12:33:16 2018 lsof-4.87-5.el7
Tue Feb 6 12:33:18 2018 kernel-3.10.0-845.el7
Tue Feb 6 13:03:26 2018 alsa-lib-1.1.4.1-2.el7
Wed Feb 7 02:32:06 2018 augeas-1.4.0-5.el7
Wed Feb 7 02:32:11 2018 virt-what-1.18-4.el7
Wed Feb 7 09:02:38 2018 spice-vdagent-0.14.0-15.el7
Wed Feb 7 10:03:41 2018 libsoup-2.56.0-6.el7
Wed Feb 7 13:04:16 2018 nss-pam-ldapd-0.8.13-16.el7
Wed Feb 7 15:03:53 2018 sssd-1.16.0-16.el7
Wed Feb 7 16:04:58 2018 gtk-vnc-0.7.0-3.el7
Wed Feb 7 16:33:47 2018 conman-0.2.8-1.el7
Wed Feb 7 16:33:58 2018 graphviz-2.30.1-21.el7
Wed Feb 7 17:04:28 2018 python-blivet-0.61.15.67-1.el7
Wed Feb 7 17:34:16 2018 man-pages-overrides-7.5.2-1.el7
Wed Feb 7 18:03:41 2018 anaconda-21.48.22.131-1.el7
Wed Feb 7 20:02:56 2018 redhat-release-client-7.5-6.el7
Wed Feb 7 20:03:01 2018 redhat-release-computenode-7.5-6.el7
Wed Feb 7 20:03:02 2018 redhat-release-workstation-7.5-6.el7
Wed Feb 7 20:03:03 2018 redhat-release-server-7.5-6.el7
Thu Feb 8 07:32:11 2018 open-vm-tools-10.1.10-3.el7
Thu Feb 8 08:02:27 2018 linuxptp-1.8-5.el7
Thu Feb 8 08:32:17 2018 gnome-software-3.22.7-5.el7
Thu Feb 8 09:02:21 2018 flatpak-0.8.8-3.el7


# recent changes from compose repo (input for lorax), keep in mind that builds from previous list got into compose as well
# Please see systemd which is suspicious

[root@rcm-compose-nightly-01 ~]# brew list-history --tag rhel-7.5-pending | grep -v untagged | tail -30 | awk '{ print $1 " " $2 " " $3 " " $4 " " $5 " " $6 }'
Wed Feb 7 12:02:52 2018 ipmitool-1.8.18-7.el7
Wed Feb 7 13:04:12 2018 selinux-policy-3.13.1-188.el7
Wed Feb 7 13:12:37 2018 inheritance
Wed Feb 7 13:12:38 2018 inheritance
Wed Feb 7 13:32:49 2018 kate-4.10.5-6.el7
Wed Feb 7 14:02:56 2018 libteam-1.27-3.el7
Wed Feb 7 14:02:59 2018 python-s3transfer-0.1.10-6.el7
Wed Feb 7 14:03:02 2018 tftp-5.2-22.el7
Wed Feb 7 14:32:13 2018 gnome-software-3.22.7-5.el7
Wed Feb 7 14:32:17 2018 nautilus-3.22.3-5.el7
Wed Feb 7 14:32:19 2018 qemu-kvm-ma-2.10.0-20.el7
Wed Feb 7 15:03:44 2018 libvirt-3.9.0-12.el7
Wed Feb 7 15:33:27 2018 systemd-219-55.el7
Wed Feb 7 16:33:54 2018 fence-agents-4.0.11-86.el7
Wed Feb 7 16:33:55 2018 xorg-x11-server-1.19.5-3.el7
Wed Feb 7 17:04:38 2018 selinux-policy-3.13.1-189.el7
Wed Feb 7 17:04:43 2018 vdo-6.1.0.146-16
Wed Feb 7 17:34:22 2018 accountsservice-0.6.45-6.el7
Wed Feb 7 17:34:23 2018 awscli-1.14.28-4.el7
Wed Feb 7 17:34:27 2018 python-s3transfer-0.1.10-7.el7
Wed Feb 7 17:34:27 2018 ipa-4.5.4-10.el7
Wed Feb 7 18:03:47 2018 kmod-kvdo-6.1.0.146-13.el7
Wed Feb 7 18:03:53 2018 lvm2-2.02.177-2.el7
Wed Feb 7 18:32:52 2018 mailx-12.5-19.el7
Wed Feb 7 18:32:55 2018 insights-client-3.0.3-2.el7
Wed Feb 7 19:03:51 2018 mutter-3.26.2-7.el7
Wed Feb 7 20:03:08 2018 gnome-shell-extensions-3.26.2-2.el7
Wed Feb 7 20:03:13 2018 insights-client-3.0.4-1.el7
Wed Feb 7 21:33:51 2018 pyparted-3.9-15.el7
Wed Feb 7 22:05:49 2018 mdadm-4.0-13.el7

Comment 2 Lubos Kocman 2018-02-08 09:27:15 UTC
#list of packages changes in compose wasn't complete (I used same tail length as for buildroot). So this is a full list

# we're looking at changes since lates 6th+ as nightly on 6th at night succeeded.

[root@rcm-compose-nightly-01 ~]# brew list-history --tag rhel-7.5-pending | grep -v untagged | tail -55 | awk '{ print $1 " " $2 " " $3 " " $4 " " $5 " " $6 }'
Mon Feb 5 17:32:11 2018 corosync-2.4.3-2.el7
Tue Feb 6 07:31:57 2018 pki-core-10.5.1-7.el7
Tue Feb 6 08:02:36 2018 fuse-2.9.2-10.el7
Tue Feb 6 09:02:36 2018 pcs-0.9.162-5.el7
Tue Feb 6 11:02:51 2018 selinux-policy-3.13.1-187.el7
Tue Feb 6 11:32:36 2018 gtk-vnc-0.7.0-3.el7
Tue Feb 6 12:03:42 2018 awscli-1.14.28-3.el7
Tue Feb 6 12:03:45 2018 fence-agents-4.0.11-85.el7
Tue Feb 6 12:03:45 2018 udisks2-2.7.3-6.el7
Tue Feb 6 12:33:34 2018 irqbalance-1.0.7-11.el7
Tue Feb 6 14:02:19 2018 oscap-anaconda-addon-0.8-4.el7
Tue Feb 6 14:35:25 2018 inheritance
Tue Feb 6 14:35:37 2018 inheritance
Tue Feb 6 15:32:29 2018 systemd-219-54.el7
Tue Feb 6 16:33:41 2018 libreoffice-5.3.6.1-8.el7
Tue Feb 6 16:33:45 2018 xorg-x11-drivers-7.7-7.el7
Tue Feb 6 17:03:37 2018 insights-client-3.0.3-1.el7
Tue Feb 6 17:03:42 2018 NetworkManager-1.10.2-11.el7
Tue Feb 6 18:03:44 2018 openscap-1.2.16-6.el7
Tue Feb 6 20:32:36 2018 virt-who-0.21.5-1.el7
Tue Feb 6 21:02:38 2018 kernel-rt-3.10.0-845.rt56.786.el7
Tue Feb 6 22:02:59 2018 libreswan-3.23-2.el7
Tue Feb 6 22:03:04 2018 rdma-core-15-5.el7
Wed Feb 7 00:32:38 2018 389-ds-base-1.3.7.5-16.el7
Wed Feb 7 08:02:59 2018 tftp-5.2-21.el7
Wed Feb 7 12:02:52 2018 ipmitool-1.8.18-7.el7
Wed Feb 7 13:04:12 2018 selinux-policy-3.13.1-188.el7
Wed Feb 7 13:12:37 2018 inheritance
Wed Feb 7 13:12:38 2018 inheritance
Wed Feb 7 13:32:49 2018 kate-4.10.5-6.el7
Wed Feb 7 14:02:56 2018 libteam-1.27-3.el7
Wed Feb 7 14:02:59 2018 python-s3transfer-0.1.10-6.el7
Wed Feb 7 14:03:02 2018 tftp-5.2-22.el7
Wed Feb 7 14:32:13 2018 gnome-software-3.22.7-5.el7
Wed Feb 7 14:32:17 2018 nautilus-3.22.3-5.el7
Wed Feb 7 14:32:19 2018 qemu-kvm-ma-2.10.0-20.el7
Wed Feb 7 15:03:44 2018 libvirt-3.9.0-12.el7
Wed Feb 7 15:33:27 2018 systemd-219-55.el7
Wed Feb 7 16:33:54 2018 fence-agents-4.0.11-86.el7
Wed Feb 7 16:33:55 2018 xorg-x11-server-1.19.5-3.el7
Wed Feb 7 17:04:38 2018 selinux-policy-3.13.1-189.el7
Wed Feb 7 17:04:43 2018 vdo-6.1.0.146-16
Wed Feb 7 17:34:22 2018 accountsservice-0.6.45-6.el7
Wed Feb 7 17:34:23 2018 awscli-1.14.28-4.el7
Wed Feb 7 17:34:27 2018 python-s3transfer-0.1.10-7.el7
Wed Feb 7 17:34:27 2018 ipa-4.5.4-10.el7
Wed Feb 7 18:03:47 2018 kmod-kvdo-6.1.0.146-13.el7
Wed Feb 7 18:03:53 2018 lvm2-2.02.177-2.el7
Wed Feb 7 18:32:52 2018 mailx-12.5-19.el7
Wed Feb 7 18:32:55 2018 insights-client-3.0.3-2.el7
Wed Feb 7 19:03:51 2018 mutter-3.26.2-7.el7
Wed Feb 7 20:03:08 2018 gnome-shell-extensions-3.26.2-2.el7
Wed Feb 7 20:03:13 2018 insights-client-3.0.4-1.el7
Wed Feb 7 21:33:51 2018 pyparted-3.9-15.el7
Wed Feb 7 22:05:49 2018 mdadm-4.0-13.el7

Comment 3 Lubos Kocman 2018-02-08 09:37:44 UTC

*** This bug has been marked as a duplicate of bug 1462150 ***

Comment 4 Lubos Kocman 2018-02-08 10:45:31 UTC
Not a dupe, but seemed to be temporary issue,

https://brew.engineering.redhat.com/brew/taskinfo?taskID=15245518

resubmit of very same task later passed.

Lubos