-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
rook-ceph-tools does not have the s5cmd command #14213
Comments
We do have a CI test which validates it https://github.com/rook/rook/blob/master/.github/workflows/canary-integration-test.yml#L359, can you recheck the procedure |
To use s5cmd, create toolbox-operator-image.yaml instead of toolbox.yaml. See also this doc topic. |
When I try to use s5cmd, create toolbox-operator-image.yaml instead of toolbox.yaml. See also this document topic. But an error was reported
I can use this by creating a serviceaccount
According to https://rook.io/docs/rook/v1.10/Storage-Configuration/Object-Storage-RGW/object-storage/#put-or-get-an-object And the branch of v1.10.12 does not have toolbox-operator-image.yaml. I can only find this yaml from the latest branch. I use the branch of v1.10.12 mainly because it can support the kubernetes cluster after 1.19, which is relatively old rook. The document does seem to leave something out |
We are no longer providing support or software updates for Rook v1.10. Rook v1.14 and v1.13 are the only actively supported Rook versions currently. The It seems like you have found a workaround for your use with the older Rook version. You can alternately feel free to build your own image to use with the v1.10 toolbox that uses the ceph image as a base and installs s5cmd. Given our version support status, I don't see anything here that is actionable on the Rook dev side. |
and you can also remove this line https://github.com/rook/rook/blob/master/deploy/examples/toolbox-operator-image.yaml#L25, if you are o lower version, |
You could also use the 1.12 version of that toolbox-operator-image.yaml. It would be recommended to update the image version of the toolbox to match your rook version, but otherwise I would expect it to work fine. |
OK, problem solved. I'll shut it down |
Is this a bug report or feature request?
Deviation from expected behavior:
The rook-ceph-tools container I use does not contain the s5cmd command
According to the document
To test uploading files to the bucket, but found no s5cmd command
Expected behavior:
Hopefully, you can use this command
How to reproduce it (minimal and precise):
File(s) to submit:
cluster.yaml
, if necessaryLogs to submit:
Operator's logs, if necessary
Crashing pod(s) logs, if necessary
To get logs, use
kubectl -n <namespace> logs <pod name>
When pasting logs, always surround them with backticks or use the
insert code
button from the Github UI.Read GitHub documentation if you need help.
Cluster Status to submit:
Output of kubectl commands, if necessary
To get the health of the cluster, use
kubectl rook-ceph health
To get the status of the cluster, use
kubectl rook-ceph ceph status
For more details, see the Rook kubectl Plugin
Environment:
uname -a
):rook version
inside of a Rook Pod): rook-1.10.12ceph -v
): ceph version 17.2.5kubectl version
):ceph health
in the Rook Ceph toolbox):The text was updated successfully, but these errors were encountered: