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

find_prim_host_from_rbd() went wrong #7

Closed
zphj1987 opened this issue Aug 26, 2016 · 4 comments
Closed

find_prim_host_from_rbd() went wrong #7

zphj1987 opened this issue Aug 26, 2016 · 4 comments

Comments

@zphj1987
Copy link
Contributor

find_prim_host_from_rbd()

when pool size is 1 thereis no result

@gcharot
Copy link
Owner

gcharot commented Aug 30, 2016

Hello,

Thanks for the report, could you please send an actual example of this. I can't manage to reproduce it.

$ ceph osd pool get pool_s1 size
size: 1

$ ceph-lazy rbd-host pool_s1 rbd_s1
osd01
osd02
osd03

Are you sure your RBD image contains data ?

Thanks !

@zphj1987
Copy link
Contributor Author

@gcharot
i will see it later, and tell the result, thank you !

@zphj1987
Copy link
Contributor Author

@gcharot
it because
osdmaptool --test-map-object need a pool id ,so it's not a pool with size 1 , i have a pr,

thank you

@gcharot
Copy link
Owner

gcharot commented Aug 31, 2016

Giving pool id to osdmaptool is not mandatory, it's cleaner this way though, i have merged your PR.

Thanks !

@gcharot gcharot closed this as completed Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants