My Oracle Support Banner

ODA: 'odacli create-prepatchreport' Hangs Due to Corrupt Inventory (Doc ID 2849249.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database Appliance Software - Version 19.11.0.0.0 ODA and later
Information in this document applies to any platform.

Symptoms

The below command was hanging on both nodes .

Changes

 Dcs agent logs node 0

 INFO [dw-186 - POST /patchPrecheck] [] c.o.i.a.IDMAgentAuthorizer: IDMAgentAuthorizer::user:oda-cliadmin:role:create-prepatchreport <<<<< Running the command on node 0

INFO [dw-186 - POST /patchPrecheck] [] c.o.d.a.r.PatchPreChecksApi: Received POST request to patchPreCheck on PatchPreChecksApi with input : PatchPreCheckRequest(version=19.11.0.0.0,

.

2022-02-13 00:05:48,846 DEBUG [dw-186 - POST /patchPrecheck] [] c.o.d.c.u.CommonsUtils:

run: cmd= '[/u01/app/19.0.0.0/oracle/bin/crsctl, check, cluster, -all]' <<<<<<<<<<<< Cmd is successful on node 0

.

run: cmd= '[su, oracle, -c, /u01/app/19.0.0.0/oracle/OPatch/opatch lsinventory -oh /u01/app/19.0.0.0/oracle]' <<<<<<<<<<<< Cmd is successful on node 0

.

2022-02-13 00:06:03,900 DEBUG [TaskZJsonRpcExt_265] [] c.o.d.a.z.DCSZooKeeper: getOnlineNodeIds - [node_0, node_1]

2022-02-13 00:06:03,902 INFO [TaskZJsonRpcExt_265] [] c.o.d.a.t.TaskZJsonRpc: Succesfully added RPC request as /nodes/node_1/cmd-in-q/cmd_0000000018, current thread id is 186

2022-02-13 00:06:03,902 DEBUG [TaskZJsonRpcExt_265] [] c.o.d.a.z.DCSZQueue: Getting response from /nodes/node_1/cmd-out-q for /nodes/node_1/cmd-in-q/cmd_0000000018 with prefix :186_18_

2022-02-13 00:06:03,903 DEBUG [TaskZJsonRpcExt_265] [] c.o.d.a.z.DCSZooKeeper: getOnlineNodeIds - [node_0, node_1]

2022-02-13 00:06:03,903 INFO [TaskZJsonRpcExt_265] [] c.o.d.a.z.DCSZQueue: Node not yet received from /nodes/node_1/cmd-out-q with prefix:186_18_

2022-02-13 00:06:05,904 DEBUG [TaskZJsonRpcExt_265] [] c.o.d.a.z.DCSZQueue: Request 18 is still inside being-processed-queue <<<<< Looping on this request ID to get opatch lsinventory output from node 1

2022-02-13 00:06:05,904 DEBUG [TaskZJsonRpcExt_265] [] c.o.d.a.z.DCSZQueue: Request is found on remote node.

 

Dcs agent logs node 1

2022-02-13 01:00:00,774 DEBUG [DefaultQuartzScheduler_Worker-1] [] c.o.d.c.u.CommonsUtils:

run: cmd= '[su, oracle, -c, /u01/app/19.0.0.0/oracle/OPatch/opatch lsinventory -oh /u01/app/19.0.0.0/oracle]'

OUI version : 12.2.0.7.0

2022-02-13 01:00:01,497 DEBUG [Thread-162] [] c.o.d.c.u.CommonsUtils: Output :

Log file location : /u01/app/19.0.0.0/oracle/cfgtoollogs/opatch/opatch2022-02-13_01-00-01AM_1.log

2022-02-13 01:00:01,497 DEBUG [Thread-162] [] c.o.d.c.u.CommonsUtils: Output : EMPTY CONTENT

2022-02-13 01:00:01,529 DEBUG [Thread-162] [] c.o.d.c.u.CommonsUtils: Output :

org.xml.sax.SAXParseException;

lineNumber: 1;

columnNumber: 1;

<Line 1,

Column 1>: XML-20108: (Fatal Error) Start of root element expected.              <<<<<<<<<<<<<<<<<<<<<<< opatch inventory on node 1 is failing

.

2022-02-13 01:00:01,532 DEBUG [Thread-162] [] c.o.d.c.u.CommonsUtils: Output :

Unable to lock Central Inventory. OPatch will attempt to re-lock.                       <<<<<<<<<<<<<<<<<<<<<<< opatch inventory on node 1 is failing

 

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
Changes
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.