I have a worker that successfully authenticates to the controller via awskms. After about 20 seconds, the worker then shutsdown with the following error message.
* Error finalizing kms of type aead and purpose worker-auth: rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial unix /tmp/plugin435441019: connect: connection refused"
Here are more logs:
{
"id": "np5TnlZQdS",
"source": "https://hashicorp.com/boundary/deployment-boundary-577785657-ftxbh/worker",
"specversion": "1.0",
"type": "system",
"data": {
"version": "v0.1",
"op": "worker.(Worker).upstreamDialerFunc",
"data": {
"msg": "worker has successfully authenticated"
}
},
"datacontentype": "application/cloudevents",
"time": "2023-02-16T20:18:11.332569253Z"
}
{
"id": "LABFVH4KqP",
"source": "https://hashicorp.com/boundary/deployment-boundary-577785657-ftxbh/worker",
"specversion": "1.0",
"type": "system",
"data": {
"version": "v0.1",
"op": "worker.(Worker).updateAddrs",
"data": {
"msg": "Upstreams after first status set to: [<hostname-redacted>:9201]"
}
},
"datacontentype": "application/cloudevents",
"time": "2023-02-16T20:18:11.628239255Z"
}
{
"id": "Jil2dSsgLZ",
"source": "https://hashicorp.com/boundary/deployment-boundary-577785657-ftxbh/worker",
"specversion": "1.0",
"type": "system",
"data": {
"version": "v0.1",
"op": "worker.(Worker).GracefulShutdown",
"data": {
"msg": "worker entering graceful shutdown"
}
},
"datacontentype": "application/cloudevents",
"time": "2023-02-16T20:18:33.39060176Z"
}
{
"id": "eCKEco8cHI",
"source": "https://hashicorp.com/boundary/deployment-boundary-577785657-ftxbh/worker",
"specversion": "1.0",
"type": "system",
"data": {
"version": "v0.1",
"op": "github.com/hashicorp/boundary/internal/observability/event.(*HclogLoggerAdapter).writeEvent",
"data": {
"@original-log-level": "none",
"@original-log-name": "awskms.stdio",
"err": {},
"msg": "received EOF, stopping recv loop",
"purpose": "worker-auth"
}
},
"datacontentype": "application/cloudevents",
"time": "2023-02-16T20:18:33.391413818Z"
}
{
"id": "nVOZKIWExw",
"source": "https://hashicorp.com/boundary/deployment-boundary-577785657-ftxbh/worker",
"specversion": "1.0",
"type": "system",
"data": {
"version": "v0.1",
"op": "github.com/hashicorp/boundary/internal/observability/event.(*HclogLoggerAdapter).writeEvent",
"data": {
"@original-log-level": "none",
"@original-log-name": "awskms",
"error": "signal: terminated",
"msg": "plugin process exited",
"path": "/tmp/3381329121/boundary-plugin-kms-awskms-kIDyD",
"pid": 25,
"purpose": "worker-auth"
}
},
"datacontentype": "application/cloudevents",
"time": "2023-02-16T20:18:33.391638246Z"
}
I have not been able to find anything via google.