Lukas Zapletal
2016-03-01 13:07:15 UTC
Hello,
I build live images of RHEL/CentOS 7 with traditional tools [1] and I am
wondering if I could use Lorax utilities to do the same. I understand
that RHEL7 has dated Anaconda and Yum, but maybe I do things wrong:
[***@lzapx foreman-discovery-image]$ sudo livemedia-creator --make-iso --iso /mnt/data/isos/CentOS-7-x86_64-Everything-1511.iso --ks fdi-image.ks
2016-03-01 13:42:20,604: disk_size = 1026MiB
2016-03-01 13:42:20,605: disk_img = /var/tmp/disk7vld5vjj.img
2016-03-01 13:42:20,605: install_log = /home/lzap/work/foreman-discovery-image/virt-install.log
2016-03-01 13:42:20,638: Running virt-install.
2016-03-01 13:42:21,532: Processing logs from ('127.0.0.1', 53448)
...
2016-03-01 13:42:51,827: Installation error detected. See logfile.
2016-03-01 13:42:51,828: Shutting down LiveOS-0b814a3b-331d-4c21-9560-dd8f291557be
Domain LiveOS-0b814a3b-331d-4c21-9560-dd8f291557be destroyed
Domain LiveOS-0b814a3b-331d-4c21-9560-dd8f291557be has been undefined
2016-03-01 13:42:52,093: Shutting down log processing
2016-03-01 13:42:52,093: unmounting the iso
2016-03-01 13:42:52,125: Install failed: virt_install failed on line: 12:42:46,593 CRIT anaconda: Traceback (most recent call last):#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 348, in _mainloop#012 prompt = last_screen.prompt(self._screens[-1][1])#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 85, in prompt#012 raise CmdlineError(errtxt)#012#012CmdlineError: The following mandatory spokes are not completed:#012Installation Destination
2016-03-01 13:42:52,126: Removing bad disk image
2016-03-01 13:42:52,126: ERROR: Image creation failed: virt_install failed on line: 12:42:46,593 CRIT anaconda: Traceback (most recent call last):#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 348, in _mainloop#012 prompt = last_screen.prompt(self._screens[-1][1])#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 85, in prompt#012 raise CmdlineError(errtxt)#012#012CmdlineError: The following mandatory spokes are not completed:#012Installation Destination
[***@lzapx foreman-discovery-image]$ cat fdi-image.ks | paste
http://sprunge.us/dQWA
If that's not possible, are there plans to backport things into RHEL7?
Thanks for advice!
[1] https://github.com/theforeman/foreman-discovery-image
I build live images of RHEL/CentOS 7 with traditional tools [1] and I am
wondering if I could use Lorax utilities to do the same. I understand
that RHEL7 has dated Anaconda and Yum, but maybe I do things wrong:
[***@lzapx foreman-discovery-image]$ sudo livemedia-creator --make-iso --iso /mnt/data/isos/CentOS-7-x86_64-Everything-1511.iso --ks fdi-image.ks
2016-03-01 13:42:20,604: disk_size = 1026MiB
2016-03-01 13:42:20,605: disk_img = /var/tmp/disk7vld5vjj.img
2016-03-01 13:42:20,605: install_log = /home/lzap/work/foreman-discovery-image/virt-install.log
2016-03-01 13:42:20,638: Running virt-install.
2016-03-01 13:42:21,532: Processing logs from ('127.0.0.1', 53448)
...
2016-03-01 13:42:51,827: Installation error detected. See logfile.
2016-03-01 13:42:51,828: Shutting down LiveOS-0b814a3b-331d-4c21-9560-dd8f291557be
Domain LiveOS-0b814a3b-331d-4c21-9560-dd8f291557be destroyed
Domain LiveOS-0b814a3b-331d-4c21-9560-dd8f291557be has been undefined
2016-03-01 13:42:52,093: Shutting down log processing
2016-03-01 13:42:52,093: unmounting the iso
2016-03-01 13:42:52,125: Install failed: virt_install failed on line: 12:42:46,593 CRIT anaconda: Traceback (most recent call last):#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 348, in _mainloop#012 prompt = last_screen.prompt(self._screens[-1][1])#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 85, in prompt#012 raise CmdlineError(errtxt)#012#012CmdlineError: The following mandatory spokes are not completed:#012Installation Destination
2016-03-01 13:42:52,126: Removing bad disk image
2016-03-01 13:42:52,126: ERROR: Image creation failed: virt_install failed on line: 12:42:46,593 CRIT anaconda: Traceback (most recent call last):#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 348, in _mainloop#012 prompt = last_screen.prompt(self._screens[-1][1])#012#012 File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 85, in prompt#012 raise CmdlineError(errtxt)#012#012CmdlineError: The following mandatory spokes are not completed:#012Installation Destination
[***@lzapx foreman-discovery-image]$ cat fdi-image.ks | paste
http://sprunge.us/dQWA
If that's not possible, are there plans to backport things into RHEL7?
Thanks for advice!
[1] https://github.com/theforeman/foreman-discovery-image
--
Later,
Lukas #lzap Zapletal
Later,
Lukas #lzap Zapletal