Bug 1665473 - Installation from live iso doesn't start [NEEDINFO]
Summary: Installation from live iso doesn't start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On: 1678953
Blocks: 1515824
TreeView+ depends on / blocked
 
Reported: 2019-01-11 14:18 UTC by Jan Stodola
Modified: 2020-11-04 03:23 UTC (History)
7 users (show)

Fixed In Version: anaconda-33.16.3.1-2
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:22:50 UTC
Type: Bug
Target Upstream Version:
jikortus: needinfo? (rvykydal)


Attachments (Terms of Use)
journalctl (205.43 KB, text/plain)
2019-01-11 14:19 UTC, Jan Stodola
no flags Details
anaconda.log (1.27 KB, text/plain)
2019-01-11 14:19 UTC, Jan Stodola
no flags Details
dbus.log (3.61 KB, text/plain)
2019-01-11 14:19 UTC, Jan Stodola
no flags Details
program.log (7.09 KB, text/plain)
2019-01-11 14:20 UTC, Jan Stodola
no flags Details
storage.log (17.83 KB, text/plain)
2019-01-11 14:20 UTC, Jan Stodola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4729 0 None None None 2020-11-04 03:23:13 UTC

Description Jan Stodola 2019-01-11 14:18:32 UTC
Description of problem:
A live iso image was built using livemedia-creator and a provided rhel-livemedia.ks, both are part of the lorax package.
The installer doesn't show after clicking the "Install to Hard Drive" icon and the following traceback can be found in journalctl: 

Starting installer, one moment...
terminal size detection failed, using default width
anaconda 29.19.0.30-1.el8 for Red Hat Enterprise Linux 8.0 (pre-release) started. 
 * installation log files are stored in /tmp during the installation
 * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2)
 * when reporting a bug add logs from /tmp as separate text/plain attachments
Traceback (most recent call last):
  File "/sbin/anaconda", line 582, in <module>
    startup_utils.set_installation_method_from_anaconda_options(anaconda, ksdata)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/startup_utils.py", line 407, in set_installation_method_from_anaconda_options
    ksdata.method.method = source.method_type
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 91, in __setattr__
    super(FC3_Method, self).__setattr__(name, value)
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 69, in method
    self._get_command(value).seen = True
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 48, in _get_command
    raise AttributeError("Unknown method: {}".format(method))
AttributeError: Unknown method: livecd

Version-Release number of selected component (if applicable):
lorax-28.14.21-1.el8
anaconda-29.19.0.30-1.el8

How reproducible:
always

Steps to Reproduce:
1. yum install lorax
2. make a copy of /usr/share/doc/lorax/rhel-livemedia.ks and modify installation urls and root password
2. livemedia-creator --make-iso --ks rhel-livemedia.ks --no-virt
3. boot the created boot.iso and try to install to hard drive

Actual results:
Installer not started, traceback in journalctl

Expected results:
Installer starts successfully

Comment 1 Jan Stodola 2019-01-11 14:19:29 UTC
Created attachment 1520032 [details]
journalctl

Comment 2 Jan Stodola 2019-01-11 14:19:43 UTC
Created attachment 1520033 [details]
anaconda.log

Comment 3 Jan Stodola 2019-01-11 14:19:58 UTC
Created attachment 1520034 [details]
dbus.log

Comment 4 Jan Stodola 2019-01-11 14:20:14 UTC
Created attachment 1520035 [details]
program.log

Comment 5 Jan Stodola 2019-01-11 14:20:29 UTC
Created attachment 1520036 [details]
storage.log

Comment 10 Jasper O'neal Hartline 2019-09-10 18:20:27 UTC
You should try to install anaconda-runtime in your %packages section of your ks.cfg
So try that anaconda-runtime

Comment 11 Massimiliano 2020-01-11 16:42:29 UTC
The same while attempting to install a live image built with CentOS 8:

Starting installer, one moment...
anaconda 29.19.0.43-1.el8_0 for CentOS Linux 8.0.1905 (pre-release) started.
 * installation log files are stored in /tmp during the installation
 * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2)
 * when reporting a bug add logs from /tmp as separate text/plain attachments
Traceback (most recent call last):
  File "/sbin/anaconda", line 582, in <module>
    startup_utils.set_installation_method_from_anaconda_options(anaconda, ksdata)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/startup_utils.py", line 407, in set_installation_method_from_anaconda_options
    ksdata.method.method = source.method_type
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 91, in __setattr__
    super(FC3_Method, self).__setattr__(name, value)
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 69, in method
    self._get_command(value).seen = True
  File "/usr/lib/python3.6/site-packages/pykickstart/commands/method.py", line 48, in _get_command
    raise AttributeError("Unknown method: {}".format(method))
AttributeError: Unknown method: livecd

It seems related to bug #1622248

Comment 16 Scott Dowdle 2020-08-23 06:36:33 UTC
What info is needed?

I'm having the problem too.  The only way I can build live media is with cockpit-composer... and anaconda seems to no longer understand what a livecd install is.

Comment 18 Jan Stodola 2020-09-08 19:17:12 UTC
Executing the installer using 'sudo /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base' is not a supported way of installation from live media even on Fedora, so the problems described in the comments above won't/can't be fixed.

Testing was done using anaconda-33.16.3.21-1.el8 and the package anaconda-live-33.16.3.21-1.el8. The installer started and it was possible to finish the installation and boot the installed system.
Please note that the package anaconda-live is not part of BaseOS/AppStream, since RHEL installations from live media are not supported in RHEL-8.3.
The problem with anaconda-live being expected by rhel-livemedia.ks from lorax is tracked in bug 1876563.

Moving to VERIFIED.

Comment 21 errata-xmlrpc 2020-11-04 03:22:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4729


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