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
[BUG] Backup / restore with AWS IAM Role fails with NoCredentialProviders #2718
Comments
Have you followed the doc to configure the Also, could you please check your AWS assume role configured correctly? |
The hint about what was needing the Role was precious (longhorn-manager AND instance-manager-replica), because our instance-manager-replicas are running on specific nodes that didn't got Kiam agent on them. Running the Kiam agent on those nodes just fixed the problem. Does the documentation explains that longhorn-manager and instance-manager-replica needs S3 access ? I think that I could have resolved my issue by myself if this information existed / if I found it. Thanks for your really fast reply, closing it now ! |
Sorry, no. But we could enhance our document on this one. Thank you. |
Let me reopen it, I'll close it after we enhance our documentation. |
Pre Ready-For-Testing Checklist
|
Closing, this is about the documentation enhancement, so nothing to verify because it works as expected. cc @longhorn/qa |
Describe the bug
After a Longhorn upgrade from 1.1.0 to 1.1.1, I needed to used the Backup / Restore feature with an IAM Role instead of IAM User.
Once I updated the appropriate secrets and set the appropriate annotation to allow the
longhorn-manager
pods to get the appropriate temporary credentials (viakiam
), I tried to trigger a backup, but I received an error message :To ensure that the
longhorn-manager
pod was able to reach S3, I installed AWS CLI insidelonghorn-manager
pod, and I was able to read / write onto the S3 bucket.longhorn-manager
?longhorn-manager
the only pod concerned by the Backup / Restore feature ?To Reproduce
Steps to reproduce the behavior:
Expected behavior
Backup / Restore features working without error.
Log
You can also attach a Support Bundle here. You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: