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 1398192 - kickstart %included network --noipv4 for device not activated in initramfs results in traceback
Summary: kickstart %included network --noipv4 for device not activated in initramfs re...
Keywords:
Status: CLOSED DUPLICATE of bug 1418289
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 09:43 UTC by Radek Vykydal
Modified: 2017-02-02 09:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-02 09:05:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda.log (1.28 KB, text/plain)
2016-11-24 09:45 UTC, Radek Vykydal
no flags Details
syslog (NM) (218.41 KB, text/plain)
2016-11-24 09:45 UTC, Radek Vykydal
no flags Details
ifcfg.log (1.51 KB, text/plain)
2016-11-24 09:46 UTC, Radek Vykydal
no flags Details

Description Radek Vykydal 2016-11-24 09:43:36 UTC
boot options network configuration:

ip=ens3:dhcp

kickstart network configuration:

%include /tmp/ksinclude
%pre
echo "network --device=ens9 --noipv4 --activate" > /tmp/ksinclude
%end

results in traceback:

    networkInitialize(ksdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1320, in networkInitialize
    devnames = apply_kickstart(ksdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1302, in apply_kickstart
    added_connections = add_connection_for_ksdata(network_data, dev_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 569, in add_connection_for_ksdata
    nm.nm_add_connection(values)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 927, in nm_add_connection
    connection = proxy.AddConnection('(a{sa{sv}})', settings)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__
    None)
GLib.Error: g-io-error-quark: GDBus.Error:org.freedesktop.NetworkManager.Settings.Connection.MissingProperty: ipv4.method: property is missing (36)
Exception AttributeError: "'NoneType' object has no attribute 'udev_unref'" in <bound method Context.__del__ of <pyudev.core.Context object at 0x7fcb7d6bc310>> ignored

Pane is dead
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 927, in nm_add_connection
    connection = proxy.AddConnection('(a{sa{sv}})', settings)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__
    None)
GLib.Error: g-io-error-quark: GDBus.Error:org.freedesktop.NetworkManager.Settings.Connection.MissingProperty: ipv4.method: property is missing (36)

Exception AttributeError: "'NoneType' object has no attribute 'udev_unref'" in <bound method Context.__del__ of <pyudev.core.Context object at 0x7fcb7d6bc310>> ignored
Pane is dead

Comment 1 Radek Vykydal 2016-11-24 09:45:14 UTC
Created attachment 1223669 [details]
anaconda.log

Comment 2 Radek Vykydal 2016-11-24 09:45:48 UTC
Created attachment 1223672 [details]
syslog (NM)

Comment 3 Radek Vykydal 2016-11-24 09:46:37 UTC
Created attachment 1223673 [details]
ifcfg.log

Comment 4 Radek Vykydal 2016-11-24 10:58:08 UTC
A patch with fix:
https://github.com/rvykydal/anaconda/commits/rhel7-branch-noipv4-pre

Comment 6 Radek Vykydal 2017-02-02 09:05:33 UTC
I accidentally filed the issue again in bug 1418289. Closing this one as the other one seems to be on track for approval.

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


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