首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在SSM代理更新后从SSM托管实例中删除AWS实例

在SSM代理更新后从SSM托管实例中删除AWS实例
EN

Stack Overflow用户
提问于 2021-03-21 04:14:59
回答 1查看 375关注 0票数 0

我能够启动一个实例,并让它由系统管理器管理。也就是说,直到它自动更新SSM代理。更新是成功的,从3.0.161.0更新到3.0.854.0。操作系统是Ubuntu20.04。

尽管会话管理器没有出现在托管实例列表中,但我仍然可以使用它连接到实例。

不确定这是否相关,但这里是/var/log/amazon/ssm/errors.log

代码语言:javascript
运行
复制
2021-03-21 03:56:50 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [MessagingDeliveryService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:50 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [OfflineService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:51 ERROR [Process @ backend.go.139] [ssm-document-worker] [28785d7e-bfaf-414b-bd02-fc3a1746610b] [DataBackend] failed to unmarshal plugin config: json: cannot unmarshal object into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type string
2021-03-21 03:56:51 ERROR [Messaging @ messaging.go.145] [ssm-document-worker] [28785d7e-bfaf-414b-bd02-fc3a1746610b] messaging pipeline process datagram encountered error: json: cannot unmarshal object into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditionsof type string
2021-03-21 03:56:50 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [MessageGatewayService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:50 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [MessagingDeliveryService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:50 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [OfflineService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:50 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [MessageGatewayService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:51 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [MessagingDeliveryService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:51 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [OfflineService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b
2021-03-21 03:56:51 ERROR [GetDocumentState @ docmanager.go.147] [ssm-agent-worker] [MessageGatewayService] encountered error with message json: cannot unmarshal string into Go struct field Configuration.InstancePluginsInformation.Configuration.Preconditions of type contracts.PreconditionArgument while reading Interim state of command from file - 28785d7e-bfaf-414b-bd02-fc3a1746610b

知道这个问题的原因是什么吗?

EN

回答 1

Stack Overflow用户

发布于 2021-03-21 10:02:17

我相信这是AWS的窃听器。我使用Terraform,和我昨天测试过的完全相同的吐露,现在它就像预期的那样工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66728791

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档