#Upgrading to 24.05

1 messages · Page 1 of 1 (latest)

delicate marten
#

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?

mild quail
#

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/

delicate marten
#

Even if I remove Zapi from collector config, harvest will not use REST

mild quail
#

the logs should help shed light

delicate marten
#

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"

mild quail
#

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?

delicate marten
#

i see. when we build our customized docker image, we copy templates from the release except default.yaml

#

so i need update default.yaml

mild quail
#

I can share the diff or pull request that shows the change if that's easier

delicate marten
#

yes please

delicate marten
#

Thanks!

#

do i need to update default.yaml in Zapi and the Perfs?

mild quail
#

no changes between 24.02 and 24.05 for any other collector default.yamls

delicate marten
#

what's the added metric in 24.05?

mild quail
#

i should have said a schedule change not metric

#

make sure you update your rest default.yaml to include - counter: 24h at line 5