-
Notifications
You must be signed in to change notification settings - Fork 40
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
Compatibility with Oracle Kubernetes Engine. #146
Comments
Hey @shb-mll That said if you want to try to install it and report errors or questons in this thread I am happy to troubleshoot with you as much as I can. Also happy for you to land the change you discover as a PR. |
I installed core-dump-handler on OKE with below values for daemonset. segfaulter test confirm the cores were collected at /var/mnt/core-dump-handler/cores on the node.
OCI is amazon s3 API compatible - link. However I see below error during upload to the OCI bucket.
|
ok it appears that there was some issue with node where the coredump was collected. I removed the node and ran the segfaulter test again and it completed with a successful upload to the OCI bucket. However storing the customer secret key in a kubernetes secret is not optimal way, need to find a better way to authenticate to OCI bucket. |
Hey @shb-mll |
Hey @No9, Currently workload identity is only supported in Go and JAVA SDK's https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contenggrantingworkloadaccesstoresources.htm#:~:text=The%20following%20OCI,v2.54.0%20(and%20later). So I am not sure if it will work in RUST. |
OK can you explain a bit more about what is meant by
If you are looking to provide the core dump to an external user you may want to look at building a post processor by using one of these two options:
|
The customer secret key is created per user in OCI. This customer secret key is a Access Key/Secret Key pair used to access the object storage in OCI via amazon s3 compatible api. Going by the default setup of core-dump-handler they keys are base64 encoded and stored in secret s3config which is not that secure. Thanks for the suggestions, I will check if its possible to implement the two options in my setup. About option 2 is there more information on how exactly the additional file be used for post processing. could you share some example setups if available. |
Hi @No9 Due to some requirements I had to downgrade my worker nodes to Oracle Linux 7 (earlier I was using oracle linux 8). I made some changes to the daemonset values (listed below)
My current setting for daemonset and composer.
|
Hey @shb-mll
https://github.com/durch/rust-s3/blob/7fdb685d71385152198f906068f15faaabd28592/s3/src/error.rs#L39 Looks like the Oracle objectstorage API isn't compatible with that library. Just double checking but in your daemonset config you have replaced If you have configured the namespace properly then can I suggest you raise an issue/provide a fix in the rust-s3 library and we can catch it by bumping the dependency. [Edit] |
@No9 yes I provided the namespace value for S3_ENDPOINT. Also this worked in oracle linux 8, when I tested earlier on 20th May. (screenshot below) Also there has been no update to oracle compatibility API since 2017 |
Thanks for the update - As the last release for this project was in January and the service was working in May and the error being based on the http response from the object storage service it does point to the issue being due to downstream (i.e. object storage) config issues or changes. We don't have an Oracle Cloud account to validate or debug so any further investigation would need to come from your side. Can I suggest as a next step you reproduce the issue by creating a standalone app that just contains the same version of the rust-s3 library at version |
Hi Team,
I want to install the core dump handler on a OKE cluster (the nodes are on v1.24.1 with Oracle-Linux-8.7) . The https://github.com/IBM/core-dump-handler#kubernetes-service-compatibility doesn't list oracle linux as a supported product. However could you confirm if this can be deployed OKE ? If yes, could you provide the below.
The text was updated successfully, but these errors were encountered: