Patching OCI Instance Fails With "DCS-10001:Internal error encountered: Fail to run SSH keygen"
(Doc ID 2450198.1)
Last updated on NOVEMBER 09, 2019
Applies to:
Oracle Cloud Infrastructure - Database Service - Version N/A to N/A [Release 1.0]Information in this document applies to any platform.
Symptoms
When attempting to patch OCI DBCS instance, the following error is reported in the console
Status: FAILED
Description: Error running backup. See https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Troubleshooting/Backup/backupfail.htm for information on how to determine and fix the problem.
Description: Error running backup. See https://docs.us-phoenix-1.oraclecloud.com/Content/Database/Troubleshooting/Backup/backupfail.htm for information on how to determine and fix the problem.
Reviewing the failed job details using "dbcli describe" command shows the below error
2018-09-21 04:39:22,352 INFO [Running SSHKey Gen] [] c.o.d.a.r.s.s.SSHkeyRemovalOperations: Running sshkeygen
2018-09-21 04:39:22,353 DEBUG [Running SSHKey Gen] [] c.o.d.c.u.CommonsUtils:
run: cmd= '[su,
-,
oracle,
-c,
/usr/bin/ssh-keygen -R node1]'
2018-09-21 04:39:22,398 DEBUG [Running SSHKey Gen] [] c.o.d.c.u.c.CommandExecutor: Return code: 1
2018-09-21 04:39:22,398 ERROR [Running SSHKey Gen] [] c.o.d.c.u.CommonsUtils: key_read: uudecode AAAAB3NzaC1ynode1 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA+bd68LzZxBhMkBFH/agINWer6Qx5Zt7ITu0l6PeaEjQFX+vct7j2k8o4yVpg8EhgtKeSfrF+KRLQLM5Ncdt5ql+9DVJhBXYmDM0LSc1vS/wQNG/wkfKxxlLjLR1O/4oDpL3R2OIkhrJojrQ7w98oXFG2XA94hUBQpHwsnT7XYvGHt++cZ4++mVJyBNYpuGGLuBgtjCNNvWmGWgnJR3EDsuvG2EEf+yezRVfgkTtPsj6f4h8R5lHbPFzpKCCmIgWuXOR4AcMQvl68hqIbchM88Q8zJOUm8IF4/Gv3I3DKiHTHfXspW7vSyu/JhZ91UzWeF47XmP84PXQY3pkwutlW2Q== failed
line 11 invalid key: node01...
/home/oracle/.ssh/known_hosts is not a valid known_hosts file.
Not replacing existing known_hosts file because of errors
.
.
.
{
"updatedTime" : 1537519162514,
"jobId" : "d354534a-e227-4e2a-a34e-e2d89cba54d3",
"status" : "Failure",
"message" : "DCS-10001:Internal error encountered: Fail to run SSH keygen.",
"reports" : [ {
"updatedTime" : 1537519162490,
"startTime" : 1537518565723,
"endTime" : 1537519162480,
"taskId" : "TaskZLockWrapper_125",
"status" : "Failure",
"taskResult" : "DCS-10001:Internal error encountered: Fail to run SSH keygen.",
"taskName" : "DB Home Precheck",
"taskDescription" : null,
"parentTaskId" : "TaskServiceRequest_123",
"jobId" : "d354534a-e227-4e2a-a34e-e2d89cba54d3",
"tags" : [ ],
"reportLevel" : "Error"
}
2018-09-21 04:39:22,353 DEBUG [Running SSHKey Gen] [] c.o.d.c.u.CommonsUtils:
run: cmd= '[su,
-,
oracle,
-c,
/usr/bin/ssh-keygen -R node1]'
2018-09-21 04:39:22,398 DEBUG [Running SSHKey Gen] [] c.o.d.c.u.c.CommandExecutor: Return code: 1
2018-09-21 04:39:22,398 ERROR [Running SSHKey Gen] [] c.o.d.c.u.CommonsUtils: key_read: uudecode AAAAB3NzaC1ynode1 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA+bd68LzZxBhMkBFH/agINWer6Qx5Zt7ITu0l6PeaEjQFX+vct7j2k8o4yVpg8EhgtKeSfrF+KRLQLM5Ncdt5ql+9DVJhBXYmDM0LSc1vS/wQNG/wkfKxxlLjLR1O/4oDpL3R2OIkhrJojrQ7w98oXFG2XA94hUBQpHwsnT7XYvGHt++cZ4++mVJyBNYpuGGLuBgtjCNNvWmGWgnJR3EDsuvG2EEf+yezRVfgkTtPsj6f4h8R5lHbPFzpKCCmIgWuXOR4AcMQvl68hqIbchM88Q8zJOUm8IF4/Gv3I3DKiHTHfXspW7vSyu/JhZ91UzWeF47XmP84PXQY3pkwutlW2Q== failed
line 11 invalid key: node01...
/home/oracle/.ssh/known_hosts is not a valid known_hosts file.
Not replacing existing known_hosts file because of errors
.
.
.
{
"updatedTime" : 1537519162514,
"jobId" : "d354534a-e227-4e2a-a34e-e2d89cba54d3",
"status" : "Failure",
"message" : "DCS-10001:Internal error encountered: Fail to run SSH keygen.",
"reports" : [ {
"updatedTime" : 1537519162490,
"startTime" : 1537518565723,
"endTime" : 1537519162480,
"taskId" : "TaskZLockWrapper_125",
"status" : "Failure",
"taskResult" : "DCS-10001:Internal error encountered: Fail to run SSH keygen.",
"taskName" : "DB Home Precheck",
"taskDescription" : null,
"parentTaskId" : "TaskServiceRequest_123",
"jobId" : "d354534a-e227-4e2a-a34e-e2d89cba54d3",
"tags" : [ ],
"reportLevel" : "Error"
}
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 |