Seth-Miller / 12c-rac-docker

Multiple node Oracle RAC cluster running in Docker containers
40 stars 20 forks source link

installation with ansible fails - oracle patching issue #4

Open TheFausap opened 7 years ago

TheFausap commented 7 years ago

Hello,

I have a problem applying one-off patch, there's a conflict with the bundle patch. Is it expected ? May I skip that patch ?

thanks Fausto

TASK [create_oracle_image : Apply one-off patches to database] *****************
failed: [192.168.77.195] (item=19404068) => {"changed": true, "cmd":

["/usr/bin/docker", "exec", "rac1", "          su", "-", "oracle", "-c", " /u01/app/oracle/product/12.1.0/dbhome_1/OPatch/opatch apply /stage/12.1.0.2/19          404068 -oh /u01/app/oracle/product/12.1.0/dbhome_1 -silent"], "delta": "0:00:04.845370", "end": "2017-04-0          8 17:27:41.794822", "failed": true, "item": 19404068, "rc": 73, "start": "2017-04-08 17:27:36.949452", "st          derr": "UtilSession failed: Inter-conflict checking failed in apply incoming patches", "stdout": "Oracle I          nterim Patch Installer version 12.2.0.1.8\nCopyright (c) 2017, Oracle Corporation.  All rights reserved.\n          \n\nOracle Home       : /u01/app/oracle/product/12.1.0/dbhome_1\nCentral Inventory : /u01/app/oraInventory          \n   from           : /u01/app/oracle/product/12.1.0/dbhome_1/oraInst.loc\nOPatch version    : 12.2.0.1.8\          nOUI version       : 12.1.0.2.0\nLog file location : /u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/o          patch/opatch2017-04-08_15-27-37PM_1.log\n\nVerifying environment and performing prerequisite checks...\n\n          Whole composite patch Conflicts/Supersets are:\n\nPatch : 19404068\n\n\tConflict with Composite Patch 2314          4544\n\nDetail Conflicts/Supersets for each patch are:\n\nPatch : 19404068\n\n\tConflict with Sub-Patch 20          243804\n\tConflict details:\n\t/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/libdbtools12.a:krmk6.o\n\          t/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/libdbtools12.a:krmk7.o\n\n\nFollowing patches have conf          licts: [   19404068   23144544 ]\nUse the MOS Patch Conflict Checker \"https://support.oracle.com/epmos/fa          ces/PatchConflictCheck\" to resolve.\nSee MOS documents 1941934.1 and 1299688.1 for additional information           and resolution methods.\n\nLog file location: /u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/opatch/          opatch2017-04-08_15-27-37PM_1.log\n\nOPatch failed with error code 73", "stdout_lines": ["Oracle Interim P          atch Installer version 12.2.0.1.8", "Copyright (c) 2017, Oracle Corporation.  All rights reserved.", "", "          ", "Oracle Home       : /u01/app/oracle/product/12.1.0/dbhome_1", "Central Inventory : /u01/app/oraInvento          ry", "   from           : /u01/app/oracle/product/12.1.0/dbhome_1/oraInst.loc", "OPatch version    : 12.2.          0.1.8", "OUI version       : 12.1.0.2.0", "Log file location : /u01/app/oracle/product/12.1.0/dbhome_1/cfg          toollogs/opatch/opatch2017-04-08_15-27-37PM_1.log", "", "Verifying environment and performing prerequisite           checks...", "", "Whole composite patch Conflicts/Supersets are:", "", "Patch : 19404068", "", "\tConflict           with Composite Patch 23144544", "", "Detail Conflicts/Supersets for each patch are:", "", "Patch : 194040          68", "", "\tConflict with Sub-Patch 20243804", "\tConflict details:", "\t/u01/app/oracle/product/12.1.0/db          home_1/rdbms/lib/libdbtools12.a:krmk6.o", "\t/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/libdbtools1          2.a:krmk7.o", "", "", "Following patches have conflicts: [   19404068   23144544 ]", "Use the MOS Patch Co          nflict Checker \"https://support.oracle.com/epmos/faces/PatchConflictCheck\" to resolve.", "See MOS docume          nts 1941934.1 and 1299688.1 for additional information and resolution methods.", "", "Log file location: /          u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/opatch/opatch2017-04-08_15-27-37PM_1.log", "", "OPatch           failed with error code 73"], "warnings": []}
Seth-Miller commented 7 years ago

Which patches did you apply before the one-off?

TheFausap commented 7 years ago

Hello, I used the same patches in your yml files, so the sequence was:

1) opatch grid 2) opatch db 3) bundle patch grid 4) bundle patch db

then one-off