-
Notifications
You must be signed in to change notification settings - Fork 524
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
[curve tool]: implement do-snapshot
commnad
#2023
Comments
/assign @Nageshbansal |
Please note that the code submission deadline for this developer activity is December 3rd :) |
you are welcome to continue the work if you are free @Nageshbansal |
cc @Nageshbansal Since you haven't responded for a long time, this issue is reopened to others who is interested. |
|
When I execute: “ curveadm playground run --kind curvebs --container_image harbor.cloud.netease.com/curve/curvebs:playground” is there any relevant document to solve it? |
Then I also want to ask if there is a way to develop tools-v2 in docker |
Looks like curveadm can't execute, are you x86 OS? |
The following image is fine, but you need to manually configure the configuration file. |
Hello, I entered the command " curveadm playground run --kind curvebs --container_image harbor.cloud.netease.com/curve/curvebs:playground" and checked the docker log and found the following error: |
I've changed servers and still get this error, is there something wrong with the docker startup in tools-v2? |
Is there a configuration file set up? You can refer to here. |
@Wine93 pls,take a look.
|
@iiiuwioajdks Which version of
|
Thank you! Your method is effective, but I still have a problem with curveadm, I still can't connect to the leader after starting docker to check the logs, and the 6700, 6701 and 6702 of my host are not started, have you encountered this situation? |
目前snapshot 相关的命令不能使用 curveadm palygroud 部署的集群(没有s3,所以没有snapshot). kind: curvebs
global:
... ...
s3.nos_address: <> // ip:9000 为minio部署的ip和端口号
s3.snapshot_bucket_name: <> // 创建的桶名
s3.ak: <> // ak minioadmin
s3.sk: <> //sk minioadmin
... ...
chunkserver_services:
config:
... ...
copysets: 100
chunkfilepool.enable_get_chunk_from_pool: false
deploy:
- host: ${target}
- host: ${target}
- host: ${target}
... ... |
Currently snapshot-related commands cannot use the cluster deployed by curveadm palygroud (there is no s3, so there is no snapshot). kind: curvebs
global:
...
s3.nos_address: <> // ip:9000 is the ip and port number deployed by minio
s3.snapshot_bucket_name: <> // created bucket name
s3.ak: <> // ak minioadmin
s3.sk: <> //sk minioadmin
...
chunkserver_services:
config:
...
copiesets: 100
chunkfilepool.enable_get_chunk_from_pool: false
deploy:
- host: ${target}
- host: ${target}
- host: ${target}
... |
this is bs pls use bs command,just like: curve bs status mds |
Describe the feature you'd like:
we'd like to support
do-snapshot
command in curve tooldo-snapshot
is one of the commands to do Trigger the replication group to take a snapshot.curve/src/tools/curve_cli.cpp
Line 270 in 5e49aed
Teachability, Documentation, Adoption, Migration Strategy:
Refer to tool develop guide to get start, and paste the result of the command in pr.
Build compilation environment:https://github.com/opencurve/curve/blob/master/docs/cn/build_and_run.md
The text was updated successfully, but these errors were encountered: