由于证书已过期、未连接工作负载安全代理
适用场景
- 数据基础架构洞察力(Data Infrastructure Insight、DII)(原Cloud Insights) 服务
- 软件工作负载安全性(SWS)
问题描述
- 显示状态"
Not Connected
"的工作负载安全代理 - 代理服务未在主机VM中运行
- 重新启动后、几分钟后再次失败
agent.log
:
[INFO] [prod] [3d532211-f783-44fb-805a-233ca946bdea] [22f222a8-3120-47d6-a726-b4a8010c34a8] [agent-AcqAuthenticationKeyGenerator] - Certificate signing request is created successfully.
[ERROR] [prod] [3d532211-f783-44fb-805a-233ca946bdea] [22f222a8-3120-47d6-a726-b4a8010c34a8] [agent-CommunicationManager] - Received status code 401 and status response [] for the request POST:/rest/v1/agents/cert
[ERROR] [prod] [3d532211-f783-44fb-805a-233ca946bdea] [22f222a8-3120-47d6-a726-b4a8010c34a8] [agent-CommunicationManager] - Certificate request failed, reason: Sign Agent certificate request failed. Failed to login: cannot find Authorization header
[INFO] [prod] [3d532211-f783-44fb-805a-233ca946bdea] [22f222a8-3120-47d6-a726-b4a8010c34a8] [agent-AcqAuthenticationKeyGenerator] - Restoring agent certs from /opt/netapp/cloudsecure/agent-certs/acqkeys_backup
[ERROR] [prod] [3d532211-f783-44fb-805a-233ca946bdea] [22f222a8-3120-47d6-a726-b4a8010c34a8] [agent-ActorSystemImpl] - Failed to configure agent. Reason: Certificate request failed, reason: Sign Agent certificate request failed. Failed to login: cannot find Authorization header}}