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
ceph.in: use timeout when passed as an argument #21432
Conversation
64305ff
to
e59f3d3
Compare
Fixes: http://tracker.ceph.com/issues/19348 Signed-off-by: Rishabh Dave <ridave@redhat.com>
e59f3d3
to
3bbbb11
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.
i am still observing the backtrace with this patch.
Are my steps correct? With my patch this is what I get on using the reproducing recipe on the issue tracker -
And this is what get I on the master branch -
|
@rishabh-d-dave have you tried ctrl-c before the timeout expires? |
@tchaikov Okay. What's the expected behaviour in this case? Because my first impression after reading the reproducing recipe was that we wanted to ping command to quit on timeout. |
@rishabh-d-dave please read the ticket's description
|
On keyboard interrupt, do we want to shutdown the cluster_handle/RADOS client or leave it as it? If we want to shutdown properly, it would be required to clear |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I'll try to take a look and and update this PR ASAP. |
@tchaikov On following the reproducing recipe (which is: spawn cluster, kill a mon and ping that mon), I don't see the traceback copied in the description any more. Can you please verify this? Perhaps this bug is somehow resolved. |
@rishabh-d-dave yeah. i cannot reproduce the failure with master HEAD. also after reviewing this issue, i think a simpler fix is #24733, could you help test and review it? |
@tchaikov Sure. |
@tchaikov shall i proceed to close this PR? |
@rishabh-d-dave please go on, we can continue working on the fix at #24733. |
Adds the code that makes
ping
use the timeout when passed as an argument. See - http://tracker.ceph.com/issues/19348