All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: Muminul Islam Russell <misla011@fiu.edu>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Syslog error during disk preparation
Date: Tue, 2 Aug 2016 22:42:42 +0200	[thread overview]
Message-ID: <57A105C2.4000208@dachary.org> (raw)
In-Reply-To: <CAK=B8yZ1fW-nCYhzR+WAgMqi=47ddVg-1wMSKz-NuBd64t5i1Q@mail.gmail.com>



On 02/08/2016 20:29, Muminul Islam Russell wrote:
> OSDs are up though.

Then you can safely ignore this transient error.

> 
> Thanks,
> Muminul
> 
> On Tue, Aug 2, 2016 at 10:15 AM, Loic Dachary <loic@dachary.org> wrote:
>> Hi,
>>
>> It may not be a fatal error, just a transient problem while the disk is being prepared. Is the OSD up or down ?
>>
>> Cheers
>>
>> On 02/08/2016 19:05, Muminul Islam Russell wrote:
>>> Hi Loic,
>>>
>>> I am getting a lot of error messages in system log file while
>>> preparing the device. Can you please tell me what is wrong here?
>>>
>>> Ceph version: 10.2.2
>>>
>>> The command I am using:
>>>
>>> ceph-deploy  purge ca-ostest433
>>> ceph-deploy  purgedata ca-ostest433
>>> ceph-deploy new ca-ostest433
>>> echo "osd pool default size = 1" >> ceph.conf
>>> ceph-deploy install  ca-ostest433
>>> ceph-deploy mon create-initial
>>> ceph-deploy mon create ca-ostest433
>>> ceph-deploy gatherkeys ca-ostest433
>>>
>>> ceph-deploy disk zap ca-ostest433:sdb
>>> ceph-deploy osd prepare ca-ostest433:sdb
>>> ceph status
>>>
>>> Error message that I got in the system log : cat /var/log/messages:
>>>
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4994, in
>>> run
>>> Aug  1 05:59:39 ca-ostest432 sh: main(sys.argv[1:])
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4945, in
>>> main
>>> Aug  1 05:59:39 ca-ostest432 sh: args.func(args)
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4703, in
>>> <lambda>
>>> Aug  1 05:59:39 ca-ostest432 sh: func=lambda args:
>>> main_activate_space(name,args),
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 3722, in
>>> main_activate_space
>>> Aug  1 05:59:39 ca-ostest432 sh: reactivate=args.reactivate,
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 3009, in
>>> mount_activate
>>>   Aug  1 05:59:39 ca-ostest432 sh: e,
>>> Aug  1 05:59:39 ca-ostest432 sh: ceph_disk.main.FilesystemTypeError:
>>> Cannot discover filesystem type: device
>>> /dev/disk/by-partuuid/00000000-0000-0000-0000-00000
>>> 0000000: Command '/sbin/blkid' returned non-zero exit status 2
>>> Aug  1 05:59:39 ca-ostest432 python: detected unhandled Python
>>> exception in'/usr/sbin/ceph-disk'
>>> Aug  1 05:59:39 ca-ostest432 abrt-server: Not saving repeating crash
>>> in '/usr/sbin/ceph-disk'
>>> Aug  1 05:59:39 ca-ostest432 sh: Traceback (most recent call last):
>>> Aug  1 05:59:39 ca-ostest432 sh: File "/usr/sbin/ceph-disk", line 9, in <module>
>>> Aug  1 05:59:39 ca-ostest432 sh: load_entry_point('ceph-disk==1.0.0',
>>> 'console_scripts', 'ceph-disk')()
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4994, in
>>> run
>>> Aug  1 05:59:39 ca-ostest432 sh: main(sys.argv[1:])
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4945, in
>>> main
>>> Aug  1 05:59:39 ca-ostest432 sh: args.func(args)
>>> Aug  1 05:59:39 ca-ostest432 sh: File
>>> "/usr/lib/python2.7/site-packages/ceph_disk/main.py", line 4382, in
>>> main_trigger
>>> Aug  1 05:59:39 ca-ostest432 sh: raise Error('return code ' + str(ret))
>>> Aug  1 05:59:39 ca-ostest432 sh: ceph_disk.main.Error: Error: return code 1
>>>
>>>
>>> Thanks,
>>> Muminul
>>>
>>
>> --
>> Loïc Dachary, Artisan Logiciel Libre
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

      reply	other threads:[~2016-08-02 20:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 17:05 Syslog error during disk preparation Muminul Islam Russell
2016-08-02 17:15 ` Loic Dachary
2016-08-02 18:29   ` Muminul Islam Russell
2016-08-02 20:42     ` Loic Dachary [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57A105C2.4000208@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=misla011@fiu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.