We are upgrading from 24.02. We use mixed Zapi and Rest templates. I noticed 24.05 behaves diffderently than 24.02. Our OnTap version is 9.10.1P14. In 24.02 Harvest will pick best fit REST templates from 9.12.0 directory but in 24.05 Harvest will not use any REST templates in 9.12.0. Does 24.05 only uses REST templates that matches OnTap version?
#Upgrading to 24.05
1 messages · Page 1 of 1 (latest)
hi @delicate marten that is unexpected. The best fit algorthim is unchanged between 24.02 and 24.05.
Is it possible that your REST templates are not being selected because your poller lists a Zapi collector before a Rest collector?
If you share your log files for the poller that you believe is using the wrong templates we can take a look. https://netapp.github.io/harvest/nightly/help/log-collection/
Even if I remove Zapi from collector config, harvest will not use REST
the logs should help shed light
I will see how to collect logs since we run harvest in K8s
I was wrong. Harvest did pick REST templates from 9.12 even 9.13. But failed with error "2024-06-12T14:35:52Z ERR collector/collector.go:417 > error="configuration error => empty url" Poller=flc1-lab-phx-storage collector=Rest:Volume task=data"
thanks! that mean that you are running 25.05 with an earlier version of Harvest templates. 24.05 made a metric addition to the rest default.yaml template and if that metric is missing, you will see that error when running with 24.05. Can you make sure that you updated your poller's conf directory with the 24.05 conf content?
i see. when we build our customized docker image, we copy templates from the release except default.yaml
so i need update default.yaml
I can share the diff or pull request that shows the change if that's easier
yes please
no changes between 24.02 and 24.05 for any other collector default.yamls
what's the added metric in 24.05?