On 3/29/20 1:24 PM, Matthew Miller wrote:
Maybe. I'll point the people working on the project at this and see what
they say.
I also tried taking a step back and building a more basic image with
cockpit. I get this error with any blueprint I create as well as the
example blueprints(I've tried to make both a raw image and .iso, same
issue):
2020-03-29 13:33:48,266 ERROR: Running anaconda failed: process
'['unshare', '--pid', '--kill-child', '--mount',
'--propagation',
'unchanged', 'anaconda', '--kickstart',
'/var/lib/lorax/composer/results/3d6fdcc1-9632-4854-be87-b850ad865a8f/final-kickstart.ks',
'--cmdline', '--loglevel', 'debug', '--dirinstall',
'--remotelog',
'127.0.0.1:33571']' exited with status 1
2020-03-29 13:34:41,512 INFO: Running... umount /mnt/sysimage
2020-03-29 13:34:41,710 DEBUG: Return code: 0
2020-03-29 13:34:41,711 ERROR: Install failed: novirt_install failed
2020-03-29 13:34:41,712 INFO: Removing bad disk image
2020-03-29 13:34:41,714 ERROR: ERROR: Image creation failed:
novirt_install failed
2020-03-29 13:34:41,717 DEBUG: Install finished, chowning results to
root:weldr
2020-03-29 13:34:41,732 ERROR: traceback: Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/pylorax/installer.py", line
397, in novirt_install
callback=lambda p: not novirt_cancel_check(cancel_funcs, p)):
File "/usr/lib/python3.7/site-packages/pylorax/executils.py", line
317, in __next__
(self._argv, self._proc.returncode))
OSError: process '['unshare', '--pid', '--kill-child',
'--mount',
'--propagation', 'unchanged', 'anaconda', '--kickstart',
'/var/lib/lorax/composer/results/3d6fdcc1-9632-4854-be87-b850ad865a8f/final-kickstart.ks',
'--cmdline', '--loglevel', 'debug', '--dirinstall',
'--remotelog',
'127.0.0.1:33571']' exited with status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/pylorax/creator.py", line 669,
in run_creator
disk_img = make_image(opts, ks, cancel_func=cancel_func)
File "/usr/lib/python3.7/site-packages/pylorax/creator.py", line 478,
in make_image
novirt_install(opts, disk_img, disk_size, cancel_func=cancel_func,
tar_img=tar_img)
File "/usr/lib/python3.7/site-packages/pylorax/installer.py", line
424, in novirt_install
raise InstallError("novirt_install failed")
pylorax.installer.InstallError: novirt_install failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/pylorax/api/queue.py", line
162, in monitor
make_compose(cfg, os.path.realpath(dst))
File "/usr/lib/python3.7/site-packages/pylorax/api/queue.py", line
267, in make_compose
run_creator(install_cfg, cancel_func=cancel_build)
File "/usr/lib/python3.7/site-packages/pylorax/creator.py", line 672,
in run_creator
raise RuntimeError("Image creation failed: %s" % e)
RuntimeError: Image creation failed: novirt_install failed
I haven't looked too deeply at this error yet, just thought I might as
well share it.
I think "Installation Destination (Kickstart insufficient)"
is a complaint
about something in the storage definition part of the kickstart file. Can
you post that part of the flattened ks file?
Sure thing:
# System bootloader configuration
bootloader --location=mbr
# Disk partitioning information
part /boot/efi --asprimary --fstype="vfat" --size=80
part /boot --asprimary --fstype="ext4" --size=512
part / --fstype="ext4" --size=1400
> I used the following command to attempt to create the image:
> livemedia-creator --make-disk --ks $1 --image-only --no-virt
> --resultdir /home/rpi/build/image --releasever 30 --image-name
> Fedora30BuildTEST
And the $1 in this case is a argument with the actual ks file, right? Just
checking :)
Correct :)
Any chance you have some input on the image-factory error: "Guest
disabled display"?
Just kinda tries building for a while until it fails with only that
message outputted as an image.
Thank you,
Fabrizio