-
Notifications
You must be signed in to change notification settings - Fork 135
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
Support for Ceph Object Storage Gateway #130
Comments
Is there an easy way for me to set up Cepth to test? I saw that Ceph offers docker images. I'm wondering if there is an easy way to set up a test instance of Ceph configured for the object storage gateway use case. Also, can you please add the error output from NGINX where it fails to connect to Ceph or "errors out with AWS credentials not found"? The exact text will be useful in debugging. |
Hi @dekobon Thanks for your reply. To setup a Ceph Object Storage in K8s, you can use a managed service like EKS or a local cluster using Kind or Minikube. You need a minimum of 1 control plane node and 3 worker nodes along with 3 5GB empty disk devices. Once you have your K8s cluster, you can use the Rook (https://rook.io/) K8s operator to setup the Ceph storage. Then follow the documentation at https://rook.io/docs/rook/latest-release/ to setup Ceph. In my scenario, I have a Ceph object storage running locally at
I have configured the environment settings file for nginx-s3-gateway as below:
Then I started the nginx-s3-gateway (OSS version) docker container as below:
The logs are as below:
When I make a request to the NGiNX gateway with
I am wondering since I am running my gateway in a non AWS environment, why its trying to get EC2 task role credentials. I looked at the code and it seems we try to get the AWS signatire and credentials ( |
Can you check that you are running the latest version of the gateway? Preferably you are running from the images from github (not dockerhub). This error looks a lot like an error that was fixed recently. |
I just hit the same problem that you did. The environment variable |
@dekobon Thank you so much! I will try this. Appreciate your time on this. |
Did this solve your problem? |
In case you are stil having issues: lI think that |
I'm going to make this as closed. If you are still having problems, please comment or reopen the issue. |
Hi,
Is nginx-s3-gateway supported with Ceph Object Storage Gateway? I tried using it with Ceph, but it always errors out with AWS EC2 credentials not found. My Ceph cluster is created using Rook in local K8s cluster.
Here are the settings I am using for Ceph:
Does nginx-s3-gateway only works in AWS environment for S3? In the document however its mentioned that it works for all S3 compatible object storage systems.
Any help will be highly appreciated.
The text was updated successfully, but these errors were encountered: