Skip to content

Commit

Permalink
persistentnetnamesdisable: Fix the message for multiple nics env with…
Browse files Browse the repository at this point in the history
… eth nics

In multiple nics env, we should fail the upgrade when one or more eth
nic names are used. Fix the message by adding the "one eth nic" case.

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
  • Loading branch information
Liao Pingfang committed Feb 26, 2021
1 parent 9a8c358 commit bcc308c
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,17 @@ def process(self):
create_report([
reporting.Title('Unsupported network configuration'),
reporting.Summary(
'Detected multiple network interfaces using unstable kernel names (e.g. eth0, eth1). '
'Detected multiple physical network interfaces where one or more use kernel naming (e.g. eth0). '
'Upgrade process can not continue because stability of names can not be guaranteed. '
'Please read the article at https://access.redhat.com/solutions/4067471 for more information.'
),
reporting.ExternalLink(
title='How to perform an in-place upgrade to RHEL 8 when using kernel NIC names on RHEL 7',
url='https://access.redhat.com/solutions/4067471'
),
reporting.Remediation(
hint='Rename all ethX network interfaces following the attached KB solution article.'
),
reporting.Severity(reporting.Severity.HIGH),
reporting.Tags([reporting.Tags.NETWORK]),
reporting.Flags([reporting.Flags.INHIBITOR])
Expand Down

0 comments on commit bcc308c

Please sign in to comment.