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 package is broken #781
Comments
Update: It was a personal problem. I have Ansible code that sets up ceph. By fixing the permissions issues in the manager before continuing everything worked and ceph came up healthy. (Albeit the module errors still exist.) Update 2: I lied because ceph lied to me. It said ok at first - then it wasn't ok. Should have known because there are no OSDs available. |
The problem is the id name in the instantiated service file. For some reason, it is using \x2a. This should be 0. I haven't gone back and figured out
The fix is this, in the folder |
Now with that fixed, it seems kubernetes still doesn't work with ceph.
It would seem the rbd kernel module has been stripped out. |
I'm teaching myself a bit about the kernel modules. I know RBD is being stripped out from the mainline kernel, where is that happening? At a high level, how would I go about adding it back in? The Ceph package may as well not be in the repos without the RBD module. |
http://docs.ceph.com/docs/argonaut/rbd/rbd-ko/ should this be a loadable kernel module? |
Yes, I think it should be available as a loadable option. It doesn't need to be loaded by default, but it does at least need to be available. |
@grantcurell thank you for the pull request @YustasSwamp |
@suezzelur - Forgive the ignorance. I'm going to go read. What does it mean to say, "the config is not enabled." Is it possible to go compile RBD against the ESX kernel and load it in? When you say package name, what do you mean? Is this like an RPM package you can install? I'm going to go read about how this stuff works hahahaha. Sorry for all the questions. |
Yes, we have multiple kernel flavors. linux-esx is optimized to run on VMware hypervisors and may have a subset of modules that generic kernel packages. |
I submitted a pull request (#780) with a working copy of ceph-deploy, which fixes the issues with the current copy where it tries to reach out to non-existent URLs to pull old copies of ceph. It now properly points to VMWare's repos, but ceph is still broken in a number of ways.
After running ceph-deploy, first the ceph-mgr will fail to come up. This is because there are root permissions inside of /etc/ceph and /var/lib/ceph instead of ceph. Changing those will bring ceph-mgr up in some cases, but there are still a number of import errors for python modules. You need:
After installing all of those, that worked on one of my ceph managers, but the other still fails with:
Despite the error messages, the status module is present (I figure this must be some sort of environment issue). I'm not sure what the restful module is.
I'm not sure if it's the other ceph-mgr (I'm still teaching myself ceph), but this leaves my cluster health in warn with:
The text was updated successfully, but these errors were encountered: