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

make inkscope work with ceph deployed using kolla #74

Open
1 of 3 tasks
sdesbure opened this issue Jun 1, 2016 · 0 comments
Open
1 of 3 tasks

make inkscope work with ceph deployed using kolla #74

sdesbure opened this issue Jun 1, 2016 · 0 comments

Comments

@sdesbure
Copy link
Contributor

sdesbure commented Jun 1, 2016

Hello,
I've deployed ceph using kolla (https://wiki.openstack.org/wiki/Kolla).
The main technical decision of kolla is to use docker for everything and so ceph is deployed "dockerized".
As such, using inkscope with has (very) few issues:

  • sysprobe lacks the -d catch in getopt (see allow "-d" as options for ceph-* command #73)
  • sysprobe needs fsid and use ceph with ceph.confto retrieve it. As there's no ceph in the base os, it's difficult to get it (could use docker exec ceph_* ceph... but it would be complicated to know how to start ceph I think). Perhaps we can add a fsid options in inkscope.confbecause ceph command is used only for that in sysprobe?
  • cephprobe deeply use ceph commands so proposed solution above would not work. I've then created a docker to embed cephprobe (docker created use kolla based docker image, so I can give the Dockerfile but it will work only on a kolla based deployment. We can also work on a "standalone" docker if you see interest). The issue I have is that cephprobe.py is a daemon and docker needs foreground srcipts. So I've changed the script (the fast way, may be done a lot better) to make it a foreground script. I think that it would be better to rely on OS command (instead of python tools) to do the daemon part as it make it a lot easier to use it.

Except these little issues (the last one may be the trickier), everything works well!

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

1 participant