Cloud InSights Workload Security agent status shows NOT CONNECTED post upgrade from backend
Applies to
Cloud InSights Workload Security
Issue
Agent is not connected post upgrade from the backend, error message in the Kibana logs,
2022-10-13T13:11:02,366 [ERROR] [prod] [bd06dbfc-663e-4517-9805-741e5d6ee148] [5d0a52bd-563b-408f-82d8-3aecb7986267] [agent-ProcessPollingResponse] - { "code": "AgentUpgradeFailure", "message": "Agent upgrade failed with exit code 1. reason: mv: inter-device move failed: ‘/tmp/cloudsecure-agent-1665666659/cloudsecure-agent-1.520.0’ to ‘/opt/netapp/cloudsecure/cloudsecure-agent-1.520.0’; unable to remove target: Directory not empty\nFailed to update files.
{Err.Code 1}
\n", "target": "Agent upgrade failed"
