I think I got it to work by removing setuser_match_path = /var/lib/ceph/$type/$cluster-$id from the host machine. I think I did do a reboot it was a while ago so don't remember exactly. Then running ceph-deploy activate
--Scott On Tue, Jan 10, 2017 at 10:16 AM David Turner <[email protected]> wrote: Did you ever fitgure out why the /var/lib/ceph/osd/ceph-22 folder was not being created automatically? We are having this issue while testing adding storage to an upgraded to jewel ceph cluster. Like you manually creating the directory and setting the permissions for the directory will allow us to activate the osd and it comes up and in without issue. ------------------------------ <https://storagecraft.com> David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation <https://storagecraft.com> 380 Data Drive Suite 300 | Draper | Utah | 84020 Office: 801.871.2760 <(801)%20871-2760> | Mobile: 385.224.2943 <(385)%20224-2943> ------------------------------ If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited. ------------------------------ ------------------------------ *From:* ceph-users [[email protected]] on behalf of Scottix [[email protected]] *Sent:* Thursday, July 07, 2016 5:01 PM *To:* ceph-users *Subject:* Re: [ceph-users] Failing to Activate new OSD ceph-deploy I played with it enough to make it work. Basically i created the directory it was going to put the data in mkdir /var/lib/ceph/osd/ceph-22 Then I ran ceph-deploy activate which then did a little bit more into putting it in the cluster but it still didn't start because of permissions with the journal. Some of the permissions were set to ceph:ceph I tried the new permissions but it failed to start, and after reading a mailing list a reboot may have fixed that. Anyway I ran chown -R root:root ceph-22 and after that is started. I still need to fix permissions but I am happy I got it in atleast. --Scott On Thu, Jul 7, 2016 at 2:54 PM Scottix <[email protected]> wrote: Hey, This is the first time I have had a problem with ceph-deploy I have attached the log but I can't seem to activate the osd. I am running ceph version 10.2.0 (3a9fba20ec743699b69bd0181dd6c54dc01c64b9) I did upgrade from Infernalis->Jewel I haven't changed ceph ownership but I do have the config option setuser_match_path = /var/lib/ceph/$type/$cluster-$id Any help would be appreciated, Scott
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
