Bug 1099222 - liveimg payload in text mode does not work
Summary: liveimg payload in text mode does not work
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-19 19:28 UTC by Fabian Deutsch
Modified: 2014-09-11 14:35 UTC (History)
5 users (show)

Fixed In Version: anaconda-21.35-1
Clone Of:
Environment:
Last Closed: 2014-09-11 14:35:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to hide some spokes (1.72 KB, text/plain)
2014-09-09 15:51 UTC, Fabian Deutsch
no flags Details
source spoke is shwon (40.13 KB, application/octet-stream)
2014-09-09 15:52 UTC, Fabian Deutsch
no flags Details

Description Fabian Deutsch 2014-05-19 19:28:42 UTC
Description of problem:
liveimg payload in text mode does not work.

Version-Release number of selected component (if applicable):
Fedora 19

How reproducible:
Always

Steps to Reproduce:
1. $ cat /usr/share/anaconda/interactive-defaults.ks 
# Kickstart defaults file for an interative install.
# This is not loaded if a kickstart file is provided on the command line.
auth --enableshadow --passalgo=sha512
bootloader --location=mbr
firstboot --enable

liveimg --url=file:///dev/mappe/HostVG-Image--0.0

2. anaconda -T
3.

Actual results:
…
Installation

 1) [!] Timezone settings                 2) [!] Installation source
        (Timezone is not set.)                   (Processing...)
 3) [!] Software selection                4) [!] Installation Destination
        (Processing...)                          (No disks selected)
 5) [x] Network configuration             6) [!] Root password
        (Wired (ens3) connected)                 (Password is not set.)
 7) [!] User creation
        (No user will be created)
  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details

===============================================================================
An unknown error has occurred
===============================================================================
anaconda 20.25.16-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 255, in environments
    raise NotImplementedError()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/software.py", line 68, in _initialize
    self.payload.environments
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 192, in run
    threading.Thread.run(self, *args, **kwargs)
NotImplementedError

What do you want to do now?
1) Report Bug
2) Debug
3) Run shell
4) Quit

Please make your choice from above: 


Expected results:
anaconda uses the liveimg pointed to by --url

Additional info:

Comment 1 Fabian Deutsch 2014-09-09 15:51:07 UTC
Created attachment 935804 [details]
patch to hide some spokes

I am still seeing this with the netinst iso from Fedora 20.

I investigated this a bit, one issue is that the TUI tries to initialize the source and software spokes (with a liveimg payload).

The attached patch 0001 will at least set the "showability" of the two spokes to False, if a liveimg is used.

But I'm seeing more problems - the installation source spoke is still shown, and the hint is saying that no source is selected (see next screenshot).

Comment 2 Fabian Deutsch 2014-09-09 15:52:35 UTC
Created attachment 935805 [details]
source spoke is shwon

Comment 3 Fabian Deutsch 2014-09-09 15:53:11 UTC
The ks used is:

$ cat boot.ks 
selinux --enforcing
network --bootproto=dhcp
rootpw --plaintext r
firstboot --disable

reboot


clearpart --all --initlabel
bootloader --append="console=ttyS0" --timeout=1

part / --size=3096 --fstype=ext4 --label=Image-0.0 --fsoptions=discard


liveimg --url=rootfs.tar.xz

Comment 4 Fabian Deutsch 2014-09-11 14:35:29 UTC
This is going to be fixed in F21.


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