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-1990668.1
Update Date:2015-03-19
Keywords:

Solution Type  Problem Resolution Sure

Solution  1990668.1 :   Exalytics Patchset (PS) 5 Image Update Script Fails With Error: "Failed to install new rpms /opt/exalytics/update/ps3tops4.d/70install_exalytics-deps.sh failed; return code: 1"  


Related Items
  • Oracle Exalytics Software
  •  
  • Exalytics In-Memory Machine X2-4
  •  
  • Exalytics In-Memory Machine X3-4
  •  
Related Categories
  • PLA-Support>Eng Systems>Exalytics>Oracle Exalytics>DB: Exalytics_EST
  •  




In this Document
Symptoms
Cause
Solution
References


Created from <SR 3-10437983541>

Applies to:

Oracle Exalytics Software - Version 1.0.0.5.0 and later
Exalytics In-Memory Machine X3-4 - Version All Versions and later
Exalytics In-Memory Machine X2-4 - Version All Versions and later
Information in this document applies to any platform.

Symptoms

You are trying to upgrade an Exalytics server from Patchset 3 -> Patchset 4 and finally Patchset 5.  When trying to update the image file, via command "./update_bm_1.0.0.6_to_1.0.0.7.sh file:///mnt/exalyticsPS5/Server", it fails with an error:

# cd /opt/exalytics/bin
# ./update_bm_1.0.0.6_to_1.0.0.7.sh file:///mnt/exalyticsPS5/Server
It has come up with the following messages:
ERROR: Failed to install new rpms
/opt/exalytics/update/ps3tops4.d/70install_exalytics-deps.sh failed; return
code: 1
Running script: /opt/exalytics/update/ps3tops4.d/72fix_megacli_libsysfs.sh
...
/opt/exalytics/update/ps3tops4.d/72fix_megacli_libsysfs.sh completed OK
Failed to run scripts

  

Additional errors are in the update log:

file:///mnt/exalyticsPS4/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/exalyticsPS4/Server/repodata/repomd.xml'
Trying other mirror.

...
Error Downloading Packages:
  iwl5000-firmware-8.24.2.12-3.el5.noarch: failure:
iwl5000-firmware-8.24.2.12-3.el5.noarch.rpm from
exalytics_1.0.0.6_x86_64_base: [Errno 256] No more mirrors to try.
  perl-XML-Simple-2.14-4.fc6.0.1.noarch: failure:
perl-XML-Simple-2.14-4.fc6.0.1.noarch.rpm from exalytics_1.0.0.6_x86_64_base:
[Errno 256] No more mirrors to try.
...
 perl-XML-NamespaceSupport-1.09-1.2.1.noarch: failure:
perl-XML-NamespaceSupport-1.09-1.2.1.noarch.rpm from
exalytics_1.0.0.6_x86_64_base: [Errno 256] No more mirrors to try.
  perl-XML-LibXML-Common-0.13-8.2.2.x86_64: failure:
perl-XML-LibXML-Common-0.13-8.2.2.x86_64.rpm from
exalytics_1.0.0.6_x86_64_base: [Errno 256] No more mirrors to try.

ERROR: Failed to install new rpms
/opt/exalytics/update/ps3tops4.d/70install_exalytics-deps.sh failed; return code: 1
Running script: /opt/exalytics/update/ps3tops4.d/72fix_megacli_libsysfs.sh...
/opt/exalytics/update/ps3tops4.d/72fix_megacli_libsysfs.sh completed OK
Failed to run scripts

 

Cause

The update log file shows:

///mnt/exalyticsPS4/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/exalyticsPS4/Server/repodata/repomd.xml'
Trying other mirror. 

The script appears to be trying to get to /mnt/exalyticsPS4 for some reason. However you are using /mnt/exalyticsPS5.  Ran the following to check the yum repository status:

 

[root@plh-dc-exl01 exalytics]# yum repolist all
Loaded plugins: security
file:///mnt/exalyticsPS4/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/exalyticsPS4/Server/repodata/repomd.xml'
Trying other mirror.
repo id repo name status
exalytics_1.0.0.5_x86_64_base Exalytics release 1.0.0.5 Base (x86 enabled: 5
exalytics_1.0.0.6_x86_64_base Exalytics release 1.0.0.6 Base (x86 enabled: 3,506
exalytics_1.0.0.7_x86_64_base Exalytics release 1.0.0.7 Base (x86 enabled: 3,498
repolist: 7,009
[root@plh-dc-exl01 exalytics]# 

It seems that the update repository for 1.0.0.5 and 1.0.0.6 are still active, and this is confusing the 1.0.0.7 upgrade script.
 

Solution

The PS3 and PS4 yum repository are still enabled. A documentation bug was opened for this issue and the release notes and/or installation guide will be corrected in a future Exalytics Patchset (PS) release.

For now, you may workaround this issue by disabling the PS3 and PS4 repositories as described below.

You will find the PS3 and PS4 repos file in /etc/yum.repos.d/ directory.

To disable the PS3 and PS4 yum repositories, set the enabled flag to 0 as mentioned below:

  1. As root user, cd /etc/yum.repos.d
  2. Edit the file exalytics-1.0.0.5.repo, and change the line 'enabled=1' to enabled=0.  Save the changes.
  3. Edit the file exalytics-1.0.0.6.repo, and changed the line enabled=1 to enabled=0.  Save the changes.
  4. Then confirm settings with command:
    [root@plh-dc-exl01 yum.repos.d]# yum repolist all
    Loaded plugins: security
    repo id                       repo name                           status
    exalytics_1.0.0.5_x86_64_base Exalytics release 1.0.0.5 Base (x86 disabled
    exalytics_1.0.0.6_x86_64_base Exalytics release 1.0.0.6 Base (x86 disabled
    exalytics_1.0.0.7_x86_64_base Exalytics release 1.0.0.7 Base (x86 enabled: 3,498repolist: 3,498
     
  5. Once confirmed, re-run the upgrade script.
    ./update_bm_1.0.0.6_to_1.0.0.7.sh file:///mnt/exalyticsPS5/Server
      

 


 

References

<BUG:20724568> - APPLYING PS5 FAILS WITH ERROR: ERROR DOWNLOADING PACKAGES: IWL5000-FIRMWARE-8.

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