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

MongoDB Backup Errors w/ Azure Custom Endpoint URL #1633

Open
bshouse6 opened this issue Aug 29, 2024 · 1 comment
Open

MongoDB Backup Errors w/ Azure Custom Endpoint URL #1633

bshouse6 opened this issue Aug 29, 2024 · 1 comment
Labels

Comments

@bshouse6
Copy link

Report

We are using PSMDB Operator on AKS. When trying to get backups running, the operator appears to not be using the endpointURL variable set in the yaml. In the logs for the backup-agent container, the agent is attempting to hit the default enpointURL.

The agent is picking up the correct storage account name from the secret referenced in the cr.yaml/mongodb instance yaml, just using an incorrect endpoint URL.

More about the problem

In the backup-agent container logs, we are getting a no such host error when backups try to run. The storage account name is correct, but the rest of the URL to the associated blob storage is incorrect.

Steps to reproduce

  1. Create the Azure Blob Storage Credentials secret containing the account name and account key/secret
  2. Enable backups in the MongoDB instance yaml file, backup section
  3. Set the container, credentialsSecret, prefix, and endpoint URL in the appropriate section of the instance yaml
  4. View backup-agent container logs for error

Versions

  1. Kubernetes - 1.28.9
  2. Operator - 1.16.2
  3. Database - MongoDB

Anything else?

No response

@bshouse6 bshouse6 added the bug label Aug 29, 2024
@nmarukovich
Copy link
Contributor

nmarukovich commented Nov 15, 2024

@bshouse6 thank you for your report. Could you please give an example of endpoint URL you used?
And logs which you see in backup-agent if it's possible

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

3 participants
@nmarukovich @bshouse6 and others