Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup: cannot configure OVH S3 object storage as destination repo #6938

Closed
nrauso opened this issue May 31, 2024 · 5 comments
Closed

backup: cannot configure OVH S3 object storage as destination repo #6938

nrauso opened this issue May 31, 2024 · 5 comments
Assignees
Labels
verified All test cases were verified successfully

Comments

@nrauso
Copy link

nrauso commented May 31, 2024

NS8 does not allow to configure the OVH S3 object storage as backup repo.

Steps to reproduce

  • Create new bucket on OVH S3 object storage
  • Try to connect it to NS8 as new backup repo

Expected behavior

The new repo should be available and reachable

Actual behavior

The repo adding procedure generates an error:

[
  {
    "field": "parameters",
    "parameter": "parameters",
    "value": "2024/05/29 09:52:16 Failed to size: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'sbg'\n\tstatus code: 400, request id: tx787f64f6cea340d2826ed-006656fad0, host id: tx787f64f6cea340d2826ed-006656fad0\n",
    "error": "backup_repository_not_accessible"
  }
]

In plain text:

2024/05/29 09:52:16 Failed to size: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'sbg'
        status code: 400, request id: tx787f64f6cea340d2826ed-006656fad0, host id: tx787f64f6cea340d2826ed-006656fad0

The issue seems related to the lack of mandatory additional attributes needed by rclone.

Components

  • Core 2.8.1

See also

@nrauso nrauso added the bug label May 31, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in NethServer May 31, 2024
@DavidePrincipi DavidePrincipi moved this from 🆕 New to 🔖 Ready in NethServer May 31, 2024
@stephdl
Copy link

stephdl commented Sep 23, 2024

@DavidePrincipi DavidePrincipi self-assigned this Sep 23, 2024
@nrauso
Copy link
Author

nrauso commented Sep 30, 2024

This issue may also impact other S3 object storage providers.
Here's what happens with Wasabi:

[
  {
    "error":"backup_repository_not_accessible",
    "field":"parameters",
    "parameter":"parameters",
    "value":"2024/09/30 09:33:02 Failed to size: AuthorizationHeaderMalformed: The authorization header is malformed; the region 's3.eu-central-2.wasabisys.com' is wrong; expecting 'us-east-1'\n\tstatus code: 400, request id: RGCX0TXQRXB2B95X, host id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=\n"
  }
]

DavidePrincipi added a commit to NethServer/ns8-core that referenced this issue Oct 3, 2024
@DavidePrincipi DavidePrincipi added the testing Packages are available from testing repositories label Oct 3, 2024
@DavidePrincipi
Copy link
Member

In testing: core 3.0.0-dev.1

@nrauso
Copy link
Author

nrauso commented Oct 3, 2024

test case: VERIFIED

I am now able to properly manage multiple S3 object storage repositories for backups.
Restoring applications works as expected as well.

@nrauso nrauso added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Oct 3, 2024
@DavidePrincipi
Copy link
Member

@github-project-automation github-project-automation bot moved this from In progress to Done in NethServer Oct 3, 2024
@DavidePrincipi DavidePrincipi added this to the NethServer M8.2 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Archived in project
Development

No branches or pull requests

3 participants