Bug 1924788 - Not clear error message when there are no NADs available for the user
Summary: Not clear error message when there are no NADs available for the user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 15:52 UTC by Piotr Kliczewski
Modified: 2021-07-27 22:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: unclear error message about user permissions for no NADs available. Consequence: user confusion Fix: adding expandable component with more error details Result: clear error message
Clone Of:
Environment:
Last Closed: 2021-07-27 22:40:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot (48.71 KB, image/png)
2021-02-03 15:52 UTC, Piotr Kliczewski
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8625 0 None open Bug 1924788: Not clear error message when there are no NADs available for the user 2021-04-13 14:49:28 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:41:21 UTC

Description Piotr Kliczewski 2021-02-03 15:52:48 UTC
Created attachment 1754808 [details]
screen shot

When using developer user and creating vm from template I chose to customize vm settings and saw I was unable to add new network due to issue with fetching network attachment definitions (see attachment).

Comment 1 Guohua Ouyang 2021-02-04 06:57:51 UTC
The error is telling it has no "Network Attachment Definitions" available so it cannot continue.
Maybe the error message itself is confusing, It looks like it has problem to fetch the NAD.

It looks the 4.6 error message is more clear, don't know why it's changed.

- error message on 4.7  "Error fetching available Network Attachment Definitions. Contact your system administrator for additional support."
- error message on 4.6  "No Network Attachment Definitions available. Contact your system administrator for additional support."

Comment 3 Guohua Ouyang 2021-04-20 00:11:35 UTC
Now the error message is "No Network Attachment Definitions available. PXE capable Network Attachment Definition is required to successfully create this virtual machine. Contact your system administrator for additional support."

Looks good.

Comment 6 errata-xmlrpc 2021-07-27 22:40:55 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438


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