Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhel-livemedia.ks and centos-livemedia.ks #864

Closed
probonopd opened this issue Oct 6, 2019 · 13 comments
Closed

rhel-livemedia.ks and centos-livemedia.ks #864

probonopd opened this issue Oct 6, 2019 · 13 comments

Comments

@probonopd
Copy link

probonopd commented Oct 6, 2019

In addition to fedora-livemedia.ks, please also add rhel-livemedia.ks and centos-livemedia.ks.
Use case: I would like to make a RHEL 8 and/or CentOS 8 Live ISO image to evaluate those systems (without needing virtualization or a dedicated hard disk) since there is no one available for download.

Maybe https://pagure.io/fedora-kickstarts/blob/master/f/fedora-live-workstation.ks can be reused.

https://weldr.io/lorax/lorax-composer/livemedia-creator.html talks about RHEL and is citing ./docs/rhel7-livemedia.ks.

https://pagure.io/fedora-kickstarts/tree/master seems to be the location where ks files live, but only for Fedora and not for RHEL or CentOS.

Reference:
CentOS/sig-core-livemedia#1

@probonopd
Copy link
Author

probonopd commented Oct 6, 2019

Turns out different branches of this repository contain different content (this would be worth mentioning in the README.md), and the rhel8.0-branch does contain https://github.com/weldr/lorax/blob/rhel8.0-branch/docs/rhel-livemedia.ks indeed. it even contains a script to produce what seems to be a RHEL 8 Live ISO: https://github.com/weldr/lorax/blob/rhel8-branch/tests/cli/test_compose_live-iso.sh

I wonder what is the difference between rhel8.0-branch and rhel8-branch, and whether there should be a separate centos8-branch.

@probonopd
Copy link
Author

probonopd commented Oct 6, 2019

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/composing_a_customized_rhel_system_image/composer-description_composing-a-customized-rhel-system-image#composer-output-formats_composer-description describes that one can create RHEL Live ISOs using Image Builder.

You can use Image Builder to create customized system images of Red Hat Enterprise Linux (...) through a command line interface in the composer-cli tool, or a graphical user interface in the RHEL 8 web console.

Is it described somewhere how to produce a RHEL 8 Workstation Live ISO using the composer-cli tool?

Apparently one needs a virtual machine to make one, this is cumbersome. Why not something like debootstrap?

@bcl
Copy link
Contributor

bcl commented Oct 7, 2019

Anything in CentOS is the same as what's in the rhel8-branch, which will have the most updated code so there's no need for a centos branch.
You can create the iso using livemedia-creator or lorax-composer, which is an API on top of livemedia-creator.

Also note that the live iso created with lorax-composer isn't the same as the Fedora live iso, it is basically just an iso wrapper around a disk image and doesn't contain all the extra hacks that are in the *-livemedia.ks examples.

The reason why there aren't examples for RHEL in the same repo is that you need to run the version of livemedia-creator that is included in the release you are building for.

@bcl bcl closed this as completed Oct 7, 2019
@probonopd
Copy link
Author

you need to run the version of livemedia-creator that is included in the release you are building for

Thanks, I will try to go that route then.

@probonopd
Copy link
Author

Do you know in which package livemedia-creator is hiding on the RHEL 8 DVD? I can't seem to find it.

@bcl
Copy link
Contributor

bcl commented Oct 7, 2019

It is part of lorax.

@probonopd
Copy link
Author

probonopd commented Oct 8, 2019

...which seems to be part of AppStream rather than BaseOS and hence not on the DVD.
(Just for future reference in case someone is wondering the same thing, namely where to find it.)

@probonopd
Copy link
Author

probonopd commented Oct 13, 2019

Now I am booted into CentOS 8, and have dd'd the CentOS 8 DVD on a USB stick that is /dev/sdb (the same stick that I used to install CentOS 8 to a dedicated SSD).

[root@localhost user]# livemedia-creator --make-iso --ks /usr/share/doc/lorax/rhel-livemedia.ks --iso=/dev/sdb
2019-10-13 09:21:40,187: livemedia-creator v28.14.23-1
2019-10-13 09:21:40,188: selinux is enabled and in Enforcing mode
2019-10-13 09:21:40,305: disk_img = /var/tmp/lmc-disk-78n3cn1b.img
2019-10-13 09:21:40,305: Using disk size of 6658MiB
2019-10-13 09:21:40,306: install_log = /home/user/virt-install.log
2019-10-13 09:21:41,389: qemu vnc=127.0.0.1:0
2019-10-13 09:21:41,389: Running qemu
2019-10-13 09:21:41,426: Processing logs from ('127.0.0.1', 53176)
2019-10-13 09:23:41,570: Installation error detected. See logfile for details.
2019-10-13 09:23:41,570: VirtualInstall failed: QEMUInstall failed
2019-10-13 09:23:41,571: unmounting the iso
2019-10-13 09:23:41,605: Install failed: QEMUInstall failed
2019-10-13 09:23:41,606: Removing bad disk image
2019-10-13 09:23:41,606: ERROR: Image creation failed: QEMUInstall failed
2019-10-13 09:23:41,606: Image creation failed: QEMUInstall failed

program.log
virt-install.log
livemedia.log

I also have saved the ISO to a NTFS drive, but unlike other distributions CentOS 8 is unable to mount NTFS drives out of the box.

I find it hard to believe that in 2019 you still have to fiddle around, i.e.,

[root@localhost user]# yum install epel-release
[root@localhost user]# yum install ntfs-3g
Last metadata expiration check: 0:00:12 ago on Sun Oct 13 09:28:32 2019.
No match for argument: ntfs-3g
Error: Unable to find a match

Even more unbelievable that even then it does not work. Other distributions just do this out of the box.

So let's try with

[root@localhost user]# livemedia-creator --make-iso --ks /usr/share/doc/lorax/rhel-livemedia.ks --iso=/dev/sdb --no-virt

even though running with --no-virt is not recommended.

Getting

[root@localhost user]# livemedia-creator --make-iso --ks /usr/share/doc/lorax/rhel-livemedia.ks --iso=/dev/sdb --no-virt
2019-10-13 09:30:52,263: livemedia-creator v28.14.23-1
2019-10-13 09:30:52,263: selinux is enabled and in Enforcing mode
2019-10-13 09:30:52,382: disk_img = /var/tmp/lmc-disk-8ixmhebi.img
2019-10-13 09:30:52,382: Using disk size of 6658MiB
2019-10-13 09:30:55,179: Running anaconda.
2019-10-13 09:31:04,221: Starting installer, one moment...
2019-10-13 09:31:04,221: terminal size detection failed, using default width
2019-10-13 09:31:04,221: anaconda 29.19.0.40-1.el8 for Linux 8 (pre-release) started.
2019-10-13 09:31:04,221: 09:31:04 Not asking for VNC because of an automated install
2019-10-13 09:31:04,659: Processing logs from ('127.0.0.1', 54648)
2019-10-13 09:31:38,897: Starting automated install.................................No protocol specified
2019-10-13 09:31:38,898: Unable to init server: Could not connect: Connection refused
2019-10-13 09:31:38,947: No protocol specified
2019-10-13 09:31:38,947: Unable to init server: Could not connect: Connection refused
2019-10-13 09:31:38,947: No protocol specified
2019-10-13 09:31:38,947: Unable to init server: Could not connect: Connection refused
2019-10-13 09:34:40,231: Error in atexit._run_exitfuncs:
2019-10-13 09:34:40,240: Traceback (most recent call last):
2019-10-13 09:34:40,240: File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
2019-10-13 09:34:40,240: return m(*args, **kwargs)
2019-10-13 09:34:40,240: File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2062, in umount_filesystems
2019-10-13 09:34:40,240: self.fsset.umount_filesystems(swapoff=swapoff)
2019-10-13 09:34:40,241: File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 775, in umount_filesystems
2019-10-13 09:34:40,241: device.format.teardown()
2019-10-13 09:34:40,241: File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
2019-10-13 09:34:40,241: return m(*args, **kwargs)
2019-10-13 09:34:40,241: File "/usr/lib/python3.6/site-packages/blivet/formats/__init__.py", line 649, in teardown
2019-10-13 09:34:40,241: self._teardown(**kwargs)
2019-10-13 09:34:40,241: File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
2019-10-13 09:34:40,241: return m(*args, **kwargs)
2019-10-13 09:34:40,241: File "/usr/lib/python3.6/site-packages/blivet/formats/fs.py", line 611, in _teardown
2019-10-13 09:34:40,241: raise FSError("umount of %s failed (%d)" % (mountpoint, rc))
2019-10-13 09:34:40,242: blivet.errors.FSError: umount of /run/user/1000 failed (32)
2019-10-13 09:34:40,242: 
2019-10-13 09:34:40,242: ================================================================================
2019-10-13 09:34:40,242: ================================================================================
2019-10-13 09:34:40,242: Installation
2019-10-13 09:34:40,242: 
2019-10-13 09:34:40,242: 1) [x] Language settings                 2) [x] Time settings
2019-10-13 09:34:40,242: (English (United States))                (US/Eastern timezone)
2019-10-13 09:34:40,242: 3) [!] Installation source               4) [!] Software selection
2019-10-13 09:34:40,242: (Error setting up software               (Error checking software
2019-10-13 09:34:40,243: source)                                  selection)
2019-10-13 09:34:40,243: 5) [x] Network configuration             6) [ ] User creation
2019-10-13 09:34:40,243: (Wired (enp0s25) connected)              (No user will be created)
2019-10-13 09:34:40,243: 
2019-10-13 09:34:40,243: 
2019-10-13 09:34:40,243: The installation was stopped due to an error which occurred while running in non-interactive cmdline mode. Since there cannot be any questions in cmdline mode, edit your kickstart file and retry installation.
2019-10-13 09:34:40,243: The exact error message is:
2019-10-13 09:34:40,243: 
2019-10-13 09:34:40,243: The following mandatory spokes are not completed:
2019-10-13 09:34:40,243: Installation source
2019-10-13 09:34:40,244: Software selection.
2019-10-13 09:34:40,244: 
2019-10-13 09:34:40,244: The installer will now terminate.
2019-10-13 09:34:40,571: Running anaconda failed: process '['anaconda', '--kickstart', '/usr/share/doc/lorax/rhel-livemedia.ks', '--cmdline', '--loglevel', 'debug', '--dirinstall', '--remotelog', '127.0.0.1:48677']' exited with status 1
2019-10-13 09:34:40,573: Shutting down log processing
2019-10-13 09:34:40,692: Install failed: novirt_install failed
2019-10-13 09:34:40,693: Removing bad disk image
2019-10-13 09:34:40,701: ERROR: Image creation failed: novirt_install failed
2019-10-13 09:34:40,709: Image creation failed: novirt_install failed

program.log
livemedia.log

I am lost, any help appreciated.

@probonopd
Copy link
Author

probonopd commented Oct 13, 2019

This is what I mean by "having to fiddle around", things don't work, you search around, you find new information, then maybe it works maybe it doesn't. Rather than there being clear instructions that work right on the first try.

Trying now:

[root@localhost user]# dnf config-manager --enable epel-playground
[root@localhost user]# yum install ntfs-3g
[root@localhost user]# mount /dev/sdcX1 /mnt
[root@localhost user]# livemedia-creator --make-iso --ks /usr/share/doc/lorax/rhel-livemedia.ks --iso=/mnt/Linux_Software/Linux\ Distros/CentOS-8-x86_64-1905-dvd1.iso --no-virt

Same result as above.

Do I need to run setenforce 0 as I have read somewhere?

[root@localhost user]# setenforce 0
[root@localhost user]# livemedia-creator --make-iso --ks /usr/share/doc/lorax/rhel-livemedia.ks --iso=/mnt/Linux_Software/Linux\ Distros/CentOS-8-x86_64-1905-dvd1.iso --no-virt

Nope, still getting

2019-10-13 09:42:48,265: 09:42:48 Not asking for VNC because of an automated install
2019-10-13 09:42:48,602: Processing logs from ('127.0.0.1', 52178)
2019-10-13 09:43:53,204: Starting automated install............................................................No protocol specified
2019-10-13 09:43:53,205: Unable to init server: Could not connect: Connection refused
2019-10-13 09:43:53,251: No protocol specified
2019-10-13 09:43:53,251: Unable to init server: Could not connect: Connection refused
2019-10-13 09:43:53,253: No protocol specified
2019-10-13 09:43:53,253: Unable to init server: Could not connect: Connection refused

At https://bugzilla.redhat.com/show_bug.cgi?id=1389782 someone seems to have had a similar issue but without clear resolution.

https://github.com/alphacc/eight-livecd mentions

Unable to init server: Could not connect: Connection refused: check if the packages in your kickstart exist in RHEL8 (anaconda.log will give you more details).

anaconda.log? I only see livemedia.log program.log virt-install.log in my working directory.

"Fiddling around" some more, I find /tmp/anaconda.log which says

09:42:44,375 INF main: /sbin/anaconda 29.19.0.40-1.el8
09:42:44,434 INF isys: 10228580 kB (9988 MB) are available
09:42:44,443 INF startup_utils: check_memory(): total:9988, needed:320, graphical:410
09:42:44,444 INF startup_utils: Switching logging level to debug
09:42:44,444 INF flags: Not doing 'syslog setup' in directory installation
09:42:44,444 INF flags: Not doing 'early exception handler' in directory installation
09:42:44,444 INF flags: Not doing 'start audit daemon' in directory installation
09:42:44,444 INF main: anaconda called with cmdline = ['/sbin/anaconda', '--kickstart', '/usr/share/doc/lorax/rhel-livemedia.ks', '--cmdline', '--loglevel', 'debug', '--dirinstall', '--remotelog', '127.0.0.1:39323']
09:42:44,445 INF main: Default encoding = utf-8 
09:42:44,459 INF dbus.connection: Connecting to a default bus at unix:abstract=/tmp/dbus-8x9WH2XzQ5,guid=846fbde8a6310cdb7346a2bf5da329d4.
09:42:44,761 INF startup_utils: Waiting 600 sec for modules to be started.
09:42:45,767 INF startup_utils: Waiting 599 sec for modules to be started.
09:42:46,777 INF startup_utils: Waiting 598 sec for modules to be started.
09:42:47,826 INF startup_utils: Parsing kickstart: /usr/share/doc/lorax/rhel-livemedia.ks
09:42:48,050 WRN kickstart: Command xconfig will be parsed in DBus module.
09:42:48,050 WRN kickstart: Command keyboard will be parsed in DBus module.
09:42:48,050 WRN kickstart: Command timezone will be parsed in DBus module.
09:42:48,051 WRN kickstart: Command lang will be parsed in DBus module.
09:42:48,051 WRN kickstart: Command firewall will be parsed in DBus module.
09:42:48,052 WRN kickstart: Command auth will be parsed in DBus module.
09:42:48,052 WRN kickstart: Command selinux will be parsed in DBus module.
09:42:48,053 WRN kickstart: Command services will be parsed in DBus module.
09:42:48,053 WRN kickstart: Command bootloader will be parsed in DBus module.
09:42:48,055 INF bootloader: bootloader GRUB2 on X86 platform
09:42:48,057 WRN kickstart: Command clearpart will be parsed in DBus module.
09:42:48,057 WRN kickstart: Command rootpw will be parsed in DBus module.
09:42:48,068 INF flags: Not doing 'setup network module mode' in directory installation
09:42:48,071 DBG main: Network module set up to not touch runtime system
09:42:48,075 INF flags: Not doing 'activate keyboard' in directory installation
09:42:48,252 DBG localization: setting locale to: en_US.UTF-8
09:42:48,252 INF flags: Not doing 'networkInitialize' in directory installation
09:42:48,253 INF threading: Running Thread: AnaWaitForConnectingNMThread (140391505848064)
09:42:48,254 INF flags: Not doing 'write user interaction config file' in directory installation
09:42:48,255 DBG anaconda: setting display mode to TUI
09:42:48,255 DBG anaconda: working in noninteractive mode
09:42:48,259 WRN stdout: Not asking for VNC because of an automated install
09:42:48,260 INF anaconda: Display mode is set to 'noninteractive text mode'.
09:42:48,261 INF isys: 10228580 kB (9988 MB) are available
09:42:48,288 INF startup_utils: check_memory(): total:9988, needed:320, graphical:410
09:42:48,380 INF network: got 0 NTP servers from DHCP
09:42:48,382 DBG installclass: Searching /usr/lib64/python3.6/site-packages/pyanaconda/installclasses.
09:42:48,382 INF threading: Thread Done: AnaWaitForConnectingNMThread (140391505848064)
09:42:48,387 DBG installclass: Found CentOS Linux (CentOSBaseInstallClass).
09:42:48,388 DBG installclass: Found Red Hat Enterprise Linux (DefaultInstallClass).
09:42:48,388 DBG installclass: Found Fedora (FedoraBaseInstallClass).
09:42:48,388 DBG installclass: Found Atomic Host (AtomicHostInstallClass).
09:42:48,388 DBG installclass: Found Fedora Server (FedoraServerInstallClass).
09:42:48,388 DBG installclass: Found Fedora Workstation (FedoraWorkstationInstallClass).
09:42:48,388 DBG installclass: Found Red Hat Enterprise Linux (RHELBaseInstallClass).
09:42:48,388 DBG installclass: Found Scientific Linux (ScientificBaseInstallClass).
09:42:48,388 INF installclass: Using a visible install class Red Hat Enterprise Linux (DefaultInstallClass).
09:42:48,391 DBG storage: trying to set new default luks version to 'luks2'
09:42:48,500 DBG payload: getting release version from tree at None (8)
09:42:48,500 DBG payload: using default release version of 8
09:42:48,503 INF bootloader: bootloader GRUB2 on X86 platform
09:42:48,503 INF autopart: Detected 9.75 GiB of memory
09:42:48,504 INF autopart: Suggested swap size (4.88 GiB) exceeds 10 % of disk space, using 10 % of disk space (0.0) instead.
09:42:48,505 INF autopart: Swap attempt of 0.0
09:42:48,505 INF bootloader: bootloader GRUB2 on X86 platform
09:42:48,575 DBG storage_utils: LABEL=OEMDRV matches [] for devicetree=None and disks_only=True
09:42:48,578 INF flags: Not doing 'initialize time' in directory installation
09:42:48,583 DBG payload: Restarting payload thread
09:42:48,584 INF threading: Running Thread: AnaPayloadRestartThread (140391505848064)
09:42:48,584 INF geoloc: Geolocation is disabled for image or directory installation.
09:42:48,584 INF threading: Running Thread: AnaPayloadThread (140391239907072)09:42:48,584 INF threading: Thread Done: AnaPayloadRestartThread (140391505848064)
09:42:48,584 INF geoloc: Geolocation is disabled for image or directory installation.
09:42:48,585 INF flags: Not doing 'start chronyd' in directory installation

09:42:48,585 DBG payload: Updating payload thread state: 0
09:42:48,585 DBG payload: Updating payload thread state: 1
09:42:48,585 DBG payload: Updating payload thread state: 2
09:42:48,585 DBG payload: Updating payload thread state: 4
09:42:48,603 DBG simpleline: GLib event loop is used!
09:42:48,611 DBG payload: retrieving treeinfo from http://URL-TO-BASEOS (proxy:  ; sslverify: True)
09:42:48,639 INF core.util: Skipping detection of SMT.
09:42:48,639 INF core.util: Skipping detection of unsupported hardware.
09:42:48,657 INF lifecycle: Adding controller: SummaryHub
09:42:48,715 INF lifecycle: Module initialized: LangSpoke
09:42:48,719 INF lifecycle: Module initialized: TimeSpoke
09:42:48,720 INF threading: Running Thread: AnaSourceWatcher (140391505848064)
09:42:48,720 INF threading: Running Thread: AnaSoftwareWatcher (140391228344064)
09:42:48,834 INF lifecycle: Module initialized: NetworkSpoke
09:42:48,839 WRN ui.tui.hubs: Spoke StorageSpoke initialization failure!
09:42:48,848 INF lifecycle: Module initialized: PasswordSpoke
09:42:48,851 WRN ui.tui.hubs: Spoke PasswordSpoke initialization failure!
09:42:48,852 INF lifecycle: Module initialized: UserSpoke
09:42:48,852 INF lifecycle: Initialization of all modules (7) has been started.
09:43:41,898 WRN payload: Install tree metadata fetching failed: Can't get .treeinfo file from the url http://URL-TO-BASEOS
09:43:41,898 DBG payload: getting release version from tree at http://URL-TO-BASEOS (8)
09:43:41,898 DBG payload: using default release version of 8
09:43:52,122 DBG payload: Updating payload thread state: 5
09:43:52,129 INF payload: Refreshing environmentAddons
09:43:52,130 ERR payload: No base repo configured
09:43:52,130 DBG payload: Updating payload thread state: -1
09:43:52,133 DBG payload: getting release version from tree at None (8)
09:43:52,133 DBG payload: using default release version of 8
09:43:52,135 INF threading: Thread Done: AnaPayloadThread (140391239907072)
09:43:52,135 INF lifecycle: Module initialized: SourceSpoke
09:43:52,136 DBG ui.tui.spokes.software_selection: Apply called old env None, new env None and addons set()09:43:52,136 INF threading: Thread Done: AnaSourceWatcher (140391505848064)

09:43:52,136 INF lifecycle: Module initialized: SoftwareSpoke
09:43:52,137 INF lifecycle: All modules have been initialized.
09:43:52,137 INF threading: Thread Done: AnaSoftwareWatcher (140391228344064)
09:43:53,121 DBG simpleline: Scheduling screen SummaryHub
09:43:53,122 DBG simpleline: New signal RenderScreenSignal enqueued with source ScreenScheduler
09:43:53,123 DBG simpleline: Scheduling screen ProgressSpoke
09:43:53,123 DBG simpleline: Starting main loop
09:43:53,124 DBG simpleline: Processing screen ScreenData(SummaryHub,None,False)
09:43:53,132 DBG payload: Source http://URL-TO-BASEOS needs network for installation
09:43:53,132 INF flags: Not doing 'require network connection' in directory installation
09:43:53,132 INF flags: Not doing 'require network connection' in directory installation
09:43:53,173 DBG simpleline: Input is required by ScreenData(SummaryHub,None,False) screen
09:43:53,175 DBG payload: Source http://URL-TO-BASEOS needs network for installation
09:43:53,175 INF flags: Not doing 'require network connection' in directory installation
09:43:53,176 ERR ui.tui.hubs.summary: CmdlineError: The following mandatory spokes are not completed:
Installation source
Software selection
09:43:53,176 DBG simpleline: New signal ExceptionSignal enqueued with source ScreenScheduler
09:43:53,176 DBG simpleline: Executing inner loop
09:43:53,176 DBG simpleline: New signal ExceptionSignal enqueued with source ScreenScheduler
09:43:53,177 ERR ui.tui: 
======= Screen stack =======
----------- TOP ------------
ScreenData(SummaryHub,None,False)
ScreenData(ProgressSpoke,None,False)
============================

09:43:53,177 DBG exception: running handleException
09:43:53,178 CRT exception: Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen_scheduler.py", line 245, in _process_screen
    top_screen.ui_screen.get_input_with_error_check(top_screen.args)

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/__init__.py", line 285, in get_input_with_error_check
    self._input_manager.get_input(args=args)

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/input_manager.py", line 91, in get_input
    prompt = self._ui_screen.prompt(args)

  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 119, in prompt
    raise CmdlineError(errtxt)

pyanaconda.errors.CmdlineError: The following mandatory spokes are not completed:
Installation source
Software selection

09:43:53,252 DBG exception: Gtk cannot be initialized
09:43:53,252 DBG exception: In the main thread, running exception handler
09:46:27,520 DBG payload: getting release version from tree at None (8)
09:46:27,520 DBG payload: using default release version of 8
09:48:23,237 INF main: /sbin/anaconda 29.19.0.40-1.el8
09:48:23,328 INF isys: 10228580 kB (9988 MB) are available
09:48:23,344 INF startup_utils: check_memory(): total:9988, needed:320, graphical:410
09:48:23,344 INF startup_utils: Switching logging level to debug
09:48:23,344 INF flags: Not doing 'syslog setup' in directory installation
09:48:23,345 INF flags: Not doing 'early exception handler' in directory installation
09:48:23,345 INF flags: Not doing 'start audit daemon' in directory installation
09:48:23,345 INF main: anaconda called with cmdline = ['/sbin/anaconda', '--kickstart', '/usr/share/doc/lorax/rhel-livemedia.ks', '--cmdline', '--loglevel', 'debug', '--dirinstall', '--remotelog', '127.0.0.1:42569']
09:48:23,346 INF main: Default encoding = utf-8 
09:48:23,385 INF dbus.connection: Connecting to a default bus at unix:abstract=/tmp/dbus-sPznpRQdOQ,guid=a2690815a970fe8c0ec91edb5da32b27.
09:48:23,868 INF startup_utils: Waiting 600 sec for modules to be started.
09:48:24,871 INF startup_utils: Waiting 599 sec for modules to be started.
09:48:25,892 INF startup_utils: Waiting 598 sec for modules to be started.
09:48:26,942 INF startup_utils: Parsing kickstart: /usr/share/doc/lorax/rhel-livemedia.ks
09:48:27,205 WRN kickstart: Command xconfig will be parsed in DBus module.
09:48:27,205 WRN kickstart: Command keyboard will be parsed in DBus module.
09:48:27,205 WRN kickstart: Command timezone will be parsed in DBus module.
09:48:27,205 WRN kickstart: Command lang will be parsed in DBus module.
09:48:27,205 WRN kickstart: Command firewall will be parsed in DBus module.
09:48:27,207 WRN kickstart: Command auth will be parsed in DBus module.
09:48:27,207 WRN kickstart: Command selinux will be parsed in DBus module.
09:48:27,207 WRN kickstart: Command services will be parsed in DBus module.
09:48:27,207 WRN kickstart: Command bootloader will be parsed in DBus module.
09:48:27,210 INF bootloader: bootloader GRUB2 on X86 platform
09:48:27,212 WRN kickstart: Command clearpart will be parsed in DBus module.
09:48:27,212 WRN kickstart: Command rootpw will be parsed in DBus module.
09:48:27,225 INF flags: Not doing 'setup network module mode' in directory installation
09:48:27,229 DBG main: Network module set up to not touch runtime system
09:48:27,234 INF flags: Not doing 'activate keyboard' in directory installation
09:48:27,432 DBG localization: setting locale to: en_US.UTF-8
09:48:27,433 INF flags: Not doing 'networkInitialize' in directory installation
09:48:27,435 INF threading: Running Thread: AnaWaitForConnectingNMThread (140500874393344)
09:48:27,436 INF flags: Not doing 'write user interaction config file' in directory installation
09:48:27,437 DBG anaconda: setting display mode to TUI
09:48:27,437 DBG anaconda: working in noninteractive mode
09:48:27,447 WRN stdout: Not asking for VNC because of an automated install
09:48:27,447 INF anaconda: Display mode is set to 'noninteractive text mode'.
09:48:27,448 INF isys: 10228580 kB (9988 MB) are available
09:48:27,460 INF startup_utils: check_memory(): total:9988, needed:320, graphical:410
09:48:27,580 DBG installclass: Searching /usr/lib64/python3.6/site-packages/pyanaconda/installclasses.
09:48:27,585 DBG installclass: Found CentOS Linux (CentOSBaseInstallClass).
09:48:27,585 DBG installclass: Found Red Hat Enterprise Linux (DefaultInstallClass).
09:48:27,585 DBG installclass: Found Fedora (FedoraBaseInstallClass).
09:48:27,585 DBG installclass: Found Atomic Host (AtomicHostInstallClass).
09:48:27,586 DBG installclass: Found Fedora Server (FedoraServerInstallClass).
09:48:27,586 DBG installclass: Found Fedora Workstation (FedoraWorkstationInstallClass).
09:48:27,586 DBG installclass: Found Red Hat Enterprise Linux (RHELBaseInstallClass).
09:48:27,586 DBG installclass: Found Scientific Linux (ScientificBaseInstallClass).
09:48:27,586 INF installclass: Using a visible install class Red Hat Enterprise Linux (DefaultInstallClass).
09:48:27,589 DBG storage: trying to set new default luks version to 'luks2'
09:48:27,680 INF network: got 0 NTP servers from DHCP
09:48:27,687 INF threading: Thread Done: AnaWaitForConnectingNMThread (140500874393344)
09:48:27,721 DBG payload: getting release version from tree at None (8)
09:48:27,721 DBG payload: using default release version of 8
09:48:27,724 INF bootloader: bootloader GRUB2 on X86 platform
09:48:27,725 INF autopart: Detected 9.75 GiB of memory
09:48:27,726 INF autopart: Suggested swap size (4.88 GiB) exceeds 10 % of disk space, using 10 % of disk space (0.0) instead.
09:48:27,726 INF autopart: Swap attempt of 0.0
09:48:27,727 INF bootloader: bootloader GRUB2 on X86 platform
09:48:27,799 DBG storage_utils: LABEL=OEMDRV matches [] for devicetree=None and disks_only=True
09:48:27,805 INF flags: Not doing 'initialize time' in directory installation
09:48:27,811 DBG payload: Restarting payload thread
09:48:27,812 INF threading: Running Thread: AnaPayloadRestartThread (140500874393344)
09:48:27,813 INF geoloc: Geolocation is disabled for image or directory installation.
09:48:27,813 INF geoloc: Geolocation is disabled for image or directory installation.
09:48:27,814 INF flags: Not doing 'start chronyd' in directory installation
09:48:27,815 INF threading: Running Thread: AnaPayloadThread (140500608657152)
09:48:27,815 DBG payload: Updating payload thread state: 0
09:48:27,815 DBG payload: Updating payload thread state: 1
09:48:27,815 INF threading: Thread Done: AnaPayloadRestartThread (140500874393344)
09:48:27,816 DBG payload: Updating payload thread state: 2
09:48:27,816 DBG payload: Updating payload thread state: 4
09:48:27,837 DBG payload: retrieving treeinfo from http://URL-TO-BASEOS (proxy:  ; sslverify: True)
09:48:27,843 DBG simpleline: GLib event loop is used!
09:48:27,864 INF core.util: Skipping detection of SMT.
09:48:27,864 INF core.util: Skipping detection of unsupported hardware.
09:48:27,881 INF lifecycle: Adding controller: SummaryHub
09:48:27,942 INF lifecycle: Module initialized: LangSpoke
09:48:27,949 INF lifecycle: Module initialized: TimeSpoke
09:48:27,949 INF threading: Running Thread: AnaSourceWatcher (140500874393344)
09:48:27,950 INF threading: Running Thread: AnaSoftwareWatcher (140500526954240)
09:48:28,081 INF lifecycle: Module initialized: NetworkSpoke
09:48:28,087 WRN ui.tui.hubs: Spoke StorageSpoke initialization failure!
09:48:28,096 INF lifecycle: Module initialized: PasswordSpoke
09:48:28,107 WRN ui.tui.hubs: Spoke PasswordSpoke initialization failure!
09:48:28,108 INF lifecycle: Module initialized: UserSpoke
09:48:28,109 INF lifecycle: Initialization of all modules (7) has been started.
09:50:04,500 WRN payload: Install tree metadata fetching failed: Can't get .treeinfo file from the url http://URL-TO-BASEOS
09:50:04,500 DBG payload: getting release version from tree at http://URL-TO-BASEOS (8)
09:50:04,500 DBG payload: using default release version of 8
09:50:09,915 DBG payload: Updating payload thread state: 5
09:50:09,921 INF payload: Refreshing environmentAddons
09:50:09,922 ERR payload: No base repo configured
09:50:09,922 DBG payload: Updating payload thread state: -1
09:50:09,926 DBG payload: getting release version from tree at None (8)
09:50:09,926 DBG payload: using default release version of 8
09:50:09,928 INF threading: Thread Done: AnaPayloadThread (140500608657152)
09:50:09,928 INF lifecycle: Module initialized: SourceSpoke
09:50:09,929 DBG ui.tui.spokes.software_selection: Apply called old env None, new env None and addons set()
09:50:09,929 INF threading: Thread Done: AnaSourceWatcher (140500874393344)09:50:09,929 INF lifecycle: Module initialized: SoftwareSpoke

09:50:09,930 INF lifecycle: All modules have been initialized.
09:50:09,930 INF threading: Thread Done: AnaSoftwareWatcher (140500526954240)
09:50:10,312 DBG simpleline: Scheduling screen SummaryHub
09:50:10,313 DBG simpleline: New signal RenderScreenSignal enqueued with source ScreenScheduler
09:50:10,314 DBG simpleline: Scheduling screen ProgressSpoke
09:50:10,314 DBG simpleline: Starting main loop
09:50:10,315 DBG simpleline: Processing screen ScreenData(SummaryHub,None,False)
09:50:10,323 DBG payload: Source http://URL-TO-BASEOS needs network for installation
09:50:10,323 INF flags: Not doing 'require network connection' in directory installation
09:50:10,323 INF flags: Not doing 'require network connection' in directory installation
09:50:10,365 DBG simpleline: Input is required by ScreenData(SummaryHub,None,False) screen
09:50:10,366 DBG payload: Source http://URL-TO-BASEOS needs network for installation
09:50:10,366 INF flags: Not doing 'require network connection' in directory installation
09:50:10,367 ERR ui.tui.hubs.summary: CmdlineError: The following mandatory spokes are not completed:
Installation source
Software selection
09:50:10,367 DBG simpleline: New signal ExceptionSignal enqueued with source ScreenScheduler
09:50:10,368 DBG simpleline: Executing inner loop
09:50:10,368 DBG simpleline: New signal ExceptionSignal enqueued with source ScreenScheduler
09:50:10,368 ERR ui.tui: 
======= Screen stack =======
----------- TOP ------------
ScreenData(SummaryHub,None,False)
ScreenData(ProgressSpoke,None,False)
============================

09:50:10,368 DBG exception: running handleException
09:50:10,369 CRT exception: Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen_scheduler.py", line 245, in _process_screen
    top_screen.ui_screen.get_input_with_error_check(top_screen.args)

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/__init__.py", line 285, in get_input_with_error_check
    self._input_manager.get_input(args=args)

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/input_manager.py", line 91, in get_input
    prompt = self._ui_screen.prompt(args)

  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 119, in prompt
    raise CmdlineError(errtxt)

pyanaconda.errors.CmdlineError: The following mandatory spokes are not completed:
Installation source
Software selection

09:50:10,441 DBG exception: Gtk cannot be initialized
09:50:10,441 DBG exception: In the main thread, running exception handler

Ah, and there is another anaconda.log in the anaconda directory in my current working directory:

09:39:18,468 INF main: /sbin/anaconda 29.19.0.40-1.el8
09:39:18,528 INF isys: 10228580 kB (9988 MB) are available
09:39:18,537 INF startup_utils: check_memory(): total:9988, needed:320, graphical:410
09:39:18,537 INF startup_utils: Switching logging level to debug
09:39:18,537 INF flags: Not doing 'syslog setup' in directory installation
09:39:18,537 INF flags: Not doing 'early exception handler' in directory installation
09:39:18,538 INF flags: Not doing 'start audit daemon' in directory installation
09:39:18,538 INF main: anaconda called with cmdline = ['/sbin/anaconda', '--kickstart', '/usr/share/doc/lorax/rhel-livemedia.ks', '--cmdline', '--loglevel', 'debug', '--dirinstall', '--remotelog', '127.0.0.1:50761']
09:39:18,539 INF main: Default encoding = utf-8 
09:39:18,551 INF dbus.connection: Connecting to a default bus at unix:abstract=/tmp/dbus-x2REihpBSs,guid=553cf191baaa9648d857ecc85da32906.
09:39:18,881 INF startup_utils: Waiting 600 sec for modules to be started.
09:39:19,910 INF startup_utils: Waiting 599 sec for modules to be started.
09:39:20,922 INF startup_utils: Waiting 598 sec for modules to be started.
09:39:21,971 INF startup_utils: Parsing kickstart: /usr/share/doc/lorax/rhel-livemedia.ks
09:39:22,211 WRN kickstart: Command xconfig will be parsed in DBus module.
09:39:22,211 WRN kickstart: Command keyboard will be parsed in DBus module.
09:39:22,211 WRN kickstart: Command timezone will be parsed in DBus module.
09:39:22,211 WRN kickstart: Command lang will be parsed in DBus module.
09:39:22,212 WRN kickstart: Command firewall will be parsed in DBus module.
09:39:22,213 WRN kickstart: Command auth will be parsed in DBus module.
09:39:22,213 WRN kickstart: Command selinux will be parsed in DBus module.
09:39:22,213 WRN kickstart: Command services will be parsed in DBus module.
09:39:22,214 WRN kickstart: Command bootloader will be parsed in DBus module.
09:39:22,216 INF bootloader: bootloader GRUB2 on X86 platform
09:39:22,218 WRN kickstart: Command clearpart will be parsed in DBus module.
09:39:22,219 WRN kickstart: Command rootpw will be parsed in DBus module.
09:39:22,231 INF flags: Not doing 'setup network module mode' in directory installation
09:39:22,234 DBG main: Network module set up to not touch runtime system
09:39:22,239 INF flags: Not doing 'activate keyboard' in directory installation
09:39:22,406 DBG localization: setting locale to: en_US.UTF-8
09:39:22,406 INF flags: Not doing 'networkInitialize' in directory installation
09:39:22,407 INF threading: Running Thread: AnaWaitForConnectingNMThread (140177521178368)
09:39:22,408 INF flags: Not doing 'write user interaction config file' in directory installation
09:39:22,408 DBG anaconda: setting display mode to TUI
09:39:22,408 DBG anaconda: working in noninteractive mode
09:39:22,417 WRN stdout: Not asking for VNC because of an automated install
09:39:22,418 INF anaconda: Display mode is set to 'noninteractive text mode'.
09:39:22,418 INF isys: 10228580 kB (9988 MB) are available
09:39:22,438 INF startup_utils: check_memory(): total:9988, needed:320, graphical:410
09:39:22,556 INF network: got 0 NTP servers from DHCP
09:39:22,556 DBG installclass: Searching /usr/lib64/python3.6/site-packages/pyanaconda/installclasses.
09:39:22,558 INF threading: Thread Done: AnaWaitForConnectingNMThread (140177521178368)
09:39:22,562 DBG installclass: Found CentOS Linux (CentOSBaseInstallClass).
09:39:22,562 DBG installclass: Found Red Hat Enterprise Linux (DefaultInstallClass).
09:39:22,562 DBG installclass: Found Fedora (FedoraBaseInstallClass).
09:39:22,563 DBG installclass: Found Atomic Host (AtomicHostInstallClass).
09:39:22,563 DBG installclass: Found Fedora Server (FedoraServerInstallClass).
09:39:22,563 DBG installclass: Found Fedora Workstation (FedoraWorkstationInstallClass).
09:39:22,563 DBG installclass: Found Red Hat Enterprise Linux (RHELBaseInstallClass).
09:39:22,563 DBG installclass: Found Scientific Linux (ScientificBaseInstallClass).
09:39:22,563 INF installclass: Using a visible install class Red Hat Enterprise Linux (DefaultInstallClass).
09:39:22,566 DBG storage: trying to set new default luks version to 'luks2'
09:39:22,676 DBG payload: getting release version from tree at None (8)
09:39:22,677 DBG payload: using default release version of 8
09:39:22,679 INF bootloader: bootloader GRUB2 on X86 platform
09:39:22,680 INF autopart: Detected 9.75 GiB of memory
09:39:22,682 INF autopart: Suggested swap size (4.88 GiB) exceeds 10 % of disk space, using 10 % of disk space (0.0) instead.
09:39:22,682 INF autopart: Swap attempt of 0.0
09:39:22,682 INF bootloader: bootloader GRUB2 on X86 platform
09:39:22,752 DBG storage_utils: LABEL=OEMDRV matches [] for devicetree=None and disks_only=True
09:39:22,755 INF flags: Not doing 'initialize time' in directory installation
09:39:22,761 DBG payload: Restarting payload thread
09:39:22,761 INF threading: Running Thread: AnaPayloadRestartThread (140177521178368)
09:39:22,761 INF geoloc: Geolocation is disabled for image or directory installation.
09:39:22,763 INF geoloc: Geolocation is disabled for image or directory installation.
09:39:22,763 INF flags: Not doing 'start chronyd' in directory installation
09:39:22,763 INF threading: Running Thread: AnaPayloadThread (140177322465024)09:39:22,763 INF threading: Thread Done: AnaPayloadRestartThread (140177521178368)

09:39:22,764 DBG payload: Updating payload thread state: 0
09:39:22,764 DBG payload: Updating payload thread state: 1
09:39:22,764 DBG payload: Updating payload thread state: 2
09:39:22,764 DBG payload: Updating payload thread state: 4
09:39:22,781 DBG simpleline: GLib event loop is used!
09:39:22,788 DBG payload: retrieving treeinfo from http://URL-TO-BASEOS (proxy:  ; sslverify: True)
09:39:22,815 INF core.util: Skipping detection of SMT.
09:39:22,815 INF core.util: Skipping detection of unsupported hardware.
09:39:22,836 INF lifecycle: Adding controller: SummaryHub
09:39:22,894 INF lifecycle: Module initialized: LangSpoke
09:39:22,898 INF lifecycle: Module initialized: TimeSpoke
09:39:22,899 INF threading: Running Thread: AnaSourceWatcher (140177521178368)
09:39:22,899 INF threading: Running Thread: AnaSoftwareWatcher (140177310902016)
09:39:23,027 INF lifecycle: Module initialized: NetworkSpoke
09:39:23,032 WRN ui.tui.hubs: Spoke StorageSpoke initialization failure!
09:39:23,045 INF lifecycle: Module initialized: PasswordSpoke
09:39:23,049 WRN ui.tui.hubs: Spoke PasswordSpoke initialization failure!
09:39:23,050 INF lifecycle: Module initialized: UserSpoke
09:39:23,051 INF lifecycle: Initialization of all modules (7) has been started.
09:40:41,798 WRN payload: Install tree metadata fetching failed: Can't get .treeinfo file from the url http://URL-TO-BASEOS
09:40:41,798 DBG payload: getting release version from tree at http://URL-TO-BASEOS (8)
09:40:41,798 DBG payload: using default release version of 8
09:40:42,806 DBG payload: Updating payload thread state: 5
09:40:42,813 INF payload: Refreshing environmentAddons
09:40:42,813 ERR payload: No base repo configured
09:40:42,813 DBG payload: Updating payload thread state: -1
09:40:42,817 DBG payload: getting release version from tree at None (8)
09:40:42,817 DBG payload: using default release version of 8
09:40:42,819 INF threading: Thread Done: AnaPayloadThread (140177322465024)
09:40:42,819 INF lifecycle: Module initialized: SourceSpoke
09:40:42,820 INF threading: Thread Done: AnaSourceWatcher (140177521178368)
09:40:42,820 DBG ui.tui.spokes.software_selection: Apply called old env None, new env None and addons set()
09:40:42,820 INF lifecycle: Module initialized: SoftwareSpoke
09:40:42,821 INF lifecycle: All modules have been initialized.
09:40:42,821 INF threading: Thread Done: AnaSoftwareWatcher (140177310902016)
09:40:43,804 DBG simpleline: Scheduling screen SummaryHub
09:40:43,805 DBG simpleline: New signal RenderScreenSignal enqueued with source ScreenScheduler
09:40:43,806 DBG simpleline: Scheduling screen ProgressSpoke
09:40:43,806 DBG simpleline: Starting main loop
09:40:43,807 DBG simpleline: Processing screen ScreenData(SummaryHub,None,False)
09:40:43,815 DBG payload: Source http://URL-TO-BASEOS needs network for installation
09:40:43,816 INF flags: Not doing 'require network connection' in directory installation
09:40:43,816 INF flags: Not doing 'require network connection' in directory installation
09:40:43,859 DBG simpleline: Input is required by ScreenData(SummaryHub,None,False) screen
09:40:43,860 DBG payload: Source http://URL-TO-BASEOS needs network for installation
09:40:43,860 INF flags: Not doing 'require network connection' in directory installation
09:40:43,862 ERR ui.tui.hubs.summary: CmdlineError: The following mandatory spokes are not completed:
Installation source
Software selection
09:40:43,862 DBG simpleline: New signal ExceptionSignal enqueued with source ScreenScheduler
09:40:43,862 DBG simpleline: Executing inner loop
09:40:43,862 DBG simpleline: New signal ExceptionSignal enqueued with source ScreenScheduler
09:40:43,863 ERR ui.tui: 
======= Screen stack =======
----------- TOP ------------
ScreenData(SummaryHub,None,False)
ScreenData(ProgressSpoke,None,False)
============================

09:40:43,863 DBG exception: running handleException
09:40:43,864 CRT exception: Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen_scheduler.py", line 245, in _process_screen
    top_screen.ui_screen.get_input_with_error_check(top_screen.args)

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/__init__.py", line 285, in get_input_with_error_check
    self._input_manager.get_input(args=args)

  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/input_manager.py", line 91, in get_input
    prompt = self._ui_screen.prompt(args)

  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 119, in prompt
    raise CmdlineError(errtxt)

pyanaconda.errors.CmdlineError: The following mandatory spokes are not completed:
Installation source
Software selection

09:40:43,928 DBG exception: Gtk cannot be initialized
09:40:43,928 DBG exception: In the main thread, running exception handler

@probonopd
Copy link
Author

Maybe an update helps and whatever came with the RHEL 8 ISO is already outdated?

[user@localhost ~]$ sudo yum install anaconda lorax
(...)
  anaconda-core-29.19.0.43-1.el8_0.x86_64                                       
  anaconda-gui-29.19.0.43-1.el8_0.x86_64                                        
  anaconda-tui-29.19.0.43-1.el8_0.x86_64                                        
  anaconda-widgets-29.19.0.43-1.el8_0.x86_64                                    
  blivet-data-1:3.1.0-12.el8_0.noarch                                           
  python3-blivet-1:3.1.0-12.el8_0.noarch    

This time:

[root@localhost user]# livemedia-creator --make-iso --ks /usr/share/doc/lorax/rhel-livemedia.ks --iso=/mnt/Linux_Software/Linux\ Distros/CentOS-8-x86_64-1905-dvd1.iso
2019-10-13 09:58:23,076: livemedia-creator v28.14.23-1
2019-10-13 09:58:23,077: selinux is enabled and in Permissive mode
2019-10-13 09:58:23,189: disk_img = /var/tmp/lmc-disk-4uh7dwy7.img
2019-10-13 09:58:23,189: Using disk size of 6658MiB
2019-10-13 09:58:23,190: install_log = /home/user/virt-install.log
2019-10-13 09:58:23,413: qemu vnc=127.0.0.1:0
2019-10-13 09:58:23,414: Running qemu
2019-10-13 09:58:23,459: Processing logs from ('127.0.0.1', 33924)
2019-10-13 10:01:17,639: Installation error detected. See logfile for details.
2019-10-13 10:01:17,639: VirtualInstall failed: QEMUInstall failed
2019-10-13 10:01:17,639: unmounting the iso
2019-10-13 10:01:17,716: Install failed: QEMUInstall failed
2019-10-13 10:01:17,716: Removing bad disk image
2019-10-13 10:01:17,716: ERROR: Image creation failed: QEMUInstall failed
2019-10-13 10:01:17,717: Image creation failed: QEMUInstall failed

See logfile for details.

Which logfile? Let me attach them all:

[root@localhost user]# mkdir -p logs && find . -type f -maxdepth 2 -name '*.log' -exec cp {} logs/ \; 

logs.zip

@probonopd
Copy link
Author

probonopd commented Oct 13, 2019

This does produce an ISO:

[user@localhost ~]$ git clone https://github.com/alphacc/eight-livecd
[user@localhost ~]$ cd eight-livecd/
[user@localhost eight-livecd]$ sudo setenforce 0
[user@localhost eight-livecd]$ sudo livemedia-creator --ks ks/el8-livemedia-minimal.ks --no-virt --resultdir media/el8 --project RHEL-8-live --make-iso --iso-only --iso-name RHEL-8-live-x86_64.iso --releasever 8 --volid RHEL-8-live --title RHEL-live --macboot

But I want to do without the third-party https://github.com/alphacc/eight-livecd. This one is also "Downloading 650 RPMs", which I don't want, and it is missing the whole GNOME desktop.

Also, I am getting GUI notifications about SELINUX stuff, regarding groupadd and useradd. I thought I had disabled SELINUX?!

@bcl
Copy link
Contributor

bcl commented Oct 14, 2019

github issues really aren't the best for these kinds of problems. The mailing list and bugzilla (for attaching logs) is better. It looks like you have things working now, but here are a few observations:

  • Forget NTFS, don't try to complicate things when you are first trying to get them working.
  • --iso should point to the boot.iso file, not to a drive. A drive may work, but I do not test that.
  • --no-virt does not use --iso, it uses the anaconda installed on the host so you can drop it.
  • If the anaconda log is saying the Installation Source spoke is incomplete that means your url and repo lines in the kickstart are wrong, or there is a network problem.
  • This should all be working with SELinux in Enforcing, but when debugging issues it doesn't hurt to set it to Permissive until you have a working process.

You can ignore the 'Unable to init server ...' and 'Gtk cannot be initialized' errors, they are side effects of other errors.

And yes, the CentOS 8 release lags behind RHEL 8, but it should be working.

@zfred68
Copy link

zfred68 commented Jun 2, 2021

the "Unable to init server", it is very easy to overlook that you indeed have network working within your build (chroot or mock or other) environment. test a wget or ping command, check your /etc/resolv.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants