My Oracle Support Banner

OCI Stack Monitoring: Database System Resource Cannot be Created If Database System Discovery Is Not In Active State (Doc ID 3040378.1)

Last updated on JANUARY 07, 2025

Applies to:

OCI Stack Monitoring - Version N/A and later
Information in this document applies to any platform.

Symptoms

On Stack Monitoring, CDB has been discovered but DB System discovery / Refresh fails with below errors in the Discovery Job Output.

ERROR Failed to Discover DB System. Error returned by Unknown operation operation in Unknown service service.(400, InvalidParameter, false) Database System resource cannot be created if Database System discovery is not in active state (opc-request-id: <OPC-REQ-ID>) Timestamp: <TIMESTAMP>

/opt/oracle/mgmt_agent/agent_inst/log/mgmt_agent.log
__

[Work.P2.0 (PrioritizedWorkBundle-discoverSources) (PrioritizedWork-discoverSources)-18196] INFO - >>> Initiating work [ws-nnnnnnnnnnnnnnn]: (discoverSources.null) <<<
[Work.P2.0 (PrioritizedWorkBundle-discoverSources) (PrioritizedWork-discoverSources)-18196] INFO - Service(dbaas: SourceType: oci_oracle_db_system) loading from SERVICE
[SysExecutor.8 (oci_oracle_db_system.dbaas-discovery) (oci_oracle_db_system.dbaas-discovery:discoveryRegular)-50] WARN - failed to populate environment properties due to: null
[SysExecutor.8 (oci_oracle_db_system.dbaas-discovery)-50] INFO - DiscoveryItemTask.run subtask 0
[Work.P2.0 (PrioritizedWorkBundle-discoverSources) (PrioritizedWork-discoverSources)-18196] INFO - >>> Completed work [ws-nnnnnnnnnnnnnnn]: (discoverSources.null :: {result=pending}) <<<
[SysExecutor.6 (Agent-MACSWorkExchange-poller)-47] INFO - secretKey packed using DECRYPT_MODE (no fingerprint)
[Work.P2.1 (PrioritizedWorkBundle-executeSQLCommands) (PrioritizedWork-executeSQLCommands)-18215] INFO - >>> Initiating work [ws-nnnnnnnnnnnnnnn]: (executeSQLCommands.null) <<<
[Work.P2.1 (PrioritizedWorkBundle-executeSQLCommands) (PrioritizedWork-executeSQLCommands)-18215] INFO - >>> Completed work [ws-nnnnnnnnnnnnnnn]: (executeSQLCommands.null :: {rejections={}}) <<<

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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.