Mammoth Upgrade to Oracle Big Data Appliance V2.3.1 fails with Yumrepo Exec[yum_clean_all] returns 0 failed at STEP 2. (Doc ID 1608881.1)

Last updated on MARCH 23, 2014

Applies to:

Big Data Appliance Integrated Software - Version 2.3.1 and later
Linux x86-64

Symptoms

An upgrade from BDA 2.1.1 to BDA 2.3.1 via mammoth -p fails with errors like below on some nodes of the cluster:

...
ERROR: Puppet agent run on node BdaNode01 had errors. List of errors follows
************************************
Error [25108]: (//BdaNode01.example.com//Stage[main]/Miscsetup::Yumrepo/Exec[yum_clean_all]/returns) change from notrun to 0 failed: Command exceeded timeout a
t /opt/oracle/BDAMammoth/puppet/modules/miscsetup/manifests/yumrepo.pp:24
************************************
INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-BdaNode01-20131216222303.log
...
ERROR: Puppet agent run on node BdaNode0n had errors. List of errors follows
************************************
Error [25108]: (//BdaNode0n.example.com//Stage[main]/Miscsetup::Yumrepo/Exec[yum_clean_all]/returns) change from notrun to 0 failed: Command exceeded timeout a
t /opt/oracle/BDAMammoth/puppet/modules/miscsetup/manifests/yumrepo.pp:24
************************************
INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-BdaNode0n-20131216222303.log

ERROR: Puppet script had errors.
ERROR: unable to continue with install until errors are fixed #Step 2#
INFO: Time spent in step 2 PatchFactoryImage is 831 seconds.
Exiting...

 

The log file, for example in this case: /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-BdaNode03-20131216222303.log, further shows problems with "yum clean all":

...
Dec 16 22:28:07 BdaNode01 puppet-master[25108]: (//BdaNode01.example.com//Stage[main]/Miscsetup::Yumrepo/Exec[yum_clean_all]/returns) change from notrun to 0 failed: Command exceeded timeout at /opt/oracle/BDAMammoth/puppet/modules/miscsetup/manifests/yumrepo.pp:24
Dec 16 22:28:07 BdaNode01 puppet-master[25108]: (//BdaNode01.example.com//Stage[post]/Miscsetup::Endstep/Notify[end_step]) Dependency Exec[yum_clean_all] has failures: true                                                                                                                                                                                                                   ...


Other log files in /opt/oracle/BDAMammoth/bdaconfig/tmp on node 1 of the cluster may show output indicating additional files in the yum repository:

...
ERROR: The yum repository directory should contain only bda.repo
ERROR: Please either remove or rename other repo files in this directory
ERROR: Then re-run this operation

However running the following as root on node 1 of the BDA indicates no problems related to bda.repo:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms