Hi Martin,

you are correct, I have to call "ceph osd create" before calling "ceph
crush add", and after looking into the puppet code I now realise I didn't
(my bug).

thanks for your help.

On Tue, Jan 13, 2015 at 4:05 PM, Martin B Nielsen <[email protected]>
wrote:

> Hi Luis,
>
> I might remember wrong, but don't you need to actually create the osd
> first? (ceph osd create)
>
> Then you can use assign it a position using cli crushrules.
>
> Like Jason said, can you send the ceph osd tree output?
>
> Cheers,
> Martin
>
> On Mon, Jan 12, 2015 at 1:45 PM, Luis Periquito <[email protected]>
> wrote:
>
>> Hi all,
>>
>> I've been trying to add a few new OSDs, and as I manage everything with
>> puppet, it was manually adding via the CLI.
>>
>> At one point it adds the OSD to the crush map using:
>>
>> # ceph osd crush add 6 0.0 root=default
>>
>> but I get
>> Error ENOENT: osd.6 does not exist.  create it before updating the crush
>> map
>>
>> If I read correctly this command should be the correct one to create the
>> OSD to the crush map...
>>
>> is this a bug? I'm running the latest firefly 0.80.7.
>>
>> thanks
>>
>> PS: I just edited the crushmap, but it would make it a lot easier to do
>> it by the CLI commands...
>>
>> _______________________________________________
>> ceph-users mailing list
>> [email protected]
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to