Skip to content

Unable to upgrade Helm Chart when drivers are not installed #403

@badnetmask

Description

@badnetmask

I'm gonna be honest and say that I am not entirely sure how to deal with this problem, hence why I am not just sending a PR.

I am using the Helm Chart to install the operator, but I have driver.enable=false set. For whatever reason, the node status shows as Install-In-Progress, as you can see here:

$ kubectl get deviceconfig -n amd-gpu-operator default -o jsonpath='{.status.nodeModuleStatus}' | jq
{
  "fw1": {
    "status": "Install-In-Progress"
  }
}

Because of that I cannot do a clean Helm Chart upgrade, because there is a pre-upgrade hook blocking it. The only way to proceed with the upgrade is to uninstall then re-install the chart.

So, I'm not entirely sure if the fix to the problem problem should be modifying the node status to show as "Completed", or something like that, or to add better checks to the pre-upgrade hook. I'll leave that decision to the developers.

Metadata

Metadata

Assignees

Labels

RCA doneRoot Cause Analysis donebugSomething isn't workingimplemented

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions