#Update to Harvest 25.08.0 - Credentials fall back to Zapi?

1 messages · Page 1 of 1 (latest)

tawny sky
#

Hey everybody,
Yesterday I updated to the new harvest version.

My harvest.yml says, Zapi and ZapiPerf is disabled:
Defaults:
collectors:
- Ems
- Rest
- RestPerf
#- Zapi
#- ZapiPerf
- StorageGrid
- CiscoRest

My logfile says HTTP-Error 401 (please note that everything worked before the update)...
time=2025-08-14T15:49:13.482+02:00 level=INFO source=poller.go:233 msg=Init Poller=DR-Z-Plex2 logLevel=INFO configPath=/opt/harvest/harvest.yml cwd=/opt/harvest version="harvest version 25.08.0-1 (commit 48672190) (build date 2025-08-13T08:32:20-0400) linux/amd64" fips=false options="&{Poller:DR-Z-Plex2 Daemon:true Debug:false PromPort:13023 Config:/opt/harvest/harvest.yml HomePath: LogPath:/var/log/harvest/ LogFormat:plain LogLevel:2 LogToFile:false Version:25.08.0 Hostname:vrpiawnoms06 Collectors:[] Objects:[] Profiling:0 Asup:false IsTest:false ConfPath:conf ConfPaths:[conf]}"
time=2025-08-14T15:49:17.589+02:00 level=WARN source=poller.go:1618 msg="gather remote info failed" Poller=DR-Z-Plex2 connectionType=ONTAP remote="{Name:dapindz02c01 Model:cdot UUID:0f551c59-404f-11ef-8922-d039eabcfc4d Version:9.15.1 Release:NetApp Release 9.15.1P7: Sat Jan 18 21:34:02 UTC 2025 Serial: IsSanOptimized:false IsDisaggregated:false ZAPIsExist:true HasREST:true IsClustered:true}" error="auth failed => 401 Unauthorized errNum="" statusCode="401""

Fix is to also allow application ontapi for the harvest user:
dapindz02c01::> security login create -vserver dapindz02c01 -user-or-group-name harvest -application ontapi -authentication-method password

Can anybody clarify why I have to re-enable ontapi for the harvest user? I wanted to get rid of ontapi 🙂

thorn dawn
tawny sky
#

Sounds promising, thank you

thorn dawn
#

yep that's the issue. reproduced and fixed. Once the PR makes it through CI, I'll let you know when it hits nightly

thorn dawn