My Oracle Support Banner

Error During Migration From JCS OCI-C To JCSOCI Using Opcmigrate Tool (Doc ID 2689817.1)

Last updated on AUGUST 14, 2020

Applies to:

Java Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Error during import procedure from JCS classic to JCS in OCI using opcmigrate procedure mentioned in document:

https://docs.oracle.com/en/cloud/paas/java-cloud/jcsmt/migrate-instance-oracle-java-cloud-service-using-classic-tools.html#GUID-9791D6DB-64AE-4A90-B7D1-158627DAE9A4

ERROR
-----------------------
opcmigrate migrate jcs import -c test.json -a test.tgz --migration-tools-instance-nat-ip <IPAddress>

2020-07-07T00:18:55 INFO Updating WebLogic domain
2020-07-07T00:19:07 INFO Set target host full path names for uploaded files
2020-07-07T00:19:07 INFO Update WebLogic Domain
2020-07-07T00:20:15 WARNING Please see the '/home/opc/.opc/ansible_import.log' file for details.
2020-07-07T00:20:15 INFO Tearing down bastion host...
2020-07-07T00:20:15 INFO Tearing down Terraform
2020-07-07T00:23:59 ERROR Command failed; please see below:
  Exit status 2 running: 'ansible-playbook -e domain_zip_file=/home/opc/.opc/testDomain_testcsOCI1.zip -e domain_json_file=/home/opc/.opc/testDomain_testcsOCI1.json -e domain_properties_file=/home/opc/.opc/wdt.properties -e JCSMIG_ENV=/u01/jcsmig/jcsmig.env -i 20.0.2.8, -u opc --ssh-common-args -o IdentitiesOnly=yes -o IdentityFile=/home/opc/wlsnewkey -o StrictHostKeyChecking=no -o ConnectTimeout=60 -o ProxyCommand="ssh -W %h:%p -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o ConnectTimeout=60 -o Port=22 -o IdentityFile=/tmp/tmpyao3cuo6/bastion_rsa opc@<ipAddress>" /usr/local/lib/python3.6/site-packages/jcs/playbooks/update_domain.yml'



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
Cause
Solution


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