Hi,

In the end this was tracked back to a switch MTU problem, once that was
fixed any version of ceph-deploy osd prepair/create worked as expected.

Thanks

On Mon, Oct 10, 2016 at 11:02 AM, Eugen Block <ebl...@nde.ag> wrote:

> Did the prepare command succeed? I don't see any output referring to
> 'ceph-deploy osd prepare'. If this command also fails maybe there's a hint,
> and the activate command is only a consequence of that failure?
>
>
> Zitat von Alan Johnson <al...@supermicro.com>:
>
> I did have some similar issues and resolved it by installing parted 3.2 (I
>> can't say if this was definitive) but it worked for me. I also only used
>> create (after disk zap) rather than prepare/activate.
>>
>> From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of
>> Steve Taylor
>> Sent: Wednesday, October 05, 2016 2:29 PM
>> To: Tracy Reed; Peter Maloney
>> Cc: ceph-users@lists.ceph.com
>> Subject: Re: [ceph-users] Ceph consultants?
>>
>> Try using 'ceph-deploy osd create' instead of 'ceph-deploy osd prepare'
>> and 'ceph-deploy osd activate' when using an entire disk for an OSD. That
>> will create a journal partition and co-locate your journal on the same disk
>> with the OSD, but that's fine for an initial dev setup.
>> ________________________________
>> [cid:image001.jpg@01D21F20.4BAD0350]<https://storagecraft.com>
>>
>> Steve Taylor | Senior Software Engineer | StorageCraft Technology
>> Corporation<https://storagecraft.com>
>> 380 Data Drive Suite 300 | Draper | Utah | 84020
>> Office: 801.871.2799 |
>>
>> ________________________________
>> 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.
>>
>> ________________________________
>> -----Original Message-----
>> From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of
>> Tracy Reed
>> Sent: Wednesday, October 5, 2016 3:12 PM
>> To: Peter Maloney <peter.malo...@brockmann-consult.de<mailto:
>> peter.malo...@brockmann-consult.de>>
>> Cc: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
>> Subject: Re: [ceph-users] Ceph consultants?
>>
>> On Wed, Oct 05, 2016 at 01:17:52PM PDT, Peter Maloney spake thusly:
>>
>>> What do you need help with specifically? Setting up ceph isn't very
>>> complicated... just fixing it when things go wrong should be. What
>>> type of scale are you working with, and do you already have hardware?
>>> Or is the problem more to do with integrating it with clients?
>>>
>>
>> Hi Peter,
>>
>> I agree, setting up Ceph isn't very complicated. I posted to the list on
>> 10/03/16 with the initial problem I have run into under the subject
>> "Can't activate OSD". Please refer to that thread as it has logs, details
>> of my setup, etc.
>>
>> I started working on this about a month ago then spent several days on it
>> and a few hours with a couple different people on IRC. Nobody has been able
>> to figure out how to get my OSD activated. I took a couple weeks off and
>> now I'm back at it as I really need to get this going soon.
>>
>> Basically, I'm following the quickstart guide at
>> http://docs.ceph.com/docs/jewel/start/quick-ceph-deploy/ and when I run
>> the command to activate the OSDs like so:
>>
>> ceph-deploy osd activate ceph02:/dev/sdc ceph03:/dev/sdc
>>
>> I get this in the ceph-deploy log:
>>
>> [2016-10-03 15:16:10,193][ceph_deploy.osd][INFO  ] Distro info: CentOS
>> Linux 7.2.1511 Core
>> [2016-10-03 15:16:10,193][ceph_deploy.osd][DEBUG ] activating host
>> ceph03 disk /dev/sdc
>> [2016-10-03 15:16:10,193][ceph_deploy.osd][DEBUG ] will use init type:
>> systemd
>> [2016-10-03 15:16:10,194][ceph03][DEBUG ] find the location of an
>> executable
>> [2016-10-03 15:16:10,200][ceph03][INFO  ] Running command: sudo
>> /usr/sbin/ceph-disk -v activate --mark-init systemd --mount /dev/sdc
>> [2016-10-03 15:16:10,377][ceph03][WARNING] main_activate: path = /dev/sdc
>> [2016-10-03 15:21:10,380][ceph03][WARNING] No data was received after 300
>> seconds, disconnecting...
>> [2016-10-03 15:21:15,387][ceph03][INFO  ] checking OSD status...
>> [2016-10-03 15:21:15,401][ceph03][DEBUG ] find the location of an
>> executable
>> [2016-10-03 15:21:15,472][ceph03][INFO  ] Running command: sudo /bin/ceph
>> --cluster=ceph osd stat --format=json
>> [2016-10-03 15:21:15,698][ceph03][INFO  ] Running command: sudo systemctl
>> enable ceph.target
>>
>> More details in other thread.
>>
>> Where am I going wrong here?
>>
>> Thanks!
>>
>> --
>> Tracy Reed
>>
>
>
>
> --
> Eugen Block                             voice   : +49-40-559 51 75
> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> Postfach 61 03 15
> D-22423 Hamburg                         e-mail  : ebl...@nde.ag
>
>         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>           Sitz und Registergericht: Hamburg, HRB 90934
>                   Vorstand: Jens-U. Mozdzen
>                    USt-IdNr. DE 814 013 983
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to