12c: Plug-in Deployment on Standalone Agent Fails if the Associated ORACLE_HOME is Shared (Doc ID 2122369.1)

Last updated on APRIL 04, 2016

Applies to:

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

Symptoms

While trying to upgrade DB plugin from 12.1.0.7.0 to 12.1.0.8.0 on a standalone agent (say : agent_A.domain ) fails with below error:

$ emcli deploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:12.1.0.8.0" 
Error: For the plug-in "Oracle Database(oracle.sysman.db)" to be deployed on the given input agents, it needs to be deployed on some of its dependent agents. 
Retry the deployment with include_dependent_agents option to proceed deployment with dependent agents also.
Warning: 
Plug-in "Oracle Database(oracle.sysman.db)" is already deployed on management agents "agent_B.domain:port".

The error reports that the plugin needs to be deployed on other dependent agent (say : agent_B.domain) as well. Using the suggested flag also reports an error:

$ emcli deploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:12.1.0.8.0" -include_dependent_agents
Internal plug-in deployment error: EMS-01015: Error occurred while deploying AGENT plug-in.
Agent side plug-in deployment failed
For details, check the Management Server logs.
Warning:
Plug-in "Oracle Database(oracle.sysman.db)" is already deployed on management agents "agent_B.domain:port".

Attempting to re-deploy the plugin on the other agent (agent_B.domain)  fails with:

$ emcli redeploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:12.1.0.8.0" -include_dependent_agents
Redeployment of a plug-in overwrites the existing OracleHome of a plug-in and you
will lose any patch(es) that has been applied on plug-in OracleHome.
Do you want to continue with redeploy [yes/no] ?
yes
Prerequisites check failed
For agent : https://agent_A.domain:port/emd/main/
Error re-deploying the plug-in of version 12.1.0.8.0. The plug-in version currently deployed on this agent: 12.1.0.7.0 is different from 12.1.0.8.0.

This issue can occur for deployment of any other plugin as well.
The same errors can also occur if the plugin deployment is being attempted from 12c Cloud Console UI.

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