My Oracle Support Banner

OCI : Unable To Apply DB Patch In OCI Console 'DCS-10001:Internal error encountered: Failed to download latest patch metadata on node' (Doc ID 2586145.1)

Last updated on MAY 13, 2020

Applies to:

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

Symptoms

Patching DB system /DB home from OCI console  is getting failed with following error 'DCS-10001:Internal error encountered: Failed to download latest patch metadata'  in dcs-agent.log

From  /opt/oracle/dcs/log/dcs-agent.log

{
"availabilityDomain" : "woyN:US-ASHBURN-AD-1",
"faultDomain" : "FAULT-DOMAIN-1",
"compartmentId" : "ocid1.tenancy.oc1..xxxxxxxxxxxxxxxxxxxtttt",
"displayName" : "ocid1.dbsystem.oc1.iad.ddddddddddddddd1",
"id" : "ocid1.instance.oc1.iad.iiiiiiiiiiiiiiiiiiiiiiiiiiin1",


2019-08-28 13:29:35,416 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.a.r.s.p.PatchingOperations: Remote System metadata : /latest/patchmetadata.xml local System metadata : /opt/oracle/oak/pkgrepos/System/latest/patchmetadata.xml
2019-08-28 13:29:35,426 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.p.CommonsBmsPatchingUtils: regionName from properties file is: phx
2019-08-28 13:29:35,426 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.p.CommonsBmsPatchingUtils: regionName from properties file is: iad
2019-08-28 13:29:35,427 INFO [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.b.h.DefaultConfigurator: Setting connector provider to HttpUrlConnectorProvider
2019-08-28 13:29:35,427 INFO [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.b.o.ObjectStorageClient: Setting endpoint to https://objectstorage.us-ashburn-1.oraclecloud.com
2019-08-28 13:29:35,516 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.b.CommonsCasperClientUtils: (-1, null, false) Processing exception while communicating to: https://objectstorage.us-ashburn-1.oraclecloud.com
2019-08-28 13:29:50,585 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.b.CommonsCasperClientUtils: (-1, null, false) Processing exception while communicating to: https://objectstorage.us-ashburn-1.oraclecloud.com
2019-08-28 13:29:50,586 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.b.CommonsCasperClientUtils: wating for retry
2019-08-28 13:29:55,586 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.b.CommonsCasperClientUtils: retry count is:5
2019-08-28 13:29:55,586 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.u.b.CommonsCasperClientUtils: failed to download patch
2019-08-28 13:29:55,586 DEBUG [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.a.r.s.p.PatchingOperations: Failed to download the system patch metadata from Casper
2019-08-28 13:29:55,586 ERROR [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.a.r.s.p.BmsPatchingActions: Failed to download latest patch metadata on node git00001837
2019-08-28 13:29:55,591 ERROR [Download latest patch metadata : JobId=2f572222-35fb-4938-8885-2ce1113e3f32] [] c.o.d.c.j.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"com.oracle.dcs.agent.rpc.service.patching.BmsPatchingActions","method":"downloadLatestPatchMetadata","params":[{"type":"java.lang.String","value":""}],"revertable":false,"threadId":31612}
! com.oracle.dcs.commons.exception.DcsException: DCS-10001:Internal error encountered: Failed to download latest patch metadata on node NODE123.
! at com.oracle.dcs.commons.exception.DcsException$Builder.build(DcsException.java:66)
! at com.oracle.dcs.agent.rpc.service.patching.BmsPatchingActions.downloadLatestPatchMetadata(BmsPatchingActions.java:412)
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

Getting component details , result following error

#/opt/oracle/dcs/bin/dbcli describe-component

System Version
---------------
19.2.1.0.0
Component                                Installed Version    Available Version
---------------------------------------- -------------------- --------------------
GI                                        18.6.0.0.190416       18.7.0.0.190716
DB                                        12.1.0.2.190416       12.1.0.2.190716
*Error : Failed to download patchmetadata from objectstore!

 

list jobs

# dbcli list-jobs
ID                                       Description                                                                 Created                             Status
---------------------------------------- --------------------------------------------------------------------------- ----------------------------------- ----------
89155224-43de-445a-b858-4ffb2c5a4780     Authentication key update for DCS_ADMIN                                     July 10, 2019 2:24:34 PM UTC        Success
213b58f9-4cae-41c9-ad8b-9388a1b2ac20     Provisioning service creation                                               July 10, 2019 2:28:23 PM UTC        Success
7024c079-9576-4625-ae6a-69e974d6e817     SSH keys update                                                             July 10, 2019 3:06:30 PM UTC        Success
a30a6ccc-590c-484a-b2c3-9bac7218ea70     SSH key delete                                                              July 10, 2019 3:08:03 PM UTC        Success
2f572222-35fb-4938-8885-2ce1113e3f32     Server Patching Prechecks                                                   August 28, 2019 1:29:35 PM UTC      Failure
d2f349b7-abfd-43b1-a8a0-65f6fe73be33     Server Patching Prechecks                                                   August 28, 2019 1:36:27 PM UTC      Failure

Changes

 

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
References


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