Bug 1418289
| Summary: | --noipv4 kickstart network command option results in traceback when defined via %pre | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Vykydal <rvykydal> |
| Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | jstodola, pkotvan, robert.evans, sbueno |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | anaconda-21.48.22.96-1 | Doc Type: | No Doc Update |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 08:53:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** Bug 1398192 has been marked as a duplicate of this bug. *** A simpler reproducer can be found in https://bugzilla.redhat.com/show_bug.cgi?id=1398192#c0. (In reply to Radek Vykydal from comment #0) > [1] > https://github.com/rhinstaller/kickstart-tests/blob/master/network-noipv4- > pre.sh > https://github.com/rhinstaller/kickstart-tests/blob/master/network-noipv4- > pre.ks.in Makes also this test failing: https://github.com/rhinstaller/kickstart-tests/blob/master/bridged-bond-pre.ks.in Verified on RHEL-7.4-20170504.0 with anaconda-21.48.22.111-1.el7. Thanks. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2293 |
RHEL 7.3 GA. My reproducer (kickstart test [1]): Two of three devices activated in initrd by ip=ens3:dhcp ip=ens4:dhcp Devices (re)configured by kickstart fetched from network %include /tmp/ksinclude %pre echo "network --device=ens4 --noipv4 --no-activate --onboot=yes" >> /tmp/ksinclude echo "network --device=ens5 --noipv4 --activate --onboot=no" >> /tmp/ksinclude %end The traceback: Starting installer, one moment... anaconda 21.48.22.94-1 for Red Hat Enterprise Linux 7.4 (pre-release) started. networkInitialize(ksdata) File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1318, in networkInitialize devnames = apply_kickstart(ksdata) File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1300, 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 931, 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 0x7f0e5f383710>> ignored [1] https://github.com/rhinstaller/kickstart-tests/blob/master/network-noipv4-pre.sh https://github.com/rhinstaller/kickstart-tests/blob/master/network-noipv4-pre.ks.in