RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1377223 - Running anaconda install from foreman failed with Exception AttributeError
Summary: Running anaconda install from foreman failed with Exception AttributeError
Keywords:
Status: CLOSED DUPLICATE of bug 1252833
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-pyudev
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 1367016 1375561
TreeView+ depends on / blocked
 
Reported: 2016-09-19 09:03 UTC by Michael Burman
Modified: 2016-09-20 12:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-20 08:31:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (18.72 KB, application/x-gzip)
2016-09-19 09:03 UTC, Michael Burman
no flags Details
screenshot Traceback (329.86 KB, image/png)
2016-09-19 09:04 UTC, Michael Burman
no flags Details

Description Michael Burman 2016-09-19 09:03:32 UTC
Created attachment 1202360 [details]
logs

Description of problem:
Running anaconda install from foreman failed with  Exception AttributeError.
The Traceback error attached in the screenshot.


11:08:58,789 INFO anaconda: /sbin/anaconda 21.48.22.90-1
11:08:59,133 INFO anaconda: created new libuser.conf at /tmp/libuser.ZBbDIR with instPath="/mnt/sysimage"
11:08:59,135 INFO anaconda: 16515072 kB (16128 MB) are available
11:08:59,149 INFO anaconda: check_memory(): total:16128, needed:670, graphical:760
11:08:59,161 INFO anaconda: anaconda called with cmdline = ['/sbin/anaconda']
11:08:59,161 INFO anaconda: Default encoding = utf-8 
11:08:59,210 INFO anaconda: Parsing kickstart: /run/install/ks.cfg
11:08:59,540 INFO anaconda: network: setting %s from ksdevice for missing kickstart --device
11:08:59,757 DEBUG anaconda: scripts found for locale en_US.UTF-8: ['Latn']
11:08:59,757 DEBUG anaconda: console fonts found for locale en_US.UTF-8: ['latarcyrheb-sun16']
11:08:59,758 DEBUG anaconda: setting console font to latarcyrheb-sun16
11:08:59,796 DEBUG anaconda: console font set successfully to latarcyrheb-sun16
11:08:59,796 DEBUG anaconda: setting locale to: en_US.UTF-8
11:08:59,834 DEBUG anaconda: network: devices found ['enp4s0', 'enp6s0', 'ens2f0', 'ens2f1', 'ens1f0', 'ens1f1']
11:09:00,033 DEBUG anaconda: network: kickstart - reactivating device enp4s0 with f552b7c1-bc46-42ab-9b62-9f594d96c17d
11:09:00,290 DEBUG anaconda: network: ifcfg file for enp6s0 not found
11:09:00,462 DEBUG anaconda: network: ifcfg file for ens2f0 not found
11:09:00,652 DEBUG anaconda: network: ifcfg file for ens2f1 not found
11:09:00,869 DEBUG anaconda: network: ifcfg file for ens1f0 not found
11:09:01,098 DEBUG anaconda: network: ifcfg file for ens1f1 not found
11:09:01,133 DEBUG anaconda: network: missing ifcfgs created for devices ['enp6s0', 'ens2f0', 'ens2f1', 'ens1f0', 'ens1f1']
11:09:01,253 DEBUG anaconda: network: setting ONBOOT value of enp4s0 to True
11:09:01,362 DEBUG anaconda: network: real kickstart ONBOOT value set for devices ['enp4s0']
11:09:01,412 INFO anaconda: Running Thread: AnaWaitForConnectingNMThread (139942311708416)
11:09:01,414 WARN anaconda.stdout: Not asking for VNC because of an automated install
11:09:01,414 WARN anaconda.stdout: Not asking for VNC because text mode was explicitly asked for in kickstart
11:09:01,422 INFO anaconda: Display mode = t
11:09:01,424 INFO anaconda: 16515072 kB (16128 MB) are available
11:09:01,439 INFO anaconda: check_memory(): total:16128, needed:670, graphical:760
11:09:01,466 INFO anaconda: got 2 NTP servers from DHCP
11:09:01,472 INFO anaconda: Thread Done: AnaWaitForConnectingNMThread (139942311708416)
11:09:01,493 INFO anaconda: Red Hat Enterprise Linux is the highest priority installclass, using it


Version-Release number of selected component (if applicable):
anaconda-21.48.22.90-1
rhel7.3 - RedHat-7.3-x86_64-initrd.img

How reproducible:
Always on rhel7.3 - RedHat-7.3-x86_64-initrd.img

Steps to Reproduce:
1. Install rhel7.3 from foreman

Actual results:
Installation failed

Expected results:
Should work

Comment 1 Michael Burman 2016-09-19 09:04:04 UTC
Created attachment 1202361 [details]
screenshot Traceback

Comment 2 Gil Klein 2016-09-19 09:18:46 UTC
The exception from the screenshot:

libkmod: kmod_module_insert_module: could not find module by name=’bnx2i'
libkmod: kmod_module_insert_module: could not find module by name=’bnx2i’
anaconda 21.48.22.98-1 for Red Hat Enterprise Linux 7.3 (pre-release) started.
installation log files are stored in /tmp during the installation
shell is available on TTYZ
The exception from the screenshot is:

when reporting a bug add logs from /tmp as separate text/plain attachments
11:89:81 Not asking for UNC because of an automated install
11:89:81 Not asking for UNC because text mode was explicitly asked for in kickstart
Traceback (most recent call last):
File "/sbin/anaconda". line 1286. in (module)
setupDisplaytanaconda. opts. addon_paths)
File ”/sbin/anaconda". line 715. in setupDisplay
anaconda.initInterface(addons)
File "/usr/lib64/pgthon2.7/site-packages/pyanaconda/anaconda.py". line 228. in initlnterface
self._intf = TextUserInterface(self.storage. self.payload.
File "/usr/lib64/python2.7/site-packages/pganaconda/anaconda.py". line 168. in storage
self._storage.setDefaultFSType(self.instClass.defaultFS)
File "/usr/lib/python2.7/site-packages/blivet/__init__.pg". line 1761. in setDefaultFSType
self._check_valid_fstype(newtype)
File "/usr/lib/python2.7/site-packages/blivet/__init__.py". line 1736. in _check_valid_fstype
raise UalueError("new value 2s is not valid as a default fs type" 2 fmt)
UalueError: new value non-existent xfs filesystem is not valid as a default fs type
Exception fittributeError: "’NoneType’ object has no attribute ’udev_unref’" in (bound method Context.__del__ of <pgudev.core.Con
text object at 8x7f46e79f7358>> ignored

Comment 5 Jaroslav Škarvada 2016-09-20 08:31:57 UTC

*** This bug has been marked as a duplicate of bug 1252833 ***


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