Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1395350

Summary: AttributeError: 'StorageDiscoveryConfig' object has no attribute 'protectedDevSpecs'
Product: [Fedora] Fedora Reporter: Jeremy Linton <jeremy.linton>
Component: anacondaAssignee: Vendula Poncova <vponcova>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, pbrobinson, pwhalen, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard: abrt_hash:7837d66e802bbf016711656ba2c297423b6c2f202fbec6a5a98b7968baadde7e;
Fixed In Version: anaconda-26.17-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-06 17:28:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 922257    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description Jeremy Linton 2016-11-15 18:04:37 UTC
Description of problem:
Install from Local ISO file on HD fails

Version-Release number of selected component:
anaconda-25.20.4-1

The following was filed automatically by anaconda:
anaconda 25.20.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/helpers.py", line 166, in set_source_hdd_iso
    self.storage.config.protectedDevSpecs.append(device.name)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/spokes/source.py", line 510, in apply
    self.set_source_hdd_iso(self._device, self._current_iso_path)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/spokes/source.py", line 462, in input
    self.apply()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 446, in input
    key = self._screens[-1][0].input(args, key)
AttributeError: 'StorageDiscoveryConfig' object has no attribute 'protectedDevSpecs'

Additional info:
addons:         com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-aarch64-25 ro acpi=force inst.text
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc7.git0.1.fc25.aarch64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 Jeremy Linton 2016-11-15 18:04:42 UTC
Created attachment 1220879 [details]
File: anaconda-tb

Comment 2 Jeremy Linton 2016-11-15 18:04:43 UTC
Created attachment 1220880 [details]
File: anaconda.log

Comment 3 Jeremy Linton 2016-11-15 18:04:44 UTC
Created attachment 1220881 [details]
File: dnf.librepo.log

Comment 4 Jeremy Linton 2016-11-15 18:04:46 UTC
Created attachment 1220882 [details]
File: environ

Comment 5 Jeremy Linton 2016-11-15 18:04:47 UTC
Created attachment 1220883 [details]
File: hawkey.log

Comment 6 Jeremy Linton 2016-11-15 18:04:48 UTC
Created attachment 1220884 [details]
File: lsblk_output

Comment 7 Jeremy Linton 2016-11-15 18:04:49 UTC
Created attachment 1220885 [details]
File: nmcli_dev_list

Comment 8 Jeremy Linton 2016-11-15 18:04:50 UTC
Created attachment 1220886 [details]
File: os_info

Comment 9 Jeremy Linton 2016-11-15 18:04:52 UTC
Created attachment 1220887 [details]
File: storage.log

Comment 10 Jeremy Linton 2016-11-15 18:04:53 UTC
Created attachment 1220888 [details]
File: syslog

Comment 11 Jeremy Linton 2016-11-15 18:04:54 UTC
Created attachment 1220889 [details]
File: ifcfg.log

Comment 12 Jeremy Linton 2016-11-15 18:04:55 UTC
Created attachment 1220890 [details]
File: packaging.log

Comment 13 Jeremy Linton 2016-11-15 18:04:57 UTC
Created attachment 1220891 [details]
File: program.log

Comment 14 Jeremy Linton 2016-11-15 18:06:36 UTC
This can be reproduced by booting with inst.text and doing the following.



================================================================================
VNC

Text mode provides a limited set of installation options. It does not offer
custom partitioning for full control over the disk layout. Would you like to use
VNC mode instead?

 1) Start VNC

 2) Use text mode

  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 2
================================================================================
================================================================================
Installation

 1) [x] Language settings                 2) [!] Time settings
        (English (United States))                (Timezone is not set.)
 3) [!] Installation source               4) [!] Software selection
        (Processing...)                          (Processing...)
 5) [!] Installation Destination          6) [x] Network configuration
        (No disks selected)                      (Wired (enp8s0) connected)
 7) [!] Root password                     8) [!] User creation
        (Password is not set.)                   (No user will be created)
  Please make your choice from above ['q' to quit | 'b' to begin installation |
  'r' to refresh]: 3
================================================================================
================================================================================
Installation source

Choose an installation source type.
 1)  CD/DVD
 2)  local ISO file
 3)  Network
  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 2
================================================================================
================================================================================
Select device containing the ISO file

 1)  Crucial CT128MX1 /dev/sda1 (2 GiB MB) EFI System Partition 7BEB-06AB
 2)  Crucial CT128MX1 /dev/sda2 (100 GiB MB) ext3
     eb89ce61-8d63-48a4-b39f-e47c1585731b
  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 2
================================================================================
================================================================================
Select an ISO to use as install source

 1)  Fedora-Server-dvd-aarch64-25_Beta-1.2.iso
 2)  Fedora-Server-dvd-aarch64-25-20161017.n.0.iso
  Please make your choice from above ['q' to quit | 'c' to continue |
  'r' to refresh]: 2

An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details

===============================================================================
An unknown error has occurred
===============================================================================

Comment 15 Vendula Poncova 2017-01-03 09:00:39 UTC
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/912

Comment 16 Peter Robinson 2017-08-06 17:28:33 UTC
Fixed