EM 12c: Offline Patching a Database with Enterprise Manager 12.1.0.2 Cloud Control Using SSH Keys Fails with Error: Unable to get credential set for target name (Doc ID 1566112.1)

Last updated on SEPTEMBER 01, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.2.0 to 12.1.0.2.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

Patching a database using SSH key credentials in Enterprise Manager Cloud Control 12.1.0.2 fails at the job run in the Home Configuration Collection step.
The step details show the following:

 Step name: Home Configuration Collection
       Status: Failed - Error submitting job
         Type: Job
 Description: Refresh the configuration of the Oracle home


Note:
====
Applying the patch using login credentials succeeded.

 

The following errors are logged in the .../gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc file:

2013-01-11 05:42:37,586 [EMUI_05_42_35_/console/CSP/main/patch/plan] DEBUG credstore.EMCredentialUtil getCredentialReference.2747 - Preferred Credentials not set for the searchType:3  guid:CBC6F8AD81B10AFCE0431FB32A0A83EF  owner:null  name:null targetName:11_1_0_7_13_0_vlbos587  targetType:oracle_home
2013-01-11 05:42:37,589 [EMUI_05_42_35_/console/CSP/main/patch/plan] DEBUG credstore.EMCredentialUtil getCredentialReference.2895 - Exit: fail: guid:CBC6F8AD81B10AFCE0431FB32A0A83EF
2013-01-11 05:42:37,593 [EMUI_05_42_35_/console/CSP/main/patch/plan] DEBUG util.PCUtilities logp.251 - Unable to get credential set for target name : 11_1_0_7_13_0_vlbos587
oracle.sysman.emSDK.core.sec.credstore.EMCredentialException: Default preferred credentials are not set.
at oracle.sysman.core.sec.credstore.EMCredentialUtil.getCredentialReference(EMCredentialUtil.java:2751)
at oracle.sysman.core.sec.credstore.EMCredentialUtil.getCredentialReference(EMCredentialUtil.java:2677)


2013-01-11 05:42:37,747 [EMUI_05_42_35_/console/CSP/main/patch/plan] DEBUG credstore.EMCredentialUtil getCredentialReference.2747 - Preferred Credentials not set for the searchType:3  guid:CBC6F8AD81B30AFCE0431FB32A0A83EF  owner:null  name:null targetName:11_1_0_7_13_0_vlbos587  targetType:oracle_home
2013-01-11 05:42:37,753 [EMUI_05_42_35_/console/CSP/main/patch/plan] DEBUG credstore.EMCredentialUtil getCredentialReference.2895 - Exit: fail: guid:CBC6F8AD81B30AFCE0431FB32A0A83EF
2013-01-11 05:42:37,758 [EMUI_05_42_35_/console/CSP/main/patch/plan] DEBUG util.PCUtilities logp.251 - Unable to get credential set for target name : 11_1_0_7_13_0_vlbos587
oracle.sysman.emSDK.core.sec.credstore.EMCredentialException: Default preferred credentials are not set.
at oracle.sysman.core.sec.credstore.EMCredentialUtil.getCredentialReference(EMCredentialUtil.java:2751)
at oracle.sysman.core.sec.credstore.EMCredentialUtil.getCredentialReference(EMCredentialUtil.java:2677)
at oracle.sysman.core.sec.credstore.EMCredentialUtil.getCredentialReference(EMCredentialUtil.java:2661)
at oracle.sysman.core.sec.credstore.EMCredentialReferenceForCredSetImpl.getCredential(EMCredentialReferenceForCredSetImpl.java:96)
at oracle.sysman.core.sec.credstore.EMCredentialReferenceForCredSetImpl.getCredential(EMCredentialReferenceForCredSetImpl.java:87)
at oracle.sysman.emInternalSDK.core.patch.util.PCUtilities.getPreferredCredentials(PCUtilities.java:216)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms