Bug 1924788

Summary: Not clear error message when there are no NADs available for the user
Product: OpenShift Container Platform Reporter: Piotr Kliczewski <pkliczew>
Component: Console Kubevirt PluginAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, aturgema, cnv-qe-bugs, gouyang, ycui, yzamir
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:40:55 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:
Attachments:
Description Flags
screen shot none

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