Re: Syslog error during disk preparation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OSDs are up though.

Thanks,
Muminul

On Tue, Aug 2, 2016 at 10:15 AM, Loic Dachary <loic@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux