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

Given example for mock shell usage does not work for r9 branch on fedora 36 #3

Open
flo-rian opened this issue Oct 17, 2022 · 2 comments
Assignees

Comments

@flo-rian
Copy link

# livemedia-creator --ks Rocky-9-Workstation.ks   --no-virt   --resultdir /var/lmc   --project="Rocky Linux"   --make-iso   --volid Rocky-Workstation-9   --iso-only   --iso-name Rocky-Workstation-9-x86_64.iso   --releasever=9   --nomacboot
2022-10-17 18:15:07,293: livemedia-creator v34.9.14-1
2022-10-17 18:15:07,293: selinux is Disabled
/usr/lib/python3.9/site-packages/pykickstart/commands/partition.py:448: KickstartParseWarning: A partition with the mountpoint / has already been defined.
  warnings.warn(_("A partition with the mountpoint %s has already been defined.") % pd.mountpoint, KickstartParseWarning)
2022-10-17 18:15:07,334: disk_img = /var/lmc/lmc-disk-bbegxw_d.img
2022-10-17 18:15:07,334: Using disk size of 7752MiB
2022-10-17 18:15:07,472: Running anaconda.
2022-10-17 18:15:09,477: Starting installer, one moment...
2022-10-17 18:15:09,477: terminal size detection failed, using default width
2022-10-17 18:15:09,477: anaconda 34.25.0.29-1.el9_0.rocky.0.3 for Rocky Linux 9 (pre-release) started.
2022-10-17 18:15:09,477: 18:15:09 Service org.fedoraproject.Anaconda.Modules.Storage has failed to start: Process org.fedoraproject.Anaconda.Modules.Storage exited with status 1
2022-10-17 18:15:19,489: Running anaconda failed: process '['unshare', '--pid', '--kill-child', '--mount', '--propagation', 'unchanged', 'anaconda', '--kickstart', '/builddir/kickstarts/Rocky-9-Workstation.ks', '--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:41015']' exited with status 1
2022-10-17 18:16:07,564: Install failed: novirt_install failed
2022-10-17 18:16:07,564: Removing bad disk image
2022-10-17 18:16:07,565: ERROR: Image creation failed: novirt_install failed
2022-10-17 18:16:07,565: Image creation failed: novirt_install failed

My original intention was to use the Rocky-9-GenericCloud-LVM.ks kickstart, which failed with numerous other issues

  • livemedia-creator complained about package dracut-live not beeing included. I've added this to the kickstart file and that error went away.
  • livemedia-creator complained text install method must not be specified. So I removed that from the kickstart file.
  • Next error: Only url, nfs and ostreesetup install methods are currently supported.Please fix your kickstart file. As I don't know enough about the underlying tools I tried to use the kickstart file given in the example (Rocky-9-Workstation.ks)
valentin-nasta pushed a commit to valentin-nasta/kickstarts that referenced this issue Feb 24, 2023
… from lumarel/kickstarts:feature/vagrant-vmware-ks-rl8 into r8

Reviewed-on: https://git.resf.org/sig_core/kickstarts/pulls/3
@brandonilester
Copy link

I'm experiencing the same issue, but on F39.

@NeilHanlon
Copy link
Member

hi folks, we've gone through a lot of variation on how we're building images, but I will work to unify our documentation (and these Kickstarts) in the coming months.

@NeilHanlon NeilHanlon self-assigned this Feb 6, 2024
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