trident icon indicating copy to clipboard operation
trident copied to clipboard

Trident backends remain "online" even when not available

Open YvosOnTheHub opened this issue 4 years ago • 1 comments

Describe the bug When a SVM is not available, I would expect backend status in trident not to be online, but rather offline or non available. However, statues do not change (even after 8hours ... so not a timeout issue)

Environment LoD Kubernetes v4 with the following upgrades

  • ONTAP 9.8P1
  • Trident 21.01.1

To Reproduce Steps to reproduce the behavior:

  • Modify all LIF of a SVM to status_admin = down
  • Create a PVC against this SVM (will fail) or run a tridentctl update backend (will also fail)
  • Check the status of the backend with tridentctl get backend: still online

Expected behavior Backend status to reflect the correct status

Additional context Some customers rely on Trident metrics to monitor backend statuses. if Trident always report "online", they will not know that something happened on the backend

YvosOnTheHub avatar Mar 04 '21 17:03 YvosOnTheHub

Any updates on this? We also noticed this issue during a recent upgrade.

fdammeke avatar May 25 '22 13:05 fdammeke

The issue is fixed with https://github.com/NetApp/trident/commit/458db05e6475ab095351848a849d4a5a8de3f937 and is included in Trident 23.07 release.

mravi-na avatar Jan 10 '24 08:01 mravi-na