My Oracle Support Banner

EM 13c: Fleet UPDATE_DB Job Fails, If First Target Name Passed In target_list Is Invalid Or Doesn't Exists In OEM (Doc ID 2647500.1)

Last updated on MARCH 11, 2020

Applies to:

Enterprise Manager for Oracle Database - Version 13.3.1.0.0 and later
Information in this document applies to any platform.

Symptoms

 In Enterprise Manager (EM) Cloud Control, When switching multiple DBs using Fleet the UPDATE_DB job fails if first target name Passed in target_list is invalid or doesn't exists in OEM

a) If the first target passed in target_list is invalid it does not even submit for other targets.

$ emcli db_software_maintenance -performOperation -name="Update DB" -purpose=UPDATE_DB -target_list='target3,target1' -target_type='oracle_database'
-normal_credential="ORACLE:SYSMAN" -privilege_credential="ROOT:SYSMAN"

Processing target "target3"...
Target 'target3' is not found in EM. Check the target name

ERROR: Operation could not be completed
Verb performOperation unsuccessful

b) If the first target passed in target_list is valid the procedure will go ahead and submit for correct target.

$ emcli db_software_maintenance -performOperation -name="Update DB" -purpose=UPDATE_DB -target_list='target1,target3' -target_type='oracle_database'
-normal_credential="ORACLE:SYSMAN" -privilege_credential="ROOT:SYSMAN"
Processing target "target1"...
Checking if target is already running from the current version of the image...
Check Passed.
Checking image subscription...
Check image subscription passed.
Operation 'Update DB' created successfully.

Patching operation for database target1 can be monitored using:
EMCLI:
  emcli get_instance_status -exec=919572A5E26E5553E0532669400A64E2 -details -xml
Browser:
  https://<EM Host>:<EMPort>/em/faces/core-jobs-procedureExecutionTracking?executionGUID=919572A5E26E5553E0532669400A64E2
Processing target "target3"...
Target 'target3' is not found in EM. Check the target name

ERROR: Operation could not be completed
Verb performOperation unsuccessful

c) If the first target is valid and second is invalid and third is valid still the job is getting submitted only for the first target.

$ emcli db_software_maintenance -performOperation -name="Update DB" -purpose=UPDATE_DB -target_list='target1,target3,target2'-target_type='oracle_database' -normal_credential="ORACLE:SYSMAN" -privilege_credential="ROOT:SYSMAN"
Processing target "target1"...
Checking if target is already running from the current version of the image...
Check Passed.
Checking image subscription...
Check image subscription passed.
Operation 'Update DB' created successfully.

Patching operation for database target1 can be monitored using:
EMCLI:
  emcli get_instance_status -exec=91975F9DB609520FE0532669400A2A70 -details -xml
Browser:
  https://<EM Host>:<EMPort>/em/faces/core-jobs-procedureExecutionTracking?executionGUID=91975F9DB609520FE0532669400A2A70
Processing target "target3"...
Target 'target3' is not found in EM. Check the target name

ERROR: Operation could not be completed
Verb performOperation unsuccessful
If a target1 is not found it won't continue for the next target.

Changes

 

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
References

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