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

worker manager keeps checking aws instance that doesn't exist #6983

Closed
lotas opened this issue Apr 22, 2024 · 2 comments · Fixed by #6985
Closed

worker manager keeps checking aws instance that doesn't exist #6983

lotas opened this issue Apr 22, 2024 · 2 comments · Fixed by #6985
Assignees
Labels
bug Something isn't working

Comments

@lotas
Copy link
Contributor

lotas commented Apr 22, 2024

There are many errors in worker-manager-workescanner logs for few AWS instances with this error:

The instance ID 'i-0931cb1106ae7c6c7' does not exist

image

Seen in v64.2.5, v64.2.6

InvalidInstanceID.NotFound: The instance ID 'i-0931cb1106ae7c6c7' does not exist
    at throwDefaultError (/app/node_modules/@smithy/smithy-client/dist-cjs/index.js:838:20)
    at /app/node_modules/@smithy/smithy-client/dist-cjs/index.js:847:5
    at de_CommandError (/app/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js:15503:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /app/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
    at async /app/node_modules/@smithy/core/dist-cjs/index.js:165:18
    at async /app/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
    at async /app/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
    at async run (/app/node_modules/p-queue/dist/index.js:163:29)

Most likely happens in checkWorker() but is not handled for some reason

@lotas lotas added the bug Something isn't working label Apr 22, 2024
@lotas lotas self-assigned this Apr 22, 2024
@lotas
Copy link
Contributor Author

lotas commented Apr 23, 2024

image

Looks like worker was both alive and dead at the same time. It was requested, started claiming tasks, but checkWorker() calls received InvalidInstanceID.NotFound error all the time

@lotas
Copy link
Contributor Author

lotas commented Apr 25, 2024

it was likely related to the aws sdk v3 migration, but we haven't noticed this error before

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

Successfully merging a pull request may close this issue.

1 participant