OCI Cloud Agent Is Showing As Not Active Under Observability & Management
(Doc ID 2943314.1)
Last updated on APRIL 18, 2023
Applies to:
OCI Management Agent Service - Version N/A and laterInformation in this document applies to any platform.
Symptoms
OCI Agent on OCI Compute page showing as running but
On OCI Console -> Observability & Management -> Agents and Gateways page it shows as "Not active".
Agent Logs shows errors below
/var/lib/oracle-cloud-agent/plugins/oci-managementagent/polaris/agent_inst/log/mgmt_agent.log
2023-04-11 18:43:35,918 [SysExecutor.2 (ManagedAgent bootstrapper)-52] WARN - #-# invocation access log [request-id-prefix: KDQWNWR6] #-#
Service: OCI
Method: POST
Path: /20200202/managementAgents/<AGENT_OCID>/actions/activate
Headers: Content-Type=application/json
date=Tue, 11 Apr 2023 18:43:35 GMT
host=<HOSTNAME>
x-content-sha256=9EEhkMS5HsD3EVK9HbUUokVikmmt4sDpJT2IT1cjPVY=
Authorization=**************
opc-request-id=<OPC_REQ_ID>
User-Agent=Jersey/2.34 (Apache HttpClient 4.5.13)
Attempts:
<--> Endpoint: management-agent.us-ashburn-1.oci.oraclecloud.com
opc-request-id: <OPC_REQ_ID>
StartTime: 2023-04-11 18:43:35,794 GMT
Status: 400 Bad Request
Headers: Content-Length=352
opc-request-id=<OPC_REQ_ID>/A7268C35B8D526607B24C568C62FA08B/FC9CE0B3832D10C555DC9100E9XXXXXX
Date=Tue, 11 Apr 2023 18:43:35 GMT
Content-Type=application/json
ErrorBody:
{
"code" : "InvalidParameter",
"message" : "Invalid tags: Resource creation failed because the resource requires tag value(s). Add a value to the each of the following tag definition(s): \nGLOBAL.ComponentType, GLOBAL.ApplicationName, ...(truncated)...
EndTime: 2023-04-11 18:43:35,917 GMT
2023-04-11 18:43:35,918 [SysExecutor.2 (ManagedAgent bootstrapper)-52] WARN - Agent Bootstrapping invocation failed due to a communication failure:BadRequestException: HTTP 400: InvalidParameter, "Invalid tags: Resource creation failed because the resource requires tag value(s). Add a value to the each of the following tag definition(s):
GLOBAL.ComponentType, GLOBAL.ApplicationName, GLOBAL.EnvironmentType, GLOBAL.AppID, GLOBAL.BillingCode, GLOBAL.ApplicationSupportGroup, GLOBAL.Criticality
Changes
OCI Agent was deleted and Re-installed.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |