DBaaS: BACKUPS REPORTED FAILING AFTER CLOUD TOOLING UPGRADE

(Doc ID 2354165.1)

Last updated on JULY 09, 2018

Applies to:

Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

DBaastool was upgraded as part of the patching but after upgrading the dbaastool, the backups started failing. On activity log it, below logs were reported:

Jan 18, 2018 5:53:04 AM UTC Activity Submitted
Jan 18, 2018 5:53:04 AM UTC Activity Started
Jan 18, 2018 5:53:04 AM UTC Initiating backup operation..
Jan 18, 2018 5:53:21 AM UTC Backup Status [sudo su -c '/var/opt/oracle/bkup_api/bkup_api bkup_start > /tmp/bkupstart_ORCLPIS.out']
Jan 18, 2018 5:53:21 AM UTC Backup operation in progress..
Jan 18, 2018 7:24:48 AM UTC Backup Config update failed due to :[ SCRIPT execution errors in [XXX.XXX.XXX.XXX]:
************************************************** * API History: API steps API:: NEW PROCESS 32540 API:: Starting dbaas backup process * DBaaS Error trace: -> API::ERROR Cannot complete config files backup -> API::ERROR Cannot upload config file tar -> API::ERROR ERROR : putfile file /u03/app/oracle/fast_recovery_area/ORCLPIS/oscfgfiles/2018_01_18/oscfgfiles_20 180118_1253.tar.gz : No such file or directory * * RETURN CODE:1 ################################################## ].
Jan 18, 2018 7:24:48 AM UTC Backup operation failed.
Jan 18, 2018 7:24:48 AM UTC Activity Ended

 

Logs show the RMAN backup was completed but the error was thrown while uploading config files to cloud storage as pointed by below logs:

obkup2018-01-18_11:23:29.log
============================
OBKUP:: Oracle database state is up and running
catalog mode  no
################################ PERIODICAL BACKUP STARTING ################################
logfile: /var/opt/oracle/log/ORCLPIS/obkup/obkup2018-01-18_11:23:29.log
OBKUP:: DB instance: ORCLPIS
........
OBKUP:: Backup to cloud storage and local storage is complete   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< backup reported completed here
OBKUP:: Clean MOTD.
OBKUP:: Starting backup of config files  <<<<<<<<<<<<<<<<<<
############### CFG FILES BACKUP #####################
OBKUP:: Executing rman instructions
Connection string: /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman msgno target /
-> SPOOL LOG to '/var/opt/oracle/ocde/assistants/bkup/tmp/list';
-> list backup summary;
-> SPOOL LOG OFF;
..........
..........
OBKUP::  DBID: 1697909100
OBKUP:: Compressing config files into tar files
OBKUP:: .... OK
OBKUP:: Uploading config files to cloud storage  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< upload started for the files to cloud storage
Starting OSS
Logfile is /var/opt/oracle/log/oss/oss_2018-01-18_12:54:42.log
Config file is /var/opt/oracle/oss/oss.cfg

ERROR : putfile file /u03/app/oracle/fast_recovery_area/ORCLPIS/oscfgfiles/2018_01_18/oscfgfiles_20180118_1253.tar.gz : No such file or directory

ERROR : putfile file /u03/app/oracle/fast_recovery_area/ORCLPIS/oscfgfiles/2018_01_18/oscfgfiles_20180118_1253.tar.gz : No such file or directory
OBKUP::ERROR Cannot upload config file tar
Cloud Storage Command: /var/opt/oracle/oss/oss -dbname ORCLPIS -base $HOSTNAME-1697909100 -putfile /u03/app/oracle/fast_recovery_area/ORCLPIS/oscfgfiles/2018_01_18/oscfgfiles_20180118_1253.tar.gz
OBKUP::ERROR Cannot complete config files backup



oss_2018-01-18_12:54:42.log
===========================
2018-01-18 12:54:42 - Starting OSS
2018-01-18 12:54:42 - Logfile is /var/opt/oracle/log/oss/oss_2018-01-18_12:54:42.log
...........
...........
2018-01-18 12:54:43 - ERROR : putfile file /u03/app/oracle/fast_recovery_area/ORCLPIS/oscfgfiles/2018_01_18/oscfgfiles_20180118_1253.tar.gz : No such file or directory
2018-01-18 12:54:43 - ERROR : putfile file /u03/app/oracle/fast_recovery_area/ORCLPIS/oscfgfiles/2018_01_18/oscfgfiles_20180118_1253.tar.gz : No such file or directory
at /var/opt/oracle/oss/../perl_lib/DBAAS/Common.pm line 379
       Common::logdie('Common=HASH(0x29268d8)', 'ERROR : putfile file /u03/app/oracle/fast_recovery_area/ORCLP...') called at /var/opt/oracle/oss/oss line 215
       main::validate_params() called at /var/opt/oracle/oss/oss line 95

 

Changes

Cloud tooling was upgraded.

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