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 1862726 - ppc64le guest does not detect hotplugged network interface
Summary: ppc64le guest does not detect hotplugged network interface
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: 8.2
Hardware: ppc64le
OS: Unspecified
high
high
Target Milestone: rc
: 8.3
Assignee: Virtualization Maintenance
QA Contact: Yihuang Yu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-01 21:25 UTC by Carlos Goncalves
Modified: 2022-10-11 18:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-03 09:08:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-50473 0 None None None 2022-10-11 18:47:04 UTC

Description Carlos Goncalves 2020-08-01 21:25:35 UTC
ppc64le KVM (RHEL 8.2) does not detect hotplugged network interface. However, there is an RTAS event in the journal when it was hot-plugged.

Aug 01 20:52:07 amphora-e17ca7e5-913c-4d4e-9db2-70fe36055d72.novalocal kernel: RTAS: event: 1, Type: Hotplug Event, Severity: 1                                                                                                               
Aug 01 20:52:15 amphora-e17ca7e5-913c-4d4e-9db2-70fe36055d72.novalocal amphora-agent[913]: 2020-08-01 20:52:15.264 990 INFO octavia.amphorae.backends.agent.api_server.plug [-] Unable to find interface with MAC: fa:16:3e:78:dc:24, rescann$


[cgoncalves@ibm-p9wr-07 devstack]$ sudo virsh domiflist 1
 Interface        Type     Source   Model    MAC
----------------------------------------------------------------
 tap08c5bd61-49   bridge   br-int   virtio   fa:16:3e:18:be:89
 tapff281112-bc   bridge   br-int   virtio   fa:16:3e:78:dc:24       <-----------------


Upon rebooting the guest, the attached virtual network interface is recognized by the guest OS:

[cloud-user@amphora-e17ca7e5-913c-4d4e-9db2-70fe36055d72 ~]$ sudo ip netns exec amphora-haproxy ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000    <----------------
    link/ether fa:16:3e:78:dc:24 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.33/26 brd 10.0.0.63 scope global eth1
       valid_lft forever preferred_lft forever
    inet 10.0.0.11/26 brd 10.0.0.63 scope global secondary eth1:0
       valid_lft forever preferred_lft forever


[cloud-user@amphora-e17ca7e5-913c-4d4e-9db2-70fe36055d72 ~]$ rpm -qa | egrep 'kernel|systemd'
kernel-core-4.18.0-193.14.2.el8_2.ppc64le
systemd-239-30.el8_2.ppc64le
systemd-pam-239-30.el8_2.ppc64le
systemd-udev-239-30.el8_2.ppc64le
systemd-libs-239-30.el8_2.ppc64le
kernel-modules-4.18.0-193.14.2.el8_2.ppc64le
kernel-4.18.0-193.14.2.el8_2.ppc64le
rpm-plugin-systemd-inhibit-4.14.2-37.el8.ppc64le

Comment 1 David Gibson 2020-08-03 04:34:47 UTC
Carlos,

Is your guest running rtas_errd, which is necessary to process hotplug events?

Comment 2 Carlos Goncalves 2020-08-03 09:08:14 UTC
David, thanks for the prompt reply!

Indeed, rtas_errd was missing. I installed package ppc64-diag in our pp64le Red Hat OpenStack Octavia KVM image and now see systemd rtas_errd.service running and the hotplugged network interface visible to the guest.


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