Skip to content
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

nautilus: rbd-nbd: sscanf return 0 mean not-match. #29315

Merged
merged 1 commit into from Jul 31, 2019

Conversation

@pdvian
Copy link

commented Jul 25, 2019

rbd-nbd: sscanf return 0 mean not-match.
When exec:  rbd-nbd map rbd/image --device /dev/image
The error message is:
rbd-nbd: failed to open device: /dev/image.

In fact, it should print:
rbd-nbd: invalid device path: /dev/image (expected /dev/nbd{num})

Meantime change help which make more understand.

Fixes: http://tracker.ceph.com/issues/39269

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
(cherry picked from commit 5b5c21b)

@smithfarm smithfarm requested review from trociny and dillaman Jul 25, 2019

@smithfarm smithfarm added this to the nautilus milestone Jul 25, 2019

@dillaman
Copy link
Contributor

left a comment

👍

@yuriw

This comment has been minimized.

Copy link
Contributor

commented Jul 30, 2019

@yuriw yuriw merged commit ff04418 into ceph:nautilus Jul 31, 2019

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.