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 <david.turner@xxxxxxxxxxxxxxxx> 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.
David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation
380 Data Drive Suite 300 | Draper | Utah | 84020
Office: 801.871.2760 | Mobile: 385.224.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 [ceph-users-bounces@xxxxxxxxxxxxxx] on behalf of Scottix [scottix@xxxxxxxxx]
Sent: Thursday, July 07, 2016 5:01 PM
To: ceph-users
Subject: Re: 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 inmkdir /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 <scottix@xxxxxxxxx> 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 runningceph version 10.2.0 (3a9fba20ec743699b69bd0181dd6c54dc01c64b9)
I did upgrade from Infernalis->JewelI haven't changed ceph ownership but I do have the config optionsetuser_match_path = /var/lib/ceph/$type/$cluster-$id
Any help would be appreciated,Scott
Attachment:
image4b5b84.JPG
Description: JPEG image
Attachment:
image4b5b84.JPG
Description: JPEG image
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com