[EM 13c]: Creating Database Oracle Home Gold Image Using Emcli Fleet Maintenance Verb Fails With "Unable to fetch the oracle home version and platform"

(Doc ID 2393092.1)

Last updated on MAY 08, 2018

Applies to:

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

Symptoms

Creating gold image of the 12.2 oracle home which has the patches applied in 13.2 EM fails with following error:
====================
$ emcli db_software_maintenance -createSoftwareImage -input_file="data:/data02/oracle/product/patches/FLEET_SCRIPTS/input_sidb_createSoftwareImage.txt"
Verb createSoftwareImage unsuccessful
Unable to fetch the oracle home version and platform.
Please verify that the oracle home target name is passed correctly or the oracle home collection are happened properly.
====================


Here is the input file:
====================
$ cat input_sidb_createSoftwareImage.txt
IMAGE_NAME=12.2.0.1 SIDB Gold Image_1
IMAGE_DESCRIPTION=Gold Image for 12201.20APR2018
REF_TARGET_NAME=OraDB12Home4
IMAGE_SWLIB_LOC=Self Update/Fleet_maintenance/SIDB/Solarisx64
REF_HOST_CREDENTIALS=PATCH_SYSMAN:SYSMAN
WORKING_DIRECTORY=/data03/tmp
STORAGE_TYPE_FOR_SWLIB=OmsShared
STORAGE_NAME_FOR_SWLIB=default_loc
VERSION_NAME=12201_JAN2018Combo
====================

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