View Issue Details

IDProjectCategoryView StatusLast Update
0001553bareos-corestorage daemonpublic2023-12-13 15:31
Reporterrobertdb Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version9
Product Version22.1.0 
Summary0001553: S3 (droplet) returns an error on Exoscale S3 service
DescriptionUsing [Exoscale Object Storage](https://www.exoscale.com/object-storage/) ("S3 compatible"), I'm getting this error and a failing job:

```text
bareos-storagedaemon JobId 1: Warning: stored/label.cc:358 Open device "EXO_S3_1-00" (Exoscale S3 Storage) Volume "Full-0001" failed: ERR=stored/dev.cc:602 Could not open: Exoscale S3 Storage/Full-0001
```
Steps To ReproduceConfigure bareos-sd with these files:

/etc/bareos/bareos-sd.d/device/EXO_S3_1-00.conf:

```text
Device {
  Name = "EXO_S3_1-00"
  Description = "ExoScale S3 device."
  Maximum Concurrent Jobs = 1
  Media Type = "S3_Object"
  Archive Device = "Exoscale S3 Storage"
  Device Type = "droplet"
  Device Options = "profile=/etc/bareos/bareos-sd.d/device/droplet/exoscale.profile,bucket=bareos-backups,chunksize=100M"
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = No
  AlwaysOpen = No
}
```

/etc/bareos/bareos-sd.d/device/droplet/exoscale.profile:

```text
host = "sos-ch-gva-2.exo.io:443"
use_https = true
access_key = REDACTED
secret_key = REDACTED
pricing_dir = ""
backend = s3
aws_auth_sign_version = 4
aws_region = ch-gva-2
```

Start a backup on this Storage.
Additional InformationThe packages are installed from the "subscription repository": (`cat /etc/apt/sources.list.d/bareos.list`)

```text
deb [signed-by=/etc/apt/bareos.gpg] https://download.bareos.com/bareos/release/22/Debian_12 /
```

I'm using these version: (`dpkg -l | grep bareos`)

```text
ii bareos-common 22.1.0-2 amd64 Backup Archiving Recovery Open Sourced - common files
ii bareos-dbg 22.1.0-2 amd64 Backup Archiving Recovery Open Sourced - debugging symbols
ii bareos-storage 22.1.0-2 amd64 Backup Archiving Recovery Open Sourced - storage daemon
ii bareos-storage-droplet 22.1.0-2 amd64 Backup Archiving Recovery Open Sourced - storage daemon droplet backend
ii bareos-storage-tape 22.1.0-2 amd64 Backup Archiving Recovery Open Sourced - storage daemon tape support
ii bareos-tools 22.1.0-2 amd64 Backup Archiving Recovery Open Sourced - common tools
```

On this host: (`cat /etc/os-release`)

```text
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
```
Tags"libdroplet", "s3"

Relationships

has duplicate 0001503 closedbruno-at-bareos Bareos-sd with libdroplet(s3) storage leaves sockets in CLOSE_WAIT state (FD exhaustion/resource leak) 
has duplicate 0001340 closedbruno-at-bareos problem with Droplet Storage Backend 
has duplicate 0001327 closedbruno-at-bareos Error while taking backup to AWS s3 bucket 
has duplicate 0001331 closedbruno-at-bareos Backup data to AWS S3 bucket using the BareOS utility 
has duplicate 0001241 closedbruno-at-bareos backup failed :: bareos-sd: ERROR in backends/droplet_device.cc:109 error: src/conn.c:316: do_connect: Timed out connection 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-09-20 10:18 robertdb New Issue
2023-09-20 10:18 robertdb Tag Attached: "libdroplet"
2023-09-20 10:18 robertdb Tag Attached: "s3"
2023-12-13 15:27 bruno-at-bareos Relationship added has duplicate 0001503
2023-12-13 15:28 bruno-at-bareos Relationship added has duplicate 0001340
2023-12-13 15:28 bruno-at-bareos Relationship added has duplicate 0001327
2023-12-13 15:30 bruno-at-bareos Relationship added has duplicate 0001331
2023-12-13 15:31 bruno-at-bareos Relationship added has duplicate 0001241