Bug 1858317

Summary: NetworkAttachmentDefinition VLAN attribute has invalid type
Product: OpenShift Container Platform Reporter: Petr Horáček <phoracek>
Component: Console Kubevirt PluginAssignee: Phillip Bailey <phbailey>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: aos-bugs, cnv-qe-bugs, gouyang, ncredi, nschuetz, phbailey, souhrada, yzamir
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:15:58 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:

Description Petr Horáček 2020-07-17 14:13:24 UTC
Description of problem:
NetworkAttachmentDefinition for bridge CNI keeps VLAN ID in an invalid format.


Version-Release number of selected component (if applicable):
CNV 2.4


How reproducible:
Always


Steps to Reproduce:
1. Create a NetworkAttachmentDefinition of type bridge and with a VLAN ID
2. Check the generated YAML


Actual results:
"vlan" has value of type string.


Expected results:
"vlan" should have value of type integer.


Additional info:

Comment 3 Guohua Ouyang 2020-09-04 02:13:52 UTC
verified on master

Comment 4 Petr Horáček 2020-10-22 16:24:43 UTC
*** Bug 1888987 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2020-10-27 16:15:58 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196