EBS Lift And Shift Clone Fails With ShellCommandFailed And ETCC Does Not Exist

(Doc ID 2319725.1)

Last updated on OCTOBER 25, 2017

Applies to:

EBS on Oracle Cloud: Provisioning and Administration - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.6 version, Lift and Shift Clone

E-Business Suite Lift and Shift process fails with below error

xxx.xx.xx.xxx [0m[2017-10-16T17:45:07-04:00] INFO: Running queued delayed notifications before re-raising exception
xxx.xx.xx.xxx [0m
xxx.xx.xx.xxx Running handlers:[0m
xxx.xx.xx.xxx [2017-10-16T17:45:07-04:00] ERROR: Running exception handlers
xxx.xx.xx.xxx Running handlers complete
xxx.xx.xx.xxx [0m[2017-10-16T17:45:07-04:00] ERROR: Exception handlers complete
xxx.xx.xx.xxx Chef Client failed. 18 resources updated in 08 minutes 31 seconds[0m
xxx.xx.xx.xxx [2017-10-16T17:45:07-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
xxx.xx.xx.xxx [2017-10-16T17:45:07-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
xxx.xx.xx.xxx [2017-10-16T17:45:07-04:00] ERROR: bash[Configure DbHome] (oracle-ebs::oss-compute-db-config line 107) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
xxx.xx.xx.xxx ---- Begin output of "bash" "/tmp/chef-script20171016-4086-l3zy3o" ----
xxx.xx.xx.xxx STDOUT:
xxx.xx.xx.xxx STDERR: contextfile=/u01/install/APPS/12.1.0/appsutil/svprd_svprddb01.xml
xxx.xx.xx.xxx stty: standard input: Inappropriate ioctl for device
xxx.xx.xx.xxx stty: standard input: Inappropriate ioctl for device
xxx.xx.xx.xxx WARNING: ETCC does not exist under /u01/install/APPS/12.1.0/appsutil/etcc.
xxx.xx.xx.xxx Download patch 17537119 from My Oracle Support, unzip it under /u01/install/APPS/12.1.0/appsutil/etcc and run ETCC to avoid ADOP related issues.
xxx.xx.xx.xxx ---- End output of "bash" "/tmp/chef-script20171016-4086-l3zy3o" ----
xxx.xx.xx.xxx Ran "bash" "/tmp/chef-script20171016-4086-l3zy3o" returned 1
xxx.xx.xx.xxx [2017-10-16T17:45:08-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Doing old-style registration with the validation key at /u01/install/APPS/.chef/oracle-validator.pem...
Delete your validation key in order to use your user credentials instead

Connecting to xxx.xx.xx.xxx
[2017/10/16 17:45:08]:Utils::bootstrap: ERROR: Orchestration will halt !!!

The issue can be reproduced at will with the following steps:
1. In Cloud Admin Tool sudo su - oracle
2. cd /u01/install/APPS/apps-unlimited-ebs/
3. perl ProvisionEBS.pl

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