OCI - Kernel upgrade failed with DCS-10259:Kernel upgrade failed. Error Failed to upgrade kernel due to "Error: Package: <package_name> (ol7_latest)
(Doc ID 2969718.1)
Last updated on MAY 02, 2024
Applies to:
Oracle Cloud Infrastructure - Database Service - Version N/A to N/A [Release 1.0]Linux x86-64
Symptoms
From the job details:
Job details
----------------------------------------------------------------
ID: 0e0890de-9424-4512-a856-009ee66a8e38
Description: Kernel upgrade
Status: Failure
Created: July 21, 2023 10:12:45 PM SGT
Progress: 60%
Message: DCS-10259:Kernel upgrade failed. Error Failed to upgrade kernel
Error Code: DCS-10259
Cause: Kernel upgrade failed
Action: Refer to DCS agent logs and yum logs for more information.
Task Name Start Time End Time Status
------------------------------------------------------------------------ ----------------------------------- ----------------------------------- ----------
Kernel upgrade July 21, 2023 10:12:46 PM SGT July 21, 2023 10:13:50 PM SGT Failure
Starting Kernel upgrade July 21, 2023 10:12:46 PM SGT July 21, 2023 10:12:47 PM SGT Success
task:TaskSequential_515 July 21, 2023 10:12:47 PM SGT July 21, 2023 10:12:50 PM SGT Success
Downloading yumrepo file July 21, 2023 10:12:47 PM SGT July 21, 2023 10:12:50 PM SGT Success
task:TaskSequential_518 July 21, 2023 10:12:50 PM SGT July 21, 2023 10:12:54 PM SGT Success
Downloading versionlock file July 21, 2023 10:12:50 PM SGT July 21, 2023 10:12:53 PM SGT Success
task:TaskSequential_521 July 21, 2023 10:12:54 PM SGT July 21, 2023 10:13:50 PM SGT Failure
Apply Kernel upgrade July 21, 2023 10:12:54 PM SGT July 21, 2023 10:13:49 PM SGT Failure
----------------------------------------------------------------
ID: 0e0890de-9424-4512-a856-009ee66a8e38
Description: Kernel upgrade
Status: Failure
Created: July 21, 2023 10:12:45 PM SGT
Progress: 60%
Message: DCS-10259:Kernel upgrade failed. Error Failed to upgrade kernel
Error Code: DCS-10259
Cause: Kernel upgrade failed
Action: Refer to DCS agent logs and yum logs for more information.
Task Name Start Time End Time Status
------------------------------------------------------------------------ ----------------------------------- ----------------------------------- ----------
Kernel upgrade July 21, 2023 10:12:46 PM SGT July 21, 2023 10:13:50 PM SGT Failure
Starting Kernel upgrade July 21, 2023 10:12:46 PM SGT July 21, 2023 10:12:47 PM SGT Success
task:TaskSequential_515 July 21, 2023 10:12:47 PM SGT July 21, 2023 10:12:50 PM SGT Success
Downloading yumrepo file July 21, 2023 10:12:47 PM SGT July 21, 2023 10:12:50 PM SGT Success
task:TaskSequential_518 July 21, 2023 10:12:50 PM SGT July 21, 2023 10:12:54 PM SGT Success
Downloading versionlock file July 21, 2023 10:12:50 PM SGT July 21, 2023 10:12:53 PM SGT Success
task:TaskSequential_521 July 21, 2023 10:12:54 PM SGT July 21, 2023 10:13:50 PM SGT Failure
Apply Kernel upgrade July 21, 2023 10:12:54 PM SGT July 21, 2023 10:13:49 PM SGT Failure
From the agent job log
..............
[2023-07-21 22:13:45,544] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils:
run: cmd= '[yum,
-y,
upgrade]'
[2023-07-21 22:13:45,717] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Loaded plugins: versionlock
[2023-07-21 22:13:45,734] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_latest is listed more than once in the configuration
[2023-07-21 22:13:45,744] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_latest_archive is listed more than once in the configuration
[2023-07-21 22:13:45,756] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_UEKR5 is listed more than once in the configuration
[2023-07-21 22:13:45,762] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_UEKR5_archive is listed more than once in the configuration
[2023-07-21 22:13:46,219] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Excluding 55 updates due to versionlock (use "yum versionlock status" to show them)
[2023-07-21 22:13:47,929] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Resolving Dependencies
[2023-07-21 22:13:47,930] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
--> Running transaction check
[2023-07-21 22:13:47,937] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
---> Package aide.x86_64 0:0.15.1-13.0.1.el7 will be updated
...........
[2023-07-21 22:13:49,227] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
---> Package zlib.x86_64 0:1.2.7-21.el7_9 will be an update
[2023-07-21 22:13:49,317] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
--> Finished Dependency Resolution
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Error: Package: 32:bind-9.11.4-26.P2.el7_9.14.x86_64 (ol7_latest)
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Requires: bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7_9.14
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Removing: 32:bind-libs-lite-9.11.4-26.P2.el7_9.5.x86_64 (@pdit_ol7_latest/$releasever)
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7_9.5
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Updated By: 32:bind-libs-lite-9.11.4-26.P2.el7_9.13.x86_64 (ol7_latest)
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7_9.13
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Error: Package: 32:bind-9.11.4-26.P2.el7_9.14.x86_64 (ol7_latest)
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Requires: bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.14
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Removing: 32:bind-libs-9.11.4-26.P2.el7_9.5.x86_64 (@pdit_ol7_latest/$releasever)
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.5
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Updated By: 32:bind-libs-9.11.4-26.P2.el7_9.13.x86_64 (ol7_latest)
[2023-07-21 22:13:49,332] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.13
[2023-07-21 22:13:49,332] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
You could try using --skip-broken to work around the problem
[2023-07-21 22:13:49,846] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
You could try running: rpm -Va --nofiles --nodigest
[2023-07-21 22:13:49,940] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.command.CommandExecutor: Return code: 1
[2023-07-21 22:13:49,940] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output : EMPTY CONTENT
[2023-07-21 22:13:49,940] SEVERE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.agent.rpc.service.patching.PatchingOperations: Failed to upgrade kernel
[2023-07-21 22:13:49,940] SEVERE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.agent.rpc.service.patching.PatchingActions: Failed to upgrade kernel
[2023-07-21 22:13:49,942] SEVERE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.jrpc.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"com.oracle.dcs.agent.rpc.service.patching.PatchingActions",
"method":"applyKernelUpgrade",
"params":[{"type":"java.lang.Boolean",
"value":true}],
"revertable":false,
"threadId":121}
DcsException{errorHttpCode=InternalError, msg=Kernel upgrade failed. Error Failed to upgrade kernel , msgId=10259, causedBy=null}
at com.oracle.dcs.commons.exception.DcsException$Builder.build(DcsException.java:69)
.....................
[2023-07-21 22:13:45,544] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils:
run: cmd= '[yum,
-y,
upgrade]'
[2023-07-21 22:13:45,717] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Loaded plugins: versionlock
[2023-07-21 22:13:45,734] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_latest is listed more than once in the configuration
[2023-07-21 22:13:45,744] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_latest_archive is listed more than once in the configuration
[2023-07-21 22:13:45,756] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_UEKR5 is listed more than once in the configuration
[2023-07-21 22:13:45,762] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Repository ol7_UEKR5_archive is listed more than once in the configuration
[2023-07-21 22:13:46,219] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Excluding 55 updates due to versionlock (use "yum versionlock status" to show them)
[2023-07-21 22:13:47,929] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Resolving Dependencies
[2023-07-21 22:13:47,930] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
--> Running transaction check
[2023-07-21 22:13:47,937] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
---> Package aide.x86_64 0:0.15.1-13.0.1.el7 will be updated
...........
[2023-07-21 22:13:49,227] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
---> Package zlib.x86_64 0:1.2.7-21.el7_9 will be an update
[2023-07-21 22:13:49,317] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
--> Finished Dependency Resolution
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Error: Package: 32:bind-9.11.4-26.P2.el7_9.14.x86_64 (ol7_latest)
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Requires: bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7_9.14
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Removing: 32:bind-libs-lite-9.11.4-26.P2.el7_9.5.x86_64 (@pdit_ol7_latest/$releasever)
[2023-07-21 22:13:49,330] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7_9.5
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Updated By: 32:bind-libs-lite-9.11.4-26.P2.el7_9.13.x86_64 (ol7_latest)
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs-lite(x86-64) = 32:9.11.4-26.P2.el7_9.13
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Error: Package: 32:bind-9.11.4-26.P2.el7_9.14.x86_64 (ol7_latest)
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Requires: bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.14
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Removing: 32:bind-libs-9.11.4-26.P2.el7_9.5.x86_64 (@pdit_ol7_latest/$releasever)
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.5
[2023-07-21 22:13:49,331] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
Updated By: 32:bind-libs-9.11.4-26.P2.el7_9.13.x86_64 (ol7_latest)
[2023-07-21 22:13:49,332] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
bind-libs(x86-64) = 32:9.11.4-26.P2.el7_9.13
[2023-07-21 22:13:49,332] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
You could try using --skip-broken to work around the problem
[2023-07-21 22:13:49,846] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output :
You could try running: rpm -Va --nofiles --nodigest
[2023-07-21 22:13:49,940] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.command.CommandExecutor: Return code: 1
[2023-07-21 22:13:49,940] FINE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.utils.CommonsUtils: Output : EMPTY CONTENT
[2023-07-21 22:13:49,940] SEVERE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.agent.rpc.service.patching.PatchingOperations: Failed to upgrade kernel
[2023-07-21 22:13:49,940] SEVERE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.agent.rpc.service.patching.PatchingActions: Failed to upgrade kernel
[2023-07-21 22:13:49,942] SEVERE [Apply Kernel upgrade : JobId=0e0890de-9424-4512-a856-009ee66a8e38] com.oracle.dcs.commons.jrpc.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"com.oracle.dcs.agent.rpc.service.patching.PatchingActions",
"method":"applyKernelUpgrade",
"params":[{"type":"java.lang.Boolean",
"value":true}],
"revertable":false,
"threadId":121}
DcsException{errorHttpCode=InternalError, msg=Kernel upgrade failed. Error Failed to upgrade kernel , msgId=10259, causedBy=null}
at com.oracle.dcs.commons.exception.DcsException$Builder.build(DcsException.java:69)
.....................
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 |