View Issue Details

IDProjectCategoryView StatusLast Update
0001331bareos-core[All Projects] storage daemonpublic2021-03-30 06:25
ReporterkaushalshriyanAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSCentOS OS Version7.9.2009 (Core)
Product Version20.0.1 
Fixed in Version 
Summary0001331: Backup data to AWS S3 bucket using the BareOS utility
DescriptionI am running bareos 20.0 on CentOS Linux release 7.9.2009 (Core). I have installed bareos 20.0 using https://download.bareos.org/bareos/release/20/CentOS_7/x86_64/ I am trying to push the backup to AWS S3 by following the document https://docs.bareos.org/TasksAndConcepts/StorageBackends.html. When I execute the run process I am encountering

23-Mar 10:28 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)

23-Mar 10:28 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok

#cat /etc/bareos/bareos-sd.d/device/droplet/aws.profile
# Generic host, but can't access buckets younger than 24h:
# Region specific host name. Can access also new buckets.
host="s3.amazonaws.com"
use_https = "true"
backend = "s3"
aws_region = "ap-south-1"
aws_auth_sign_version = "4"
access_key = "XXXXXXXXXXXXXXXXXXX"
secret_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
pricing_dir = ""

cat /etc/bareos/bareos-sd.d/device/AWS_S3_1-00.conf

Device {
  Name = "AWS_S3_1-00"
  Media Type = "S3_Object1"
  Archive Device = "AWS S3 Storage"
  Device Type = droplet
  Device Options = "profile=/etc/bareos/bareos-sd.d/device/droplet/aws.profile,bucket=droplet-bareos,chunksize=100M"
  Label Media = yes # Lets Bareos label unlabeled media
  Random Access = yes
  Automatic Mount = yes # When device opened, read it
  Removable Media = no
  Always Open = no
  Maximum Concurrent Jobs = 1
}

cat /etc/bareos/bareos-dir.d/storage/S3_Object.conf

Storage {
  Name = "S3_Object"
  Address = "krithilinux" # N.B. Use a fully qualified name here (do not use "localhost" here).
  Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  Maximum Concurrent Jobs = 1
  Collect Statistics = yes
  Allow Compression = Yes
  Device = "AWS_S3_1-00"
  Media Type = "S3_Object1"
}

#rpm -qa |grep bareos
bareos-database-postgresql-20.0.1-3.el7.x86_64
bareos-client-20.0.1-3.el7.x86_64
bareos-storage-droplet-20.0.1-3.el7.x86_64
bareos-common-20.0.1-3.el7.x86_64
bareos-database-common-20.0.1-3.el7.x86_64
bareos-database-tools-20.0.1-3.el7.x86_64
bareos-filedaemon-20.0.1-3.el7.x86_64
bareos-tools-20.0.1-3.el7.x86_64
bareos-20.0.1-3.el7.x86_64
bareos-webui-20.0.1-3.el7.x86_64
bareos-bconsole-20.0.1-3.el7.x86_64
bareos-director-20.0.1-3.el7.x86_64
bareos-storage-20.0.1-3.el7.x86_64
Steps To ReproduceI have attached the screenshot for reproducing the issue executing in http://192.168.0.177/bareos-webui/job/details/
Additional Information==> bareos.log <==
23-Mar 16:36 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:36 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:36 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:36 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:37 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:37 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:37 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:37 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:38 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:38 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:38 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:38 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:39 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:39 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:39 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:39 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:39 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:39 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:40 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:40 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:40 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:40 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:41 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:41 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:41 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:41 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:42 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:42 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:42 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:42 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:42 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)
23-Mar 16:42 bareos-sd: ERROR in backends/droplet_device.cc:113 error: ../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: SSL certificate verification status: 0: ok
23-Mar 16:42 bareos-sd JobId 44: Warning: stored/label.cc:389 Open device "AWS_S3_1-00" (AWS S3 Storage) Volume "Full-0003" failed: ERR=stored/dev.cc:734 Could not open: AWS S3 Storage/Full-0003, ERR=Success

23-Mar 16:42 bareos-sd JobId 44: Warning: stored/mount.cc:276 Open device "AWS_S3_1-00" (AWS S3 Storage) Volume "Full-0003" failed: ERR=stored/dev.cc:734 Could not open: AWS S3 Storage/Full-0003, ERR=Success

23-Mar 16:42 apigeeapicrafterprodbackup-fd JobId 44: Fatal error: filed/dir_cmd.cc:2697 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

23-Mar 16:42 bareos-dir JobId 44: Fatal error: Director's comm line to SD dropped.
23-Mar 16:42 bareos-dir JobId 44: Error: Bareos bareos-dir 20.0.1 (02Mar21):
  Build OS: CentOS Linux release 7.6.1810 (Core)
  JobId: 44
  Job: apigeebackup.2021-03-23_16.17.19_08
  Backup Level: Full
  Client: "apigeeapicrafterprodbackup" 20.0.0 (16Dec20) CentOS Linux release 7.6.1810 (Core),redhat
  FileSet: "LinuxConfig" 2021-03-22 19:26:06
  Pool: "Full" (From command line)
  Catalog: "MyCatalog" (From Client resource)
  Storage: "S3_Object" (From Job resource)
  Scheduled time: 23-Mar-2021 16:17:19
  Start time: 23-Mar-2021 16:17:21
  End time: 23-Mar-2021 16:42:58
  Elapsed time: 25 mins 37 secs
  Priority: 10
  FD Files Written: 0
  SD Files Written: 0
  FD Bytes Written: 0 (0 B)
  SD Bytes Written: 0 (0 B)
  Rate: 0.0 KB/s
  Software Compression: None
  VSS: no
  Encryption: no
  Accurate: no
  Volume name(s):
  Volume Session Id: 1
  Volume Session Time: 1616496336
  Last Volume Bytes: 0 (0 B)
  Non-fatal FD errors: 1
  SD Errors: 0
  FD termination status: Fatal Error
  SD termination status: Error
  Bareos binary info: bareos.org build: Get official binaries and vendor support on bareos.com
  Job triggered by: User
  Termination: *** Backup Error ***
Tagsdroplet
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

kaushalshriyan

kaushalshriyan

2021-03-23 14:59

reporter  

bareossslerror.png (649,167 bytes)
steptoreproduce.png (611,432 bytes)
ideacloud

ideacloud

2021-03-30 06:25

reporter   ~0004107

I have the same problem. No AWS connections using the plugin work correctly. They all show the same error in

Issue History

Date Modified Username Field Change
2021-03-23 14:59 kaushalshriyan New Issue
2021-03-23 14:59 kaushalshriyan Tag Attached: droplet
2021-03-23 14:59 kaushalshriyan File Added: bareossslerror.png
2021-03-23 14:59 kaushalshriyan File Added: steptoreproduce.png
2021-03-30 06:25 ideacloud Note Added: 0004107