Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume REST template should not use anti_ransomware.state field when not exist #2262

Closed
Hardikl opened this issue Aug 7, 2023 · 2 comments · Fixed by #2263
Closed

Volume REST template should not use anti_ransomware.state field when not exist #2262

Hardikl opened this issue Aug 7, 2023 · 2 comments · Fixed by #2263
Assignees
Labels
23.08 feature New feature or request status/done

Comments

@Hardikl
Copy link
Contributor

Hardikl commented Aug 7, 2023

Tested in cluster 9.9.1 cluster

% ./bin/poller -p u2 --promPort 18001 -c Rest -o Volume
2023-08-07T15:07:11+05:30 INF poller/poller.go:194 > Init Poller=u2 configPath=./harvest.yml logLevel=info version="harvest version 23.08.0417-v23.05.0 (commit ebec91c3) (build date 2023-08-04T17:46:51+0530) darwin/amd64\n"
2023-08-07T15:07:11+05:30 INF poller/poller.go:231 > started in foreground Poller=u2 pid=4922
2023-08-07T15:07:12+05:30 INF collector/helpers.go:139 > best-fit template Poller=u2 collector=Rest:Volume path=conf/rest/9.12.0/volume.yaml v=9.9.1
2023-08-07T15:07:13+05:30 INF poller/poller.go:349 > Autosupport scheduled. Poller=u2 asupSchedule=24h
2023-08-07T15:07:13+05:30 INF prometheus/httpd.go:40 > server listen Poller=u2 exporter=prometheus1 url=http://:18001/metrics
2023-08-07T15:07:13+05:30 INF poller/poller.go:358 > poller start-up complete Poller=u2
2023-08-07T15:07:13+05:30 INF poller/poller.go:506 > updated status, up collectors: 1 (of 1), up exporters: 1 (of 1) Poller=u2
2023-08-07T15:07:13+05:30 ERR collector/collector.go:367 > error="failed to fetch data: error making request 262197: The value \"anti_ransomware.state\" is invalid for field \"fields\" (<field,...>)" Poller=u2 collector=Rest:Volume task=data
@Hardikl Hardikl added the feature New feature or request label Aug 7, 2023
@Hardikl
Copy link
Contributor Author

Hardikl commented Aug 7, 2023

This field was introduced in 9.10
image

@Hardikl Hardikl linked a pull request Aug 7, 2023 that will close this issue
@cgrinds cgrinds added the 23.08 label Aug 14, 2023
@cgrinds cgrinds self-assigned this Aug 14, 2023
@cgrinds
Copy link
Collaborator

cgrinds commented Aug 14, 2023

Verified on 23.08.0 commit bd0b0db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
23.08 feature New feature or request status/done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants