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
rbd: add snapshot count in rbd info #21292
Conversation
5827330
to
4f30655
Compare
retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will also need to update [1] since the output of rbd info
has changed.
[1] https://github.com/ceph/ceph/blob/master/src/test/cli-integration/rbd/formatted-output.t
src/tools/rbd/action/Info.cc
Outdated
std::vector<librbd::snap_info_t> snaps; | ||
int r, r1; | ||
|
||
r1 = image.snap_list(snaps); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: no need for a new r1
variable
4f30655
to
3dfdef3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@zy751713126 Can you rebase against the latest version of the master branch and repush? |
3dfdef3
to
cec56e4
Compare
I have rebased the latest version and repushed. |
retest this please |
cec56e4
to
79cd8a8
Compare
retest this please |
@zy751713126 The formatted output test fails [1]: |
79cd8a8
to
6865894
Compare
[^^]+ (re) | ||
\tblock_name_prefix: rb.0.* (glob) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: fails here
[^^]+ (re) | ||
\tblock_name_prefix: rb.0.* (glob) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: fails here
[^^]+ (re) | ||
\tblock_name_prefix: rbd_data.* (glob) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: fails here
6865894
to
9af109a
Compare
@dillaman hi, dillaman, all checks of this patch have passed, could you help me merge it? thanks a lot. |
Still is failing the same test: http://qa-proxy.ceph.com/teuthology/jdillaman-2018-04-26_17:23:27-rbd-wip-jd-testing-distro-basic-smithi/2443289/teuthology.log |
9af109a
to
5e83440
Compare
Signed-off-by: Zheng Yin <zhengyin@huayun.com>
retest this please |
... still failing the same test: http://qa-proxy.ceph.com/teuthology/jdillaman-2018-05-09_19:09:24-rbd-wip-jd-testing-distro-basic-smithi/2511628/teuthology.log |
2018-05-10T00:32:07.207 INFO:tasks.cram.client.0.smithi145.stdout:@@ -59,7 +59,7 @@ hi, @dillaman , I am a newcomer,I don‘t know how to write block_name_prefix output format,could you please help me to give directions, thanks a lot. |
Manually merged PR after fixing test. |
@zy751713126 The issue was that you added |
rbd: add snapshot count in rbd info Reviewed-by: Jason Dillaman <dillaman@redhat.com>
thanks |
No description provided.