ODA upgrade to 12.2 fails with [DCS-10001:Internal error encountered: Fail to run root scripts..]

During an upgrade to 12.2.1.4 and in the step running GRID root scripts, the upgrade fails with:

[DCS-10001:Internal error encountered: Fail to run root scripts..]

After that if you run the upgrade again, you will get the following error:

[DCS-10001:Internal error encountered: Fail to extract the GI clone file.]

When I got there error’s, I found in the logging (/u01/app/12.2.0.1/grid/install/root_<host_name>_<date>_<time>-<more_numbers>.log) that there was no PKI trust set up between the ODA and ‘itself’ (aka passwordless login). The Oracle GRID upgrade works by accessing all the nodes in it’s cluster via ssh, including itself. But This was a single (non HA) machine (X6-2M), so did not expect it.

No RSA host key is known for yoda and you have requested strict checking.Host key verification failed.

Aha… the host key was never imported into know hosts. Understandable on a single machine.

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Of course, also we need to set up a PKI trust (aka passwordless login).

root@yoda > ssh-keygen -t rsa -b 4096
root@yoda > ssh-copy-id -i ~/.ssh/id_rsa.pub root@yoda

Done! Running the upgrade again finished until the end!

Happy patching!

Tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.