Bug 1846771 - livemedia-creator appears to hang when using --novirt and --iso-only
Summary: livemedia-creator appears to hang when using --novirt and --iso-only
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1846750 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-13 23:48 UTC by Chung
Modified: 2023-09-14 06:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-06-17 02:20:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
livemedia.log (230.43 KB, text/plain)
2020-06-13 23:48 UTC, Chung
no flags Details

Description Chung 2020-06-13 23:48:00 UTC
Created attachment 1697204 [details]
livemedia.log

Kickstart file used for testing.
https://pagure.io/fedora-kickstarts/blob/master/f/fedora-live-base.ks

Description of problem:

livemedia-creator appears to hang when running on an Fedora 32 x86_64 host using --novirt and --iso-only - options.

livemedia-creator appears to hang when using Anaconda to create a live image use the --no-virt   and --iso-only option. 


Steps to Reproduce:
1.  Run livemedia-creator on an Fedora 32 x86_64 host:

livemedia-creator --ks fedora-live-base.ks  --no-virt  --project Fedora --make-iso --volid fedora --iso-only --iso-name Fedora32.iso --releasever 32


2.  The process starts, and the following is displayed
please find attached  livemedia.log Logs 

as below is program.log
2020-06-13 23:10:05,882 INFO: Running... losetup --find --show /var/tmp/lmc-disk-_6lodhde.img
2020-06-13 23:10:05,897 INFO: /dev/loop0
2020-06-13 23:10:05,897 DEBUG: Return code: 0
2020-06-13 23:10:05,897 INFO: Running... udevadm settle --timeout 300
2020-06-13 23:10:05,928 DEBUG: Return code: 0
2020-06-13 23:10:05,929 INFO: Running... losetup -j /var/tmp/lmc-disk-_6lodhde.img
2020-06-13 23:10:05,940 INFO: /dev/loop0: [64768]:38535712 (/var/tmp/lmc-disk-_6lodhde.img)
2020-06-13 23:10:05,940 DEBUG: Return code: 0
2020-06-13 23:10:05,940 INFO: Running... mkfs.ext4 -L Anaconda -b 4096 -m 0 /dev/loop0
2020-06-13 23:10:06,248 INFO: mke2fs 1.45.5 (07-Jan-2020)
2020-06-13 23:10:06,248 INFO: Discarding device blocks:    4096/2097152               done
2020-06-13 23:10:06,249 INFO: Creating filesystem with 2097152 4k blocks and 525312 inodes
2020-06-13 23:10:06,249 INFO: Filesystem UUID: e1e3a27a-ff05-4699-9a66-0256fa6eebe7
2020-06-13 23:10:06,249 INFO: Superblock backups stored on blocks:
2020-06-13 23:10:06,249 INFO: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
2020-06-13 23:10:06,249 INFO: 
2020-06-13 23:10:06,249 INFO: Allocating group tables:  0/64     done
2020-06-13 23:10:06,249 INFO: Writing inode tables:  0/64     done
2020-06-13 23:10:06,249 INFO: Creating journal (16384 blocks): done
2020-06-13 23:10:06,249 INFO: Writing superblocks and filesystem accounting information:  0/64     done
2020-06-13 23:10:06,249 INFO: 
2020-06-13 23:10:06,249 DEBUG: Return code: 0
2020-06-13 23:10:06,250 INFO: Running... mount /dev/loop0 /var/tmp/lorax.imgutils._a04w6kd
2020-06-13 23:10:06,306 DEBUG: Return code: 0
2020-06-13 23:10:06,306 INFO: Running... df /var/tmp/lorax.imgutils._a04w6kd
2020-06-13 23:10:06,312 INFO: Filesystem     1K-blocks  Used Available Use% Mounted on
2020-06-13 23:10:06,312 INFO: /dev/loop0       8191160 36852   8137924   1% /var/tmp/lorax.imgutils._a04w6kd
2020-06-13 23:10:06,313 DEBUG: Return code: 0
2020-06-13 23:10:06,313 INFO: Running... umount /var/tmp/lorax.imgutils._a04w6kd
2020-06-13 23:10:06,363 DEBUG: Return code: 0
2020-06-13 23:10:06,363 INFO: Running... losetup --detach /dev/loop0
2020-06-13 23:10:06,375 DEBUG: Return code: 0
2020-06-13 23:10:06,375 INFO: Running... sync
2020-06-13 23:10:06,647 DEBUG: Return code: 0
2020-06-13 23:10:06,661 INFO: Running... mount -o loop /var/tmp/lmc-disk-_6lodhde.img /mnt/sysimage/
2020-06-13 23:10:06,804 DEBUG: Return code: 0
2020-06-13 23:10:06,806 INFO: Running... unshare --pid --kill-child --mount --propagation unchanged anaconda --kickstart /home/oper/fedora-live-base.ks --cmdline --loglevel debug --dirinstall --remotelog 127.0.0.1:44205

3. No further progress is detected.
Actual results:
 Logs attached.

Expected results:


Additional info:

Comment 1 Chung 2020-06-13 23:48:23 UTC
*** Bug 1846750 has been marked as a duplicate of this bug. ***

Comment 2 Brian Lane 2020-06-15 23:32:26 UTC
I am unable to reproduce this myself. Did you give it enough time to finish? It can take quite a while to create the squashfs image depending on your hardware. Also make sure you have enough disk space so that it doesn't run out.

Comment 3 Red Hat Bugzilla 2023-09-14 06:02:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.