Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1985097.1
Update Date:2015-03-04
Keywords:

Solution Type  Problem Resolution Sure

Solution  1985097.1 :   Patchmgr fails with "ERROR: dcli imageinfo failed - unable to get cell versions"  


Related Items
  • Exadata X3-2 Hardware
  •  
  • Oracle Exadata Storage Server Software
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Exadata>DB: Exadata_EST
  •  




Created from <SR 3-10304096221>

Applies to:

Exadata X3-2 Hardware - Version All Versions to All Versions [Release All Releases]
Oracle Exadata Storage Server Software - Version 11.2.3.2.1 and later
Information in this document applies to any platform.

Symptoms

[root@fldadbadm01 patch_12.1.1.1.1.140712]#  ./patchmgr -cells cell_group_all -patch_check_prereq -rolling

2015-02-21 17:48:25 +0200        :Working: DO: Check cells have ssh equivalence for root user. Up to 10 seconds per cell ...
2015-02-21 17:48:27 +0200        :SUCCESS: DONE: Check cells have ssh equivalence for root user.

[....]

2015-02-21 17:50:10 +0200 :INFO: This plugin checks dbhomes across all nodes with oracle-user ssh equivalence, but only for those known to the local system. Database homes that exist only on remote nodes must be checked manually.
2015-02-21 17:50:11 +0200 :ERROR: dcli imageinfo failed - unable to get cell versions
2015-02-21 17:50:12 +0200        :FAILED: Details in files <cell_name>.log /os_backup_fs/patches/12.1.1.1.1/cell_nodes/patch_12.1.1.1.1.140712/patchmgr.stdout, /os_backup_fs/patches/12.1.1.1.1/cell_nodes/patch_12.1.1.1.1.140712/patchmgr.stderr
2015-02-21 17:50:12 +0200        :FAILED: DONE: Execute plugin check for Patch Check Prereq.
[ERROR] Patch prerequisite checks failed. Please run cleanup before retrying.

 

+ patchmgr.stdout for the failed run shows

192.xxx.10.x: Cell fldaceladm05 172.xx.xx.xx
192.xxx.10.x: _EXIT_PASS_Cell fldaceladm05 172.xx.34.xx 2015-02-20 10:44:31 +0200: 2015-02-20 10:44:31 +0200 [INFO] Started to patch.
2015-02-20 10:44:33 +0200 ++++++++++++++++++ Logs so far end ++++++++++
2015-02-20 10:44:33 +0200        :[40;1;32mSUCCESS[0m: DONE: Check prerequisites on all cells.
2015-02-20 10:44:33 +0200        :[40;36mWorking[0m: DO: Execute plugin check for Patch Check Prereq ...
2015-02-20 10:44:33 +0200 :[40;33mWARNING[0m: Readme.txt
010-check_17854520.sh
010-postpatch_19132065.sh
010-postpatch_19867403.sh is not executable, skip it.
2015-02-20 10:44:33 +0200 :INFO: Patchmgr plugin start: Prereq check for exposure to bug 17854520   v1.2. Details in logfile /os_backup_fs/patches/12.1.1.1.1/cell_nodes/patch_12.1.1.1.1.140712/patchmgr.stdout.
2015-02-20 10:44:33 +0200 :INFO: This plugin checks dbhomes across all nodes with oracle-user ssh equivalence, but only for those known to the local system. Database homes that exist only on remote nodes must be checked manually.
2015-02-20 10:44:34 +0200 :INFO: imageinfo -ver output for all cells ...
2015-02-20 10:44:34 +0200 :INFO: 192.xxx.10.xx: bash: ,192.xxx.10.x: command not found                      <<<<<<<<<<<<<<<
192.xxx.10.xx: bash: ,192.xxx.10.x: command not found                                                                          <<<<<<<<<<<<<<<<
192.xxx.10.x: bash: ,192.xxx.10.x: command not found                                                                            <<<<<<<<<<
2015-02-20 10:44:34 +0200 :[40;1;31mERROR[0m: dcli imageinfo failed - unable to get cell versions             <<<<<<<<<<<<<<<
2015-02-20 10:44:34 +0200 ++++++++++++++++++ Logs so far begin ++++++++++
2015-02-20 10:44:35 +0200 ++++++++++++++++++ Logs so far end ++++++++++
2015-02-20 10:44:35 +0200        :[40;31mFAILED[0m: Details in files <cell_name>.log /os_backup_fs/patches/12.1.1.1.1/cell_nodes/patch_12.1.1.1.1.140712/patchmgr.stdout, /os_backup_fs/patches/12.1.1.1.1/cell_nodes/patch_12.1.1.1.1.140712/patchmgr.stderr
2015-02-20 10:44:35 +0200        :[40;1;31mFAILED[0m: DONE: Execute plugin check for Patch Check Prereq.
[ERROR] Patch prerequisite checks failed. Please run cleanup before retrying.
[40;1;36m================PatchMgr run ended 2015-02-20 10:44:35 +0200 ===========[0m

 

+ Additionally- dcli commands using the same group file did not throw any errors.

Cause

There was a stray character(in this case an extra space after each ip) in the "cell_group_all" file provided in the patchmgr command.

The  patchmgr execution parses the  group file and generates a comma separated list of cell ips, which is then passed on as an argument to the scripts executed later on.

The extra space after each ips in the cellgroupfile caused the the argument to be passed on in incorrect format.

Solution

Create a new cellgroup file from scratch, by typing in each ip in a single line without any spaces and use the newly generated file for patchmgr execution.


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback