Skip to content

[Issue]: Race condition between Node Reboot during Driver Upgrade and DRA/Metrics Exporter DaemonSets #605

Description

@kaiwalyajoshi

Problem Description

We're currently running v1.5.0 and v1.5.1-beta.0 AMD GPU Operators.
We're also testing upgrades between v1.5.0 -> v1.5.1-beta.0

These operators are running with the following configs:
v1.5.0

deviceConfig:
  spec:
    driver:
      enable: true
      blacklist: true
      version: "30.20.1"
      upgradePolicy:
        enable: true
    devicePlugin:
      enableDevicePlugin: false
      enableNodeLabeller: false
    metricsExporter:
      enable: true
    draDriver:
      enable: true

v1.5.1-beta.0

deviceConfig:
  spec:
    driver:
      enable: true
      blacklist: true
      version: "31.30"
      upgradePolicy:
        enable: true
    devicePlugin:
      enableDevicePlugin: false
      enableNodeLabeller: false
    metricsExporter:
      enable: true
    draDriver:
      enable: true

Note that we're retaining deviceConfig.spec.driver.upgradePolicy.rebootRequired: true from the upstream Helm AMD GPU Operator charts.

With the above, we have noticed a race condition between the GPU Operator performing its reboot while the images are getting pulled for DRA & Metrics Exporter. This means that when the GPU Node restarts, the DRA & Metrics Exporter images may not have pulled all of its layers and its pods can crashloop with a exec format error message.

Operating System

24.04.4 LTS (Noble Numbat)

CPU

AMD EPYC 9555 64-Core Processor

GPU

MI350P

ROCm Version

7.2.x

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

rocminfo --support output
Paste output here

Additional Information

Additional RCA Information here:
NKP-v2.18.0-Exec-Format-Errors-Executive-Summary.md.pdf

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions