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 1177032 - kickstart install on machine with infiniband interfaces crashes
Summary: kickstart install on machine with infiniband interfaces crashes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Jiri Konecny
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-23 21:49 UTC by Orion Poplawski
Modified: 2015-11-19 09:51 UTC (History)
5 users (show)

Fixed In Version: anaconda-21.48.22.14-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 09:51:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda-tb file (185.23 KB, text/plain)
2014-12-23 21:49 UTC, Orion Poplawski
no flags Details
anaconda-tb file (171.51 KB, text/plain)
2015-06-25 22:45 UTC, Orion Poplawski
no flags Details
anaconda-tb file (171.95 KB, text/plain)
2015-06-26 16:42 UTC, Orion Poplawski
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1147181 0 unspecified CLOSED Kickstart installation without default gateway errors out 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:2284 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2015-11-19 09:44:49 UTC

Internal Links: 1147181

Description Orion Poplawski 2014-12-23 21:49:31 UTC
Created attachment 972520 [details]
anaconda-tb file

Description of problem:

Trying to do cobbler kickstart install of RHEL 7 and 7.1 beta on a machine with an infiniband adapter crashes with:

anaconda 19.31.111-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 217, in nm_device_property
    raise PropertyNotFoundError(prop)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 315, in nm_device_perm_hwaddress
    return nm_device_property(name, "PermHwAddress")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 517, in add_connection_for_ksdata
    mac = nm.nm_device_perm_hwaddress(devname)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1221, in apply_kickstart
    added_connections = add_connection_for_ksdata(network_data, dev_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1238, in networkInitialize
    devnames = apply_kickstart(ksdata)
  File "/sbin/anaconda", line 1144, in <module>
    networkInitialize(ksdata)
PropertyNotFoundError: PropertyNotFoundError('PermHwAddress',)

Local variables in innermost frame:
name: ib0
prop: PermHwAddress
device: /org/freedesktop/NetworkManager/Devices/3
proxy: <DBusProxy object at 0x7fc79ee796e0 (GDBusProxy at 0x22ac380)>
interface: org.freedesktop.NetworkManager.Device.Infiniband
retval: None

Network config is with:
%include /tmp/pre_install_network_config

which contains:
network --device=ib0 --bootproto=static --ip=192.168.2.9 --netmask=255.255.255.0 --gateway=10.10.0.1 --nameserver=10.10.10.1
network --device=enp6s0f1 --bootproto=static --ip=192.168.1.9 --netmask=255.255.255.0 --gateway=10.10.0.1 --nameserver=10.10.10.1
network --device=enp6s0f0 --bootproto=static --ip=10.10.10.8 --netmask=255.255.0.0 --gateway=10.10.0.1 --nameserver=10.10.10.1

ip addr shows that ib0 is present.

Comment 2 David Cantrell 2015-01-22 20:28:57 UTC
Please retest with RHEL 7.1 GA when it is available, or a current snapshot development release of 7.1.

Comment 3 Orion Poplawski 2015-01-22 20:49:50 UTC
I'd love to test a current snapshot, but I have no idea where I could get one.

Comment 4 infernix 2015-01-23 11:02:14 UTC
It looks like access to 7.1 Beta/GA/Snapshot requires an active subscription at a minimum cost of $349 for entry level 2 socket self-support. Dcantrell can you confirm?

Comment 5 Orion Poplawski 2015-01-23 14:01:44 UTC
I have a complimentary self-support license as an EPEL contributor, and have access to 7.1 Beta.  But I can't find a more recent snapshot if one is available.

Comment 6 David Cantrell 2015-01-23 14:06:16 UTC
Snapshot releases are restricted to certain customers and partner companies.  I don't think EPEL contributor subscriptions are included in that.  I do not make those decisions and, unfortunately, my view in the RH Customer Portal is as an internal associate so I'm not really seeing what you would see.

It is true that $349 gets you the one year self support subscription, but I am not sure if that makes snapshots available.

I recommend contacting sales and/or support for clarification because external availability information is hard to come by in engineering.

If you cannot get a current snapshot release of RHEL 7.1 to test, then wait for the GA release and try then.  I have no intention of closing out this bug.  If it works in 7.1, then yes, we can close it out.  But if it's still a problem, I can move it to the 7.2 planning list and we can go from there.

Comment 7 Orion Poplawski 2015-03-10 21:24:47 UTC
Still a problem with 7.1

Comment 8 Jiri Konecny 2015-06-22 12:56:37 UTC
Hello,

I created patch for this but I need your help with testing.
Could you please test the bug with this updates image https://jkonecny.fedorapeople.org/redhat/rhel7-infiniband.img and attach logs here?

Thank you

Comment 9 Orion Poplawski 2015-06-25 22:45:49 UTC
Created attachment 1043315 [details]
anaconda-tb file

Looks like a different crash now:

anaconda 19.31.123-1 exception report
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/nm.py", line 885, in nm_ipv4_to_dbus_int
    return struct.unpack("=L", socket.inet_aton(address))[0]
  File "/tmp/updates/pyanaconda/network.py", line 396, in _get_ip_setting_values_from_ksdata
    gateway4 = nm.nm_ipv4_to_dbus_int(networkdata.gateway)
  File "/tmp/updates/pyanaconda/network.py", line 459, in add_connection_for_ksdata
    values = _get_ip_setting_values_from_ksdata(networkdata)
  File "/tmp/updates/pyanaconda/network.py", line 1242, in apply_kickstart
    added_connections = add_connection_for_ksdata(network_data, dev_name)
  File "/tmp/updates/pyanaconda/network.py", line 1259, in networkInitialize
    devnames = apply_kickstart(ksdata)
  File "/sbin/anaconda", line 1144, in <module>
    networkInitialize(ksdata)
error: illegal IP address string passed to inet_aton

Local variables in innermost frame:
address:

Comment 10 Jiri Konecny 2015-06-26 08:11:12 UTC
I think this traceback is caused by already solved bug 1147181 so I created new updates image which includes fix for this bug too. Can you test it please to be sure https://jkonecny.fedorapeople.org/redhat/rhel7_infiniband2.img .

Thank you for the testing Orion.

Comment 11 Orion Poplawski 2015-06-26 16:42:01 UTC
Created attachment 1043604 [details]
anaconda-tb file

New traceback:

anaconda 19.31.123-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 113, in function
    return info.invoke(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__
    None)
  File "/tmp/updates/pyanaconda/nm.py", line 762, in nm_add_connection
    connection = proxy.AddConnection('(a{sa{sv}})', settings)
  File "/tmp/updates/pyanaconda/network.py", line 541, in add_connection_for_ksdata
    nm.nm_add_connection(values)
  File "/tmp/updates/pyanaconda/network.py", line 1240, in apply_kickstart
    added_connections = add_connection_for_ksdata(network_data, dev_name)
  File "/tmp/updates/pyanaconda/network.py", line 1257, in networkInitialize
    devnames = apply_kickstart(ksdata)
  File "/sbin/anaconda", line 1144, in <module>
    networkInitialize(ksdata)
GError: GDBus.Error:org.freedesktop.NetworkManager.Settings.Connection.InvalidProperty: infiniband.transport-mode: property is invalid

Local variables in innermost frame:
info: <gi.FunctionInfo object (call_sync) at 0x0x7f85251ca050>
args: (<DBusProxy object at 0x7f850f4de230 (GDBusProxy at 0x20eadf0)>, 'AddConnection', GLib.Variant('(a{sa{sv}})', ({'connection': {'autoconnect': <false>, 'interface-name': <'ib0'>, 'type': <'infiniband'>, 'uuid': <'93268105-541f-40bd-b497-4d8d5041f39f'>, 'id': <'ib0'>}, 'ipv4': {'method': <'manual'>, 'dns': <[uint32 17435146]>, 'addresses': <[[uint32 184723648, 24, 0]]>}, 'infiniband': {'name': <'ib0'>}, 'ipv6': {'method': <'auto'>, 'dns': <@aay []>}},)), 0, -1, None)
kwargs: {}


Thanks for working on this.

Comment 12 Jiri Konecny 2015-06-29 13:41:40 UTC
There was missing NetworkManager settings which was required for infiniband. It should be ok now. New updates image here https://jkonecny.fedorapeople.org/redhat/rhel7_infiniband3.img .

I hope this will be the last one :).

Comment 13 Orion Poplawski 2015-06-30 15:11:09 UTC
That one works great.  Thanks!

Comment 14 Jiri Konecny 2015-07-01 07:47:46 UTC
Thank you much for the testing Orion.
It was a pleasure to work with you :)

Comment 16 Martin Banas 2015-09-22 10:16:10 UTC
Orion,
patch should be present in RHEL-7.2 Beta. If you have access, could I please kindly ask you to retest the bug? We need to make sure the patch has been applied correctly.

Thank you!
Martin

Comment 18 Orion Poplawski 2015-10-15 21:54:21 UTC
Looks good here.  Thanks.

Comment 19 errata-xmlrpc 2015-11-19 09:51:07 UTC
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://rhn.redhat.com/errata/RHBA-2015-2284.html


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