# System-upgrade-controller not working on Windows nodes

**URL:** <https://forums.suse.com/t/system-upgrade-controller-not-working-on-windows-nodes/39323>\
**Category:** SUSE Rancher Prime\
**Created:** [October 30, 2022, 11:39am UTC](https://forums.suse.com/t/system-upgrade-controller-not-working-on-windows-nodes/39323 "2022-10-30T11:39:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcos.pastor](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/marcos.pastor/32/9565_2.png) [@marcos.pastor](https://forums.suse.com/u/marcos.pastor)\
**Post date:** [October 30, 2022, 11:39am UTC](https://forums.suse.com/t/system-upgrade-controller-not-working-on-windows-nodes/39323/1 "2022-10-30T11:39:19Z")

</div>

Hi,

I have deployed a custom RKE2 cluster from Rancher 2.6.8. I’m having issues with rancher/system-upgrade-controller:v0.9.1 on Windows worker nodes, it doesn’t complete.

I would like to completely remove or disable upgrades on that nodes.

I have tried to scale down system-upgrade-controller to 0 instances, delete upgrade plans, etc… even deleting deployment but it gets recreated every few seconds.

Is there any way to disable it or prevent it from running on Windows nodes?

Step failing is rancher/wins:v0.4.7. At logs I can see this:

> Creating C:\etc\rancher\wins  
> Sun, Oct 30 2022 12:41:32 pm Write-EventLog : The source name “rancher-wins” does not exist on computer  
> Sun, Oct 30 2022 12:41:32 pm “localhost”.  
> Sun, Oct 30 2022 12:41:32 pm At C:\run.ps1:103 char:5  
> Sun, Oct 30 2022 12:41:32 pm + Write-EventLog -LogName “$LogName” -Source “$Source” -Message "$M …  
> Sun, Oct 30 2022 12:41:32 pm + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
> Sun, Oct 30 2022 12:41:32 pm + CategoryInfo : InvalidOperation: ( : ) [Write-EventLog], InvalidO  
> Sun, Oct 30 2022 12:41:32 pm perationException  
> Sun, Oct 30 2022 12:41:32 pm + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteEventLogComma  
> Sun, Oct 30 2022 12:41:32 pm nd

Thanks!

/Marcos

---

<div class="post-metadata">

**Author:** ![marcos.pastor](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/marcos.pastor/32/9565_2.png) [@marcos.pastor](https://forums.suse.com/u/marcos.pastor)\
**Post date:** [October 31, 2022, 11:56am UTC](https://forums.suse.com/t/system-upgrade-controller-not-working-on-windows-nodes/39323/2 "2022-10-31T11:56:16Z")

</div>

Found a workaround for making Rancher stop trying upgrade Windows nodes.

Add label to Windows workers

key: [plan.upgrade.cattle.io/system-agent-upgrader-windows](http://plan.upgrade.cattle.io/system-agent-upgrader-windows)  
value: random id from upgrade plan

This way Rancher upgrader thinks nodes are up to date and doesn’t try it again.

Not a solution but at least it stopped creating hundreds of PODs.

If anyone can help with a proper solution (making upgrader work on Windows nodes) I would appreciate it.

Thanks

/Marcos

---

<div class="post-metadata">

**Author:** ![vladbeha109](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vladbeha109/32/10033_2.png) [@vladbeha109](https://forums.suse.com/u/vladbeha109)\
**Post date:** [April 6, 2023, 10:45am UTC](https://forums.suse.com/t/system-upgrade-controller-not-working-on-windows-nodes/39323/3 "2023-04-06T10:45:45Z")

</div>

I have the same problem, in the mixed cluster(Linux&Windows nodes) the cluster is stuck in update status. The error in Windows node:

error applying plan – check rancher-system-agent.service logs on node for more information
