Closed sanasz91mdev closed 1 year ago
Hey @sanasz91mdev
Just to check:
The ODF S3 endpoint is hosted on the same cluster you are running core-dump-handler?
If so the configuration of daemonset.s3Region=us-east-1
is incorrect as us-east-1
will try and use the AWS Public S3 service.
The s3Region
option is badly named as it is can also be the host name of the service.
If this is hosted on the same cluster and the ODF S3 endpoint has a ClusterIP service,
(You can check that with oc get svc --all-namespaces
)
you should be able to use that name in the daemonset.s3Region
but I haven't tested it.
is hosted on the same cluster you are running core-dump-handle
s3 Endpoint, IBM Core dump handler is on same cluster .. i have an S3 endpoint available:
Do you suggest me to use value of S3 Route defined in above image in daemonset.s3Region or you want me to use service behind it in this place holder?
You should be able to use either of them - the service call would have less hops but I'm not 100% where the credentials are enforced in ODF so you might want to use the public S3 route displayed above.
[Edit]
Just put in the host name don't include the https://
You should be able to use either of them - the service call would have less hops but I'm not 100% where the credentials are enforced in ODF so you might want to use the public S3 route displayed above. [Edit] Just put in the host name don't include the
https://
Yes thanks! this worked ... can you please update docs to reflect that s3Region can be host name of S3 service?
Excellent glad you got it sorted. Updated the chart README https://github.com/IBM/core-dump-handler/commit/ac737112fb6d2ba046942befb226c1f645f56d33
@sanasz91mdev Don't forget to change the credentials for the service! :smiley:
FWIW, S3_ENDPOINT
should be used for that manner instead of S3_REGION
.
i am trying to use ODF S3 compatible object bucket created via object bucket claim using claim's secret :
AWS_ACCESS_KEY_ID: WjBmTHVPQXlGMXRjRUlSQlV4Tks= AWS_SECRET_ACCESS_KEY: VzBWa0FBZG5PQlZoK2sxdXIvT2lJa2toRG13QVBDT3IzallBR2VCag==
but i am unable to cofigure this s3 compatible storage for IBM Core dump handler: https://github.com/IBM/core-dump-handler/blob/main/charts/core-dump-handler/README.md
i used following install command after decoding above values:
helm install --repo https://ibm.github.io/core-dump-handler/ core-dump-handler --generate-name --namespace observe --set daemonset.s3AccessKey=Z0fLuOAyF1tcEIRBUxNK --set daemonset.s3Secret=W0VkAAdnOBVh+k1ur/OiIkkhDmwAPCOr3jYAG --set daemonset.s3BucketName=obc-default-my-obj-bucket-claim --set daemonset.s3Region=us-east-1 --values values.openshift.yaml
Error logs: