-
Notifications
You must be signed in to change notification settings - Fork 70
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
Issue when install this plugin: fatal error: rados/librados.h Centos 7.2 #25
Comments
make sure to have librados2-devel and librbd1-devel if not follow this link to see how to install it this should fix the issue. It fix the issue for me however now im getting a different error when doing a go get
|
I'm getting the same error also on Centos 7.2, but this time using the release candidate for Ceph 10.x (Jewel). |
@rmartinez3 Great that explains a lot because I am on 1.10 as well. Thanks! |
Try latest and see if that fixes you. If not, reopen with details. Thanks! |
@hekaldama OK build works as expected. I'm a first time user of the plugin so getting a strange error, and not sure where to go with it. When I checked Ceph afterwards, my RBD image test1 did get created. I tried creating a test container as follows:
... and got the following back after 20 seconds or so ...
The following was reported by the plugin in the logs:
|
I am unsure what is going on at this time. I will continue to look at this, but I recommend using the supported versions of ceph + kernel / distro described: http://docs.ceph.com/docs/master/start/os-recommendations/ and pairing that with docker 1.10 or newer. That is what I am going to be testing now. |
Tested to be working with:
running micro-osd.sh like:
and starting
and then ran your example of:
which ran without error. |
Will try with different kernel tomorrow. |
@hekaldama OK thanks. My OS and Docker version are the same except that I'm running a release candidate of Jewel for Ceph, 10.1.1 - so that could be the issue. Thus far, this new version of Ceph has been flawless. I can mount and use the same RBD images right on the host without issues - so whatever is breaking seems to be limited to the automation provided by the plugin. Also, it may be useful to know that the plugin leaves an image locked after it gives up and quits. I've had to use |
Hi ,
I try to install this plugin with command:
go get github.com/yp-engineering/rbd-docker-plugin
# github.com/noahdesu/go-ceph/rados
src/github.com/noahdesu/go-ceph/rados/conn.go:5:29: fatal error: rados/librados.h: No such file or directory
// #include <rados/librados.h>
^
compilation terminated.
I have googled it but can't find a good resovle for this case.
Please take it easy.
Thanks,
Nhan Pham T.
The text was updated successfully, but these errors were encountered: