Description of problem: E1104 08:10:19.992967 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.SriovNetwork: v1.SriovNetworkList.Items: []v1.SriovNetwork: v1.SriovNetwork.Spec: v1.SriovNetworkSpec.SpoofChk: ReadBool: expect t or f, but found ", error found in #10 byte of ...|poofChk":"on","trust|..., bigger context ...|:"z1","resourceName":"intelnetdevice","spoofChk":"on","trust":"off","vlan":0}}],"kind":"SriovNetwork|... E1104 08:10:20.995795 1 reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: Failed to list *v1.SriovNetwork: v1.SriovNetworkList.Items: []v1.SriovNetwork: v1.SriovNetwork.Spec: v1.SriovNetworkSpec.SpoofChk: ReadBool: expect t or f, but found ", error found in #10 byte of ...|poofChk":"on","trust|..., bigger context ...|:"z1","resourceName":"intelnetdevice","spoofChk":"on","trust":"off","vlan":0}}],"kind":"SriovNetwork|... Version-Release number of selected component (if applicable): quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.2.4-201911010432-ose-sriov-network-operator How reproducible: always Steps to Reproduce: 1. install the sriov operator 2. Create sriovnetwork CR from webconsole, The default value is 'true or 'false for spoofChk and trust. but it cannot be saved with error: Error "Unsupported value: "true": supported values: "on", "off"" for field "spec.spoofChk". So I update it to 'on' and 'off' spoofChk: 'on' trust: 'off' 3. Check the operator logs Actual results: step 3: See the $description Expected results: Additional info:
please ignore the $Description, this issue is the template is using 'true' and 'false', but the api only supported 'on/off'.
Create sriovnetwork CR from webconsole, The default value is 'true or 'false for spoofChk and trust. but it cannot be saved with error: Error "Unsupported value: "true": supported values: "on", "off"" for field "spec.spoofChk"
Verified this bug on latest 4.3 bundle } vlan: 0 spoofChk: 'on' trust: 'off' resourceName: intelnics networkNamespace: default
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, 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:0062