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.
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=falseset. For whatever reason, the node status shows asInstall-In-Progress, as you can see here: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.