Bug 1134536

Summary: AttributeError: 'Flags' object has no attribute 'targetarch'
Product: [Fedora] Fedora Reporter: Mark Hamzy <hamzy>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard: abrt_hash:48060d2c5b859bbe25170ddd4a76591687ecb642dd64ad7a0d9e700aad8ebd01
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-27 19:53:04 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Mark Hamzy 2014-08-27 17:30:14 UTC
Description of problem:


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

The following was filed automatically by anaconda:
anaconda 21.48.1-1 exception report
Traceback (most recent call first):
  File "/usr/share/anaconda/addons/com_redhat_kdump/common.py", line 65, in getMemoryBounds
    if flags.targetarch == 'ppc64':
  File "/usr/share/anaconda/addons/com_redhat_kdump/tui/spokes/kdump.py", line 50, in <module>
    lower, upper ,step = getMemoryBounds()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/common.py", line 600, in collect
    __import__(module_pattern % mod_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/__init__.py", line 159, in _collectActionClasses
    standalones.extend(collect(module_pattern, path, lambda obj: issubclass(obj, standalone_class) and \
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 153, in setup
    spokes = self._collectActionClasses(self.paths["spokes"], StandaloneSpoke)
  File "/sbin/anaconda", line 1352, in <module>
    anaconda._intf.setup(ksdata)
AttributeError: 'Flags' object has no attribute 'targetarch'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz ro
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.0-1.fc21.ppc64le
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        21

Potential duplicate: bug 1120900

Comment 1 Mark Hamzy 2014-08-27 17:30:16 UTC
Created attachment 931606 [details]
File: anaconda-tb

Comment 2 Mark Hamzy 2014-08-27 17:30:16 UTC
Created attachment 931607 [details]
File: anaconda.log

Comment 3 Mark Hamzy 2014-08-27 17:30:17 UTC
Created attachment 931608 [details]
File: environ

Comment 4 Mark Hamzy 2014-08-27 17:30:18 UTC
Created attachment 931609 [details]
File: lsblk_output

Comment 5 Mark Hamzy 2014-08-27 17:30:18 UTC
Created attachment 931610 [details]
File: nmcli_dev_list

Comment 6 Mark Hamzy 2014-08-27 17:30:19 UTC
Created attachment 931611 [details]
File: os_info

Comment 7 Mark Hamzy 2014-08-27 17:30:20 UTC
Created attachment 931612 [details]
File: program.log

Comment 8 Mark Hamzy 2014-08-27 17:30:21 UTC
Created attachment 931613 [details]
File: storage.log

Comment 9 Mark Hamzy 2014-08-27 17:30:22 UTC
Created attachment 931614 [details]
File: syslog

Comment 10 Mark Hamzy 2014-08-27 17:30:23 UTC
Created attachment 931615 [details]
File: ifcfg.log

Comment 11 Mark Hamzy 2014-08-27 17:30:24 UTC
Created attachment 931616 [details]
File: packaging.log

Comment 12 Mark Hamzy 2014-08-27 19:53:04 UTC
I was using a old version of kexec-tools-anaconda-addon

<mock-chroot>[root@ppc64lehamzytest1 ~]# find /var/cache/pungi/localrepo -iname *kexe*
/var/cache/pungi/localrepo/packages/kexec-tools-2.0.7-1.fc21.ppc64le.rpm
/var/cache/pungi/localrepo/packages/kexec-tools-anaconda-addon-2.0.7-1.fc21.ppc64le.rpm

http://ppc.koji.fedoraproject.org/kojifiles/mash/branched-20140826/21-ppc/ppc64le/os/Packages/k/kexec-tools-anaconda-addon-2.0.7-1.fc21.ppc64le.rpm

One day later branched build fixed it.

http://ppc.koji.fedoraproject.org/kojifiles/mash/branched-20140827/21-ppc/ppc64le/os/Packages/k/kexec-tools-anaconda-addon-2.0.7-7.fc21.ppc64le.rpm