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

Chef automate illegal_argument_exception in logs #6286

Closed
kraangprime opened this issue Nov 30, 2021 · 1 comment
Closed

Chef automate illegal_argument_exception in logs #6286

kraangprime opened this issue Nov 30, 2021 · 1 comment
Labels
bug 🐛 Something isn't working

Comments

@kraangprime
Copy link

Describe the bug

Chef automate gives us "illegal_argument_exception" in logs and we cant push any events to automate from our nodes.

To Reproduce

Expected behavior

Screenshots

Versions (please complete the following information):

Additional context

Our initial investigation shows that this started with the latest chef-automate upgrade - https://docs.chef.io/release_notes_automate/

Excerpt from the logs

Nov 30 12:58:03 server-automate1 hab[1015]: authz-service.default(O): time="2021-11-30T12:58:03+01:00" level=info msg="Projects Authorized Query" action="ingest:unifiedEvents:create" projects="[]" resource="ingest:unifiedEvents" result="[*]" subject="[token:arg-data-collector]"
Nov 30 12:58:03 server-automate1 hab[1015]: authz-service.default(O): time="2021-11-30T12:58:03+01:00" level=info msg="Projects Authorized Query" action="ingest:unifiedEvents:create" projects="[]" resource="ingest:unifiedEvents" result="[*]" subject="[token:mfi-data-collector]"
Nov 30 12:58:03 server-automate1 hab[1015]: ingest-service.default(O): time="2021-11-30T12:58:03+01:00" level=info msg="Publishing ChefRun" buffer_size=0 message_id=c06f70d3-9263-47f6-b452-c08469d3a6f5 publisher_id=1
Nov 30 12:58:03 server-automate1 hab[1015]: ingest-service.default(O): time="2021-11-30T12:58:03+01:00" level=info msg="IngestingNode Run Date Info" entity_uuid=59e2b0ee-9ef2-4bbe-9a82-4dfad2543364
Nov 30 12:58:03 server-automate1 hab[1015]: ingest-service.default(O): time="2021-11-30T12:58:03+01:00" level=error msg="Error inserting Node run date object: elastic: Error 400 (Bad Request): failed to execute script [type=illegal_argument_exception]"
Nov 30 12:58:03 server-automate1 hab[1015]: ingest-service.default(O): time="2021-11-30T12:58:03+01:00" level=error msg="Chef run ingestion failure" error="rpc error: code = Internal desc = elastic: Error 400 (Bad Request): failed to execute script [type=illegal_argument_exception]"

Please let me know if you need more details.

@kraangprime kraangprime added the bug 🐛 Something isn't working label Nov 30, 2021
@kalroy kalroy closed this as completed Dec 1, 2021
@kraangprime
Copy link
Author

Issue seems to be fixed in #6295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants