-
Notifications
You must be signed in to change notification settings - Fork 526
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 create volume command #2031
Comments
/assign @wangyanghack |
Please note that the code submission deadline for this developer activity is December 3rd :) |
ok. I'm very sorry. I'm developing. |
@wangyanghack Are you having some trouble? If so, please let us know so that we can communicate together |
`[root@node2 ~]# docker exec -it 40c bash create certain file in curvebs Flags: Examples: yes, I am having some trouble. I don't know how to get more error information from the output. |
@Cyber-SiKu Can you take a look at this? |
Please submit your code and let me have a look. |
@wangyanghack keep on? Can you tell more about your troubles? |
I have submitted my code. But I don't know how to get more details from log. |
curve/tools-v2/pkg/cli/command/curvebs/create/create.go Lines 107 to 113 in 3e6357b
Here you create the error, and you can see that the reason for the error is: the returned status code is not ok. You can call err.Formate() to fill in the following %s. |
thanks a lot! I will try it tonight. |
@wangyanghack Please update the code |
@wangyanghack Are you still going on? |
@wangyanghack If you have any questions, you can contact us in time. |
|
Describe the feature you'd like:
we'd like to support create command in curve tool
create is one of the commands to create one volume.
https://github.com/opencurve/curve/blob/master/src/tools/namespace_tool_core.cpp#L63
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: