Skip to content

FAIL log "and precompiled tag was not found" inaccurate in precompiled OFED Driver pull after adding pull secret and CA config map #1771

@kishorech816

Description

@kishorech816

What happened: Different registry connectivity issues when pulling the precompiled OFED driver always report "precompiled tag was not found" after adding pull secret and CA config map

What you expected to happen: log could be more precise and verbose, for example when SSL certificate is missing in certConfig field or when imagePullSecrets field is missing in the ofed Driver configuration.

How to reproduce it (as minimally and precisely as possible): missing either the registry pull secret or the CA certificate, log always report "failed to create k8s objects from manifest: failed to render objects: ForcePrecompiled is enabled and precompiled tag was not found:"

Anything else we need to know?:
NicPolicy

ofedDriver:
imagePullSecrets:
- quay-registry-secret
certConfig:
name: quay-custom-ca
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 30
forcePrecompiled: true
terminationGracePeriodSeconds: 300
repository: xxxxxxx/nvidia/mellanox
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 30
env:
- name: UNLOAD_STORAGE_MODULES
value: 'true'
- name: RESTORE_DRIVER_ON_POD_TERMINATION
value: 'true'
- name: CREATE_IFNAMES_UDEV
value: 'true'
startupProbe:
initialDelaySeconds: 10
periodSeconds: 20
version: 25.04-0.6.0.0
image: doca-driver

Logs:

NicClusterPolicy CR spec and state: notReady
Network Operator version: 25.4.0
Logs of Network Operator controller:
Updating status {"controller": "nicclusterpolicy", "controllerGroup": "mellanox.com", "controllerKind": "NicClusterPolicy", "NicClusterPolicy": {"name":"nic-cluster-policy"} │
│ , "namespace": "", "name": "nic-cluster-policy", "reconcileID": "8e77ee91-f6f7-43db-be07-13a1642ca995", "Custom resource name": "nic-cluster-policy", "namespace": "", "Result:": {"state":"notReady","appliedStates":[{"name":"state-multus-cni","state":"ignore"},{"name": │
│ "state-container-networking-plugins","state":"ignore"},{"name":"state-ipoib-cni","state":"ignore"},{"name":"state-whereabouts-cni","state":"ignore"},{"name":"state-OFED","state":"error","message":"failed to create k8s objects from manifest: failed to render objects: F │
│ orcePrecompiled is enabled and precompiled tag was not found: 25.04-0.6.0.0-5.14.0-427.87.1.el9_4.x86_64-rhcos4.18-amd64"},{"name":"state-SRIOV-device-plugin","state":"ignore"},{"name":"state-RDMA-device-plugin","state":"ignore"},{"name":"state-ib-kubernetes","state": │
│ "ignore"},{"name":"state-nv-ipam-cni","state":"ignore"},{"name":"state-nic-feature-discovery","state":"ignore"},{"name":"state-doca-telemetry-service","state":"ignore"},{"name":"state-nic-configuration-operator","state":"ignore"},{"name":"state-spectrum-x-operator","s │
│ tate":"ignore"}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions