My Oracle Support Banner

Upgrade to BDA V4.5 Fails on Step 6 with "Stage[main]/Miscsetup::Copy_source/File[/opt/oss/src/CDH/5.5.1-ol5]/ensure) change from directory to link failed: Could not remove existing file" (Doc ID 2163482.1)

Last updated on JANUARY 02, 2020

Applies to:

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

Symptoms

NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.

  

Upgrade from BDA V4.4 to BDA V4.5 (with BDD 1.1.1 enabled) fails on Step 6 as below:

************************************
Error [5823]: (//bdanode05.example.com//Stage[main]/Miscsetup::Copy_source/File[/opt/oss/src/CDH/5.5.1-ol5]/ensure) change from directory to link failed: Could not remove existing file
************************************
INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode05-<TIMESTAMP>.log
INFO: Puppet agent run on node bdanode06 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode06-<TIMESTAMP>.log
ERROR: Error copying source and zip files to all nodes
ERROR: unable to continue with install until errors are fixed #Step 6#
INFO: Time spent in step 6 InstallBDASoftware is 4301 seconds.
INFO: Running bdadiagcluster...
INFO: Please get the Big Data Appliance cluster diagnostic bundle at /tmp/bdadiagcluster_<EPOCH_TIMESTAMP>.zip

Additional Symptoms:

1. bdanode01-<TIMESTAMP>.log show a problem on Node 5 only:

ERROR: Puppet agent run on node bdanode05 had errors. List of errors follows
INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode05-<TIMESTAMP>.log

 

2. pagent-bdanode0<x>-<TIMESTAMP>.log (where x is anything but 5) shows all copies from /opt/oss/src/CDH/5.7.0-ol5 are successfully completed. 

For example:

Jul 19 09:57:16 bdanode01 puppet-master[5823]: Compiled catalog for bdanode06.example.com in environment production in 0.39 seconds
Jul 19 09:58:05 bdanode01 puppet-master[5823]: (//bdanode06.example.com//Stage[main]/Miscsetup::Copy_source/File[/opt/oss/src/CDH/5.7.0-ol5]/ensure) created
...
Jul 19 09:58:05 bdanode01 puppet-master[5823]: (//bdanode06.example.com/Puppet) End bdanode06.example.com site_copy_source.pp <id>
Jul 19 09:58:05 bdanode01 puppet-master[5823]: (//bdanode06.example.com//Stage[post]/Miscsetup::Endstep/Notify[end_step]/message) defined 'message' as 'End bdanode06.example.com site_copy_source.pp <id>'
Jul 19 09:58:05 bdanode01 puppet-master[5823]: (//bdanode06.example.com/Puppet) Finished catalog run in 48.53 seconds
Jul 19 09:58:19 bdanode01 puppet-master[5823]: Compiled catalog for bdanode06.example.com in environment production in 0.40 seconds

3. pagent-bdanode05-<TIMESTAMP>.log shows a copy failure:

Jul 19 09:57:15 bdanode01 puppet-master[5823]: Compiled catalog for bdanode05.example.com in environment production in 0.21 seconds
Jul 19 09:58:44 bdanode01 puppet-master[5823]: (//bdanode05.example.com//Stage[main]/Miscsetup::Copy_source/File[/opt/oss/src/CDH/5.5.1-ol5_orig]/ensure) created
...
Jul 19 09:58:44 bdanode01 puppet-master[5823]: (//bdanode05.example.com//Stage[main]/Miscsetup::Copy_source/File[/opt/oss/src/CDH/5.5.1-ol5/flume-ng-1.6.0-cdh5.5.1-src.tar.gz]) Skipping because of failed dependencies
Jul 19 09:58:44 bdanode01 puppet-master[5823]: (//bdanode05.example.com//Stage[main]/Miscsetup::Copy_source/File[/opt/oss/src/CDH/5.7.0-ol5/avro-1.7.6-cdh5.7.0.tar.gz]/ensure) defined content as '{md5}#'
Jul 19 09:58:44 bdanode01 puppet-master[5823]: (//bdanode05.example.com//Stage[post]/Miscsetup::Endstep/Notify[end_step]) Dependency File[/opt/oss/src/CDH/5.5.1-ol5] has failures: true
Jul 19 09:58:44 bdanode01 puppet-master[5823]: (//bdanode05.example.com//Stage[post]/Miscsetup::Endstep/Notify[end_step]) Skipping because of failed dependencies
Jul 19 09:58:44 bdanode01 puppet-master[5823]: (//bdanode05.example.com/Puppet) Finished catalog run in 89.18 seconds

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.