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

PerconaServerMongoDBRestore pbm 2.6.0 get S3 object header: NoCredentialProviders: no valid providers in chain. Deprecated #1724

Open
holubnychyi opened this issue Nov 14, 2024 · 1 comment
Labels

Comments

@holubnychyi
Copy link

holubnychyi commented Nov 14, 2024

Report

Backup and restore works fine with pbm 2.5.0. Once I upgrade percona-backup-mongodb:2.5.0 to the percona-backup-mongodb:2.6.0 or 2.7.0, I get error for PerconaServerMongoDBRestore only. PerconaServerMongoDBBackup works properly in all versions.

[PerconaServerMongoDBRestore pbm 2.6.0 get S3 object header: NoCredentialProviders: no valid providers in chain. Deprecated]

More about the problem

The backup storage configuration:

backup:
  storages:
    juicefs:
      type: s3
      s3:
        region: europe-west3
        bucket: juicefs-enc-sc
        uploadPartSize: 402653184
        prefix: backup/mongo-pbm/environment
        endpointUrl: http://s3-juicefs-enc-sc.juicefs.svc.cluster.local:9000
        credentialsSecret: default-backup-s3

Steps to reproduce

  1. version components and configuration are mentioned.
  2. Upgrade pbm to 2.6.0 or 2.7.0 and run PerconaServerMongoDBRestore

Versions

storage: JuiceFS.

Percona Server MongoDB Operator
helm charts:
psmdb-operator-1.17.1
psmdb-db-1.17.0
crd: 0.16.3

images:
percona-server-mongodb-operator:1.17.1
percona-backup-mongodb:2.5.0 -> percona-backup-mongodb:2.6.0

Anything else?

No response

@hors
Copy link
Collaborator

hors commented Dec 12, 2024

Hi @holubnychyi If you use psmdb operator 1.17 it can't work with PBM >= 2.6.0. The operator has go dependencies on PBM modules and some functions can't work correctly. If you want to use PBM 2.7 you need to update operator. PSMDB 1.18.0 supports PBM 2.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants