View Issue Details

IDProjectCategoryView StatusLast Update
0001241bareos-core[All Projects] storage daemonpublic2020-05-14 13:40
Reporteranuroop989Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSCentOSOS Version7
Product Version18.2.5 
Fixed in Version 
Summary0001241: backup failed :: bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/conn.c:316: do_connect: Timed out connection
DescriptionHello,
I recently installed BareOS server and client and the droplet plugin to send data to AWS S3. Tested the backup to S3 with Selftest as the Fileset and it works without any issue.
But when trying a full backup with fileset "LINUXALL" the backup fails with below error.

"backends/droplet_device.cc:109 error: src/httpreply.c:382: dpl_read_http_reply_buffered: Timed out waiting to read from server mc-bareos-test.s3.amazonaws.com:80"

Note : Full backup with fileset called SelfTest works fine

Following is my error.
-------------------------------------------------
14-May 13:58 bareos-sd JobId 43: Volume "Full-0022" previously written, moving to end of data.
14-May 13:58 bareos-sd JobId 43: Error: Unable to position to end of data on device "AWS_S3_1-00" (AWS S3 Storage): ERR=stored/dev.cc:850 lseek error on "AWS_S3_1-00" (AWS S3 Storage). ERR=Success.
14-May 13:58 bareos-sd JobId 43: Marking Volume "Full-0022" in Error in Catalog.
14-May 13:58 bareos-dir JobId 43: Created new Volume "Full-0023" in catalog.
14-May 13:58 bareos-sd JobId 43: Labeled new Volume "Full-0023" on device "AWS_S3_1-00" (AWS S3 Storage).
14-May 13:58 bareos-sd JobId 43: Wrote label to prelabeled Volume "Full-0023" on device "AWS_S3_1-00" (AWS S3 Storage)
14-May 14:01 bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/conn.c:316: do_connect: Timed out connecting to server 52.219.47.153:80 after 5 seconds
14-May 14:03 anuroop-prakash-fd JobId 43: Disallowed filesystem. Will not descend from / into /dev
14-May 14:03 anuroop-prakash-fd JobId 43: Disallowed filesystem. Will not descend from / into /run
14-May 14:03 anuroop-prakash-fd JobId 43: Disallowed filesystem. Will not descend from / into /sys
14-May 14:06 bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/conn.c:316: do_connect: Timed out connecting to server 52.219.47.85:80 after 5 seconds
14-May 14:11 bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/httpreply.c:382: dpl_read_http_reply_buffered: Timed out waiting to read from server mc-bareos-test.s3.amazonaws.com:80
14-May 14:12 bareos-sd JobId 43: Error: stored/block.cc:771 Write error at 0:419392685 on device "AWS_S3_1-00" (AWS S3 Storage). ERR=Input/output error.
14-May 14:12 bareos-sd JobId 43: Error: stored/block.cc:785 Write error on fd=0 at file:blk 0:419392685 on device "AWS_S3_1-00" (AWS S3 Storage). ERR=Input/output error.
14-May 14:12 bareos-sd JobId 43: End of medium on Volume "Full-0023" Bytes=419,392,686 Blocks=6,501 at 14-May-2020 14:12.
14-May 14:12 bareos-dir JobId 43: Created new Volume "Full-0024" in catalog.
14-May 14:12 bareos-sd JobId 43: Labeled new Volume "Full-0024" on device "AWS_S3_1-00" (AWS S3 Storage).
14-May 14:12 bareos-sd JobId 43: Wrote label to prelabeled Volume "Full-0024" on device "AWS_S3_1-00" (AWS S3 Storage)
14-May 14:12 bareos-sd JobId 43: New volume "Full-0024" mounted on device "AWS_S3_1-00" (AWS S3 Storage) at 14-May-2020 14:12.
14-May 14:12 bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/conn.c:316: do_connect: Timed out connecting to server 52.219.72.242:80 after 5 seconds
14-May 14:27 anuroop-prakash-fd JobId 43: Disallowed filesystem. Will not descend from / into /var/lib/nfs/rpc_pipefs
14-May 14:42 bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/httpreply.c:382: dpl_read_http_reply_buffered: Timed out waiting to read from server mc-bareos-test.s3.amazonaws.com:80
14-May 14:42 bareos-sd JobId 43: Error: stored/block.cc:771 Write error at 0:419392652 on device "AWS_S3_1-00" (AWS S3 Storage). ERR=Input/output error.
14-May 14:42 bareos-sd JobId 43: Error: stored/block.cc:785 Write error on fd=0 at file:blk 0:419392652 on device "AWS_S3_1-00" (AWS S3 Storage). ERR=Input/output error.
14-May 14:42 bareos-sd JobId 43: End of medium on Volume "Full-0024" Bytes=419,392,653 Blocks=6,501 at 14-May-2020 14:42.
14-May 14:42 bareos-dir JobId 43: Created new Volume "Full-0025" in catalog.
14-May 14:42 bareos-sd JobId 43: Labeled new Volume "Full-0025" on device "AWS_S3_1-00" (AWS S3 Storage).
14-May 14:42 bareos-sd JobId 43: Wrote label to prelabeled Volume "Full-0025" on device "AWS_S3_1-00" (AWS S3 Storage)
14-May 14:42 bareos-sd JobId 43: New volume "Full-0025" mounted on device "AWS_S3_1-00" (AWS S3 Storage) at 14-May-2020 14:42.
14-May 15:15 bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/httpreply.c:382: dpl_read_http_reply_buffered: Timed out waiting to read from server mc-bareos-test.s3.amazonaws.com:80
14-May 15:15 bareos-sd JobId 43: Error: stored/block.cc:771 Write error at 0:419392709 on device "AWS_S3_1-00" (AWS S3 Storage). ERR=Input/output error.
14-May 15:15 bareos-sd JobId 43: Error: stored/block.cc:785 Write error on fd=0 at file:blk 0:419392709 on device "AWS_S3_1-00" (AWS S3 Storage). ERR=Input/output error.
14-May 15:15 bareos-sd JobId 43: End of medium on Volume "Full-0025" Bytes=419,392,710 Blocks=6,501 at 14-May-2020 15:15.
14-May 15:15 bareos-dir JobId 43: Created new Volume "Full-0026" in catalog.
14-May 15:15 bareos-sd JobId 43: Labeled new Volume "Full-0026" on device "AWS_S3_1-00" (AWS S3 Storage).
14-May 15:15 bareos-sd JobId 43: Wrote label to prelabeled Volume "Full-0026" on device "AWS_S3_1-00" (AWS S3 Storage)
14-May 15:15 bareos-sd JobId 43: New volume "Full-0026" mounted on device "AWS_S3_1-00" (AWS S3 Storage) at 14-May-2020 15:15.
-------------------------------------------------


Is there anything to do more on config to get rid of this issue. Could anyone please look into it and suggest
Additional InformationMain configurations
---------------------------------
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=mc-bareos-test,chunksize=100M,iothreads=0,retries=0"
  Label Media = yes
  Random Access = yes
  Automatic Mount = yes
  Removable Media = no
  Always Open = no
  Description = "S3 device"
  Maximum Concurrent Jobs = 1

-------------------------------------------------
host = s3.amazonaws.com:443
use_https = true
backend = s3
aws_region = eu-central-1
aws_auth_sign_version = 4
pricing_dir = ""

-------------------------------------------------

FileSet {
  Name = "LinuxAll"
  Description = "Backup all regular filesystems, determined by filesystem type."
  Include {
    Options {
      Signature = MD5 # calculate md5 checksum per file
      One FS = No # change into other filessytems
      FS Type = btrfs
      FS Type = ext2 # filesystems of given types will be backed up
      FS Type = ext3 # others will be ignored
      FS Type = ext4
      FS Type = reiserfs
      FS Type = jfs
      FS Type = xfs
      FS Type = zfs
    }
    File = /
  }
  # Things that usually have to be excluded
  # You have to exclude /var/lib/bareos/storage
  # on your bareos server
  Exclude {
    File = /var/lib/bareos
    File = /var/lib/bareos/storage
    File = /proc
    File = /tmp
    File = /var/tmp
    File = /.journal
    File = /.fsck
  }
}
-------------------------------------------------
TagsNo tags attached.
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-05-14 13:40 anuroop989 New Issue