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

Interfacing with the MongoDB server with only system DBs defined causes an error #1767

Closed
anbrenna opened this issue Dec 22, 2023 · 0 comments · Fixed by #1768
Closed

Interfacing with the MongoDB server with only system DBs defined causes an error #1767

anbrenna opened this issue Dec 22, 2023 · 0 comments · Fixed by #1768
Assignees
Labels
enhancement New feature or request

Comments

@anbrenna
Copy link
Contributor

anbrenna commented Dec 22, 2023

It seems there is a problem with agent execution when the MongoDB server contained only system DBs.
Following the error:
Dec 22 09:04:37 ercole-agent[17820]: Invalid hostdata:
Dec 22 09:04:37 ercole-agent[17820]: - features.mongodb: Must validate at least one schema (anyOf). Value: [map[instances:[map[dbStats: dbs:0 name:erclmongo1.public.erco>
Dec 22 09:04:37 ercole-agent[17820]: - features.mongodb.instances.0.dbStats: Invalid type. Expected: array, given: null. Value: []
Dec 22 09:04:37 ercole-agent[17820]: [23-12-22 09:04:37][AGEN][WARN][/root/project/cmd/serve.go:205] Sending result: FAILED

@afumagalli98 afumagalli98 self-assigned this Mar 27, 2024
@afumagalli98 afumagalli98 added the enhancement New feature or request label Mar 27, 2024
@afumagalli98 afumagalli98 transferred this issue from ercole-io/ercole-agent Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants