Version 12.2.0-1 is not working

I am on commit: 17097ca and get this error if I want to start an osd with this command:
docker run -it --pid=host --net=host --privileged=true -v /etc/ceph:/etc/ceph -v /var/lib/ceph/:/var/lib/ceph -v /dev/:/dev -e OSD_TYPE=disk -e OSD_BLUESTORE=1 -e OSD_FORCE_ZAP=1 -e OSD_DEVICE=/dev/sda martin/ceph-docker:0.5 osd
command_check_call: Running command: /bin/mount -o noatime,inode64 -- /dev/sda1 /var/lib/ceph/osd/ceph-5
command_check_call: Running command: /bin/umount -l -- /var/lib/ceph/tmp/mnt.L9OieN
changed ownership of '/dev/sda2' from root:disk to ceph:ceph
changed ownership of '/dev/sda3' from root:disk to ceph:ceph
changed ownership of '/dev/sda4' from root:disk to ceph:ceph
changed ownership of '/dev/sda1' from root:disk to ceph:ceph
no valid command found; 10 closest matches:
osd map   {}
osd lspools {}
osd count-metadata
osd versions
osd find <osdname (id|osd.id)>
osd metadata {<osdname (id|osd.id)>}
osd getmaxosd
osd ls-tree {<int[0-]>} {}
osd getmap {<int[0-]>}
osd getcrushmap {<int[0-]>}
Error EINVAL: invalid command
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Please run with -e DEBUG=verbose.

Encountered this issue. Command:
docker run --name=ceph-osd --pid=host --privileged -v /dev/:/dev/ -e OSD_FORCE_ZAP=1 -e OSD_DEVICE=/dev/sdb -e OSD_TYPE=disk --net=host -v `pwd`/etcceph:/etc/ceph -v `pwd`/varlibceph:/var/lib/ceph/ -e DEBUG=verbose ceph/daemon:tag-build-master-luminous-ubuntu-16.04 osd

Output using -e DEBUG=verbose:
....
+common_functions.sh:290: apply_ceph_ownership_to_disks(): wait_for_file /dev/sdb1
+common_functions.sh:216: wait_for_file(): timeout 10 bash -c 'while [ ! -e /dev/sdb1 ]; do echo '\''Waiting for /dev/sdb1 to show up'\'' && sleep 1 ; done'
++common_functions.sh:291: apply_ceph_ownership_to_disks(): dev_part /dev/sdb 1
++common_functions.sh:88: dev_part(): local osd_device=/dev/sdb
++common_functions.sh:89: dev_part(): local osd_partition=1
++common_functions.sh:91: dev_part(): [[ -L /dev/sdb ]]
++common_functions.sh:123: dev_part(): [[ b == [0-9] ]]
++common_functions.sh:126: dev_part(): echo /dev/sdb1
+common_functions.sh:291: apply_ceph_ownership_to_disks(): chown --verbose ceph. /dev/sdb1
ownership of '/dev/sdb1' retained as ceph:ceph
+osd_disk_activate.sh:75: osd_activate(): add_osd_to_crush
+common_functions.sh:357: add_osd_to_crush(): local crush_loc
++common_functions.sh:358: add_osd_to_crush(): get_osd_path 1
++common_functions.sh:241: get_osd_path(): echo /var/lib/ceph/osd/ceph-1/
+common_functions.sh:358: add_osd_to_crush(): OSD_PATH=/var/lib/ceph/osd/ceph-1/
+common_functions.sh:359: add_osd_to_crush(): OSD_KEYRING=/var/lib/ceph/osd/ceph-1//keyring
++common_functions.sh:360: add_osd_to_crush(): ceph --cluster ceph --bluestore --name=osd.1 --keyring=/var/lib/ceph/osd/ceph-1//keyring osd find 1
++common_functions.sh:360: add_osd_to_crush(): python -c 'import sys, json; print(json.load(sys.stdin)["crush_location"])'
no valid command found; 10 closest matches:
osd map <poolname> <objectname> {<nspace>}
osd lspools {<int>}
osd count-metadata <property>
osd versions
osd find <osdname (id|osd.id)>
osd metadata {<osdname (id|osd.id)>}
osd getmaxosd
osd ls-tree {<int[0-]>} {<name>}
osd getmap {<int[0-]>}
osd getcrushmap {<int[0-]>}
Error EINVAL: invalid command
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
+common_functions.sh:360: add_osd_to_crush(): crush_loc=

@mmailand @ivotron could you please try again with the new latest image from the docker hub?

GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
command_check_call: Running command: /sbin/sgdisk --clear --mbrtogpt -- /dev/sdb
Creating new GPT entries.
The operation has completed successfully.
update_partition: Calling partprobe on zapped device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
set_type: Will colocate block with data on /dev/sdb
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_db_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_wal_size
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_type
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_type
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mkfs_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
set_data_partition: Creating osd partition on /dev/sdb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = data
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating data partition num 1 size 100 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=1:0:+100M --change-name=1:ceph data --partition-guid=1:64194620-980f-491d-9e0d-e45987c791a0 --typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be --m
brtogpt -- /dev/sdbSetting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.db
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.db partition num 3 size 1024 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=3:0:+1024M --change-name=3:ceph block.db --partition-guid=3:e1e03ccb-13e3-4189-8b09-1f57b12eed2b --typecode=3:30cd0809-c2b2-499c-8879-2d6b785292b
e --mbrtogpt -- /dev/sdbSetting name!
partNum is 2
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb3 uuid path is /sys/dev/block/8:19/dm/uuid
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/e1e03ccb-13e3-4189-8b09-1f57b12eed2b
command_check_call: Running command: /sbin/sgdisk --typecode=3:30cd0809-c2b2-499c-8879-2d6b78529876 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/e1e03ccb-13e3-4189-8b09-1f57b12eed2b
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.wal
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.wal partition num 4 size 576 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=4:0:+576M --change-name=4:ceph block.wal --partition-guid=4:4ca89468-16f2-4f5d-9568-55904b995699 --typecode=4:5ce17fce-4087-4169-b7ff-056cc58472b
e --mbrtogpt -- /dev/sdbupdate_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
Setting name!
partNum is 3
REALLY setting name!
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb4 uuid path is /sys/dev/block/8:20/dm/uuid
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/4ca89468-16f2-4f5d-9568-55904b995699
command_check_call: Running command: /sbin/sgdisk --typecode=4:5ce17fce-4087-4169-b7ff-056cc58473f9 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/4ca89468-16f2-4f5d-9568-55904b995699
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block partition num 2 size 0 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --largest-new=2 --change-name=2:ceph block --partition-guid=2:eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896 --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 --
mbrtogpt -- /dev/sdbSetting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb2 uuid path is /sys/dev/block/8:18/dm/uuid
prepare_device: Block is GPT partition /dev/disk/by-partuuid/eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896
command_check_call: Running command: /sbin/sgdisk --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block is GPT partition /dev/disk/by-partuuid/eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896
populate_data_path_device: Creating xfs fs on /dev/sdb1
command_check_call: Running command: /sbin/mkfs -t xfs -f -i size=2048 -- /dev/sdb1
meta-data=/dev/sdb1              isize=2048   agcount=4, agsize=6400 blks
=                       sectsz=512   attr=2, projid32bit=1
=                       crc=1        finobt=1, sparse=0
data     =                       bsize=4096   blocks=25600, imaxpct=25
=                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=864, version=2
=                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.FDoFGb with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.FDoFGb
populate_data_path: Preparing osd data dir /var/lib/ceph/tmp/mnt.FDoFGb
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/ceph_fsid.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/fsid.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/magic.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/block.db_uuid.109.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.FDoFGb/block.db -> /dev/disk/by-partuuid/e1e03ccb-13e3-4189-8b09-1f57b12eed2b
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/block.wal_uuid.109.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.FDoFGb/block.wal -> /dev/disk/by-partuuid/4ca89468-16f2-4f5d-9568-55904b995699
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/block_uuid.109.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.FDoFGb/block -> /dev/disk/by-partuuid/eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/type.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb
unmount: Unmounting /var/lib/ceph/tmp/mnt.FDoFGb
command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.FDoFGb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command_check_call: Running command: /sbin/sgdisk --typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command_check_call: Running command: /sbin/udevadm trigger --action=add --sysname-match sdb1
changed ownership of '/dev/sdb2' from root:root to ceph:ceph
changed ownership of '/dev/sdb3' from root:root to ceph:ceph
changed ownership of '/dev/sdb4' from root:root to ceph:ceph
changed ownership of '/dev/sdb1' from root:root to ceph:ceph
main_activate: path = /dev/sdb1
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
command: Running command: /sbin/blkid -o udev -p /dev/sdb1
command: Running command: /sbin/blkid -p -s TYPE -o value -- /dev/sdb1
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.9tqKWf with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.9tqKWf
activate: Cluster uuid is 0bf1d6cc-1c2f-4fca-af00-1f9f70660303
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
activate: Cluster name is ceph
activate: OSD uuid is 64194620-980f-491d-9e0d-e45987c791a0
allocate_osd_id: Allocating OSD id...
command: Running command: /usr/bin/ceph-authtool --gen-print-key
init: stderr
command_with_stdin: Running command with stdin: ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 64194620-980f-491d-9e0d-e45987c791a0
command_with_stdin: 0
command_check_call: Running command: /usr/bin/ceph-authtool /var/lib/ceph/tmp/mnt.9tqKWf/keyring --create-keyring --name osd.0 --add-key AQBefLdZQytdExAAMepiiGrwx0EI03SnEWBNgw==
creating /var/lib/ceph/tmp/mnt.9tqKWf/keyring
added entity osd.0 auth auth(auid =<PHONE_NUMBER>3709551615 key=AQBefLdZQytdExAAMepiiGrwx0EI03SnEWBNgw== with 0 caps)
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/keyring
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/whoami.265.tmp
activate: OSD id is 0
activate: Initializing OSD...
command_check_call: Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o /var/lib/ceph/tmp/mnt.9tqKWf/activate.monm
apgot monmap epoch 2
command_check_call: Running command: /usr/bin/ceph-osd --cluster ceph --mkfs -i 0 --monmap /var/lib/ceph/tmp/mnt.9tqKWf/activate.monmap --osd-data /var/lib/ceph/tmp/mnt.9tqKWf --osd-uuid 64194620-980f-
491d-9e0d-e45987c791a0 --setuser ceph --setgroup disk2017-09-12 06:19:13.647629 7f2d156c2e00 -1 created object store /var/lib/ceph/tmp/mnt.9tqKWf for osd.0 fsid 0bf1d6cc-1c2f-4fca-af00-1f9f70660303
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup init
command: Running command: /usr/bin/ceph-detect-init --default sysvinit
activate: Marking with init system none
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/none
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/active.265.tmp
activate: ceph osd.0 data dir is ready at /var/lib/ceph/tmp/mnt.9tqKWf
move_mount: Moving mount to final location...
command_check_call: Running command: /bin/mount -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/osd/ceph-0
command_check_call: Running command: /bin/umount -l -- /var/lib/ceph/tmp/mnt.9tqKWf
changed ownership of '/dev/sdb2' from root:disk to ceph:ceph
changed ownership of '/dev/sdb3' from root:disk to ceph:ceph
changed ownership of '/dev/sdb4' from root:disk to ceph:ceph
changed ownership of '/dev/sdb1' from root:disk to ceph:ceph
no valid command found; 10 closest matches:
osd map   {}
osd lspools {}
osd count-metadata
osd versions
osd find <osdname (id|osd.id)>
osd metadata {<osdname (id|osd.id)>}
osd getmaxosd
osd ls-tree {<int[0-]>} {}
osd getmap {<int[0-]>}
osd getcrushmap {<int[0-]>}
Error EINVAL: invalid command
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

I also have the same problem, and the latest image
[root@node02 ~]# docker run -d \
>         --name=osd \
>         --net=host \
>         -v /etc/ceph:/etc/ceph \
>         -v /var/lib/ceph/:/var/lib/ceph/ \
>         -v /dev/:/dev/ \
>         --privileged=true \
>         -e OSD_FORCE_ZAP=1 \
>         -e OSD_DEVICE=/dev/sdb \
>         ceph/daemon osd_ceph_disk
ba6d8789b06982b0608e4de0db02e6b6fcefd40abb15c25c896fc10b0e7c7d73
[root@node02 ~]# docker logs -f osd
ownership of '/var/run/ceph/' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-osd' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-osd/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-mds' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-mds/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rgw' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rgw/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/mon' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node01' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node01/kv_backend' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node01/store.db' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node01/keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node02' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node02/kv_backend' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node02/store.db' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-node02/keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/osd' retained as ceph:ceph
ownership of '/var/lib/ceph/mds' retained as ceph:ceph
ownership of '/var/lib/ceph/mds/ceph-node01' retained as ceph:ceph
ownership of '/var/lib/ceph/mds/ceph-node02' retained as ceph:ceph
ownership of '/var/lib/ceph/radosgw' retained as ceph:ceph
ownership of '/var/lib/ceph/radosgw/node01' retained as ceph:ceph
ownership of '/var/lib/ceph/radosgw/node02' retained as ceph:ceph
ownership of '/var/lib/ceph/tmp' retained as ceph:ceph
ownership of '/var/lib/ceph/mgr' retained as ceph:ceph
ownership of '/var/lib/ceph/mgr/ceph-node01' retained as ceph:ceph
ownership of '/var/lib/ceph/mgr/ceph-node02' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rbd' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rbd/ceph.keyring' retained as ceph:ceph
2017-09-12 06:19:03  /entrypoint.sh: static: does not generate config
HEALTH_WARN clock skew detected on mon.node02
2017-09-12 06:19:03  /entrypoint.sh: It looks like /dev/sdb isn't consistent, however OSD_FORCE_ZAP is enabled so we are zapping the device anyway
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
zap_linux: Writing zeros to existing partitions on /dev/sdb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
zap_linux: Zapping partition table on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --zap-all -- /dev/sdb
Creating new GPT entries.
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
command_check_call: Running command: /sbin/sgdisk --clear --mbrtogpt -- /dev/sdb
Creating new GPT entries.
The operation has completed successfully.
update_partition: Calling partprobe on zapped device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
set_type: Will colocate block with data on /dev/sdb
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_db_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_wal_size
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_type
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_type
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mkfs_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
set_data_partition: Creating osd partition on /dev/sdb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = data
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating data partition num 1 size 100 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=1:0:+100M --change-name=1:ceph data --partition-guid=1:64194620-980f-491d-9e0d-e45987c791a0 --typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be --m
brtogpt -- /dev/sdbSetting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.db
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.db partition num 3 size 1024 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=3:0:+1024M --change-name=3:ceph block.db --partition-guid=3:e1e03ccb-13e3-4189-8b09-1f57b12eed2b --typecode=3:30cd0809-c2b2-499c-8879-2d6b785292b
e --mbrtogpt -- /dev/sdbSetting name!
partNum is 2
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb3 uuid path is /sys/dev/block/8:19/dm/uuid
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/e1e03ccb-13e3-4189-8b09-1f57b12eed2b
command_check_call: Running command: /sbin/sgdisk --typecode=3:30cd0809-c2b2-499c-8879-2d6b78529876 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/e1e03ccb-13e3-4189-8b09-1f57b12eed2b
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.wal
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.wal partition num 4 size 576 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=4:0:+576M --change-name=4:ceph block.wal --partition-guid=4:4ca89468-16f2-4f5d-9568-55904b995699 --typecode=4:5ce17fce-4087-4169-b7ff-056cc58472b
e --mbrtogpt -- /dev/sdbupdate_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
Setting name!
partNum is 3
REALLY setting name!
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb4 uuid path is /sys/dev/block/8:20/dm/uuid
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/4ca89468-16f2-4f5d-9568-55904b995699
command_check_call: Running command: /sbin/sgdisk --typecode=4:5ce17fce-4087-4169-b7ff-056cc58473f9 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/4ca89468-16f2-4f5d-9568-55904b995699
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block partition num 2 size 0 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --largest-new=2 --change-name=2:ceph block --partition-guid=2:eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896 --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 --
mbrtogpt -- /dev/sdbSetting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb2 uuid path is /sys/dev/block/8:18/dm/uuid
prepare_device: Block is GPT partition /dev/disk/by-partuuid/eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896
command_check_call: Running command: /sbin/sgdisk --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block is GPT partition /dev/disk/by-partuuid/eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896
populate_data_path_device: Creating xfs fs on /dev/sdb1
command_check_call: Running command: /sbin/mkfs -t xfs -f -i size=2048 -- /dev/sdb1
meta-data=/dev/sdb1              isize=2048   agcount=4, agsize=6400 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=0
data     =                       bsize=4096   blocks=25600, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=864, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.FDoFGb with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.FDoFGb
populate_data_path: Preparing osd data dir /var/lib/ceph/tmp/mnt.FDoFGb
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/ceph_fsid.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/fsid.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/magic.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/block.db_uuid.109.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.FDoFGb/block.db -> /dev/disk/by-partuuid/e1e03ccb-13e3-4189-8b09-1f57b12eed2b
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/block.wal_uuid.109.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.FDoFGb/block.wal -> /dev/disk/by-partuuid/4ca89468-16f2-4f5d-9568-55904b995699
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/block_uuid.109.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.FDoFGb/block -> /dev/disk/by-partuuid/eb7ca5ec-368e-4e2b-8b8b-f1c5b274a896
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb/type.109.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.FDoFGb
unmount: Unmounting /var/lib/ceph/tmp/mnt.FDoFGb
command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.FDoFGb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command_check_call: Running command: /sbin/sgdisk --typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command_check_call: Running command: /sbin/udevadm trigger --action=add --sysname-match sdb1
changed ownership of '/dev/sdb2' from root:root to ceph:ceph
changed ownership of '/dev/sdb3' from root:root to ceph:ceph
changed ownership of '/dev/sdb4' from root:root to ceph:ceph
changed ownership of '/dev/sdb1' from root:root to ceph:ceph
main_activate: path = /dev/sdb1
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
command: Running command: /sbin/blkid -o udev -p /dev/sdb1
command: Running command: /sbin/blkid -p -s TYPE -o value -- /dev/sdb1
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.9tqKWf with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.9tqKWf
activate: Cluster uuid is 0bf1d6cc-1c2f-4fca-af00-1f9f70660303
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
activate: Cluster name is ceph
activate: OSD uuid is 64194620-980f-491d-9e0d-e45987c791a0
allocate_osd_id: Allocating OSD id...
command: Running command: /usr/bin/ceph-authtool --gen-print-key
__init__: stderr
command_with_stdin: Running command with stdin: ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 64194620-980f-491d-9e0d-e45987c791a0
command_with_stdin: 0

command_check_call: Running command: /usr/bin/ceph-authtool /var/lib/ceph/tmp/mnt.9tqKWf/keyring --create-keyring --name osd.0 --add-key AQBefLdZQytdExAAMepiiGrwx0EI03SnEWBNgw==
creating /var/lib/ceph/tmp/mnt.9tqKWf/keyring
added entity osd.0 auth auth(auid =<PHONE_NUMBER>3709551615 key=AQBefLdZQytdExAAMepiiGrwx0EI03SnEWBNgw== with 0 caps)
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/keyring
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/whoami.265.tmp
activate: OSD id is 0
activate: Initializing OSD...
command_check_call: Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o /var/lib/ceph/tmp/mnt.9tqKWf/activate.monm
apgot monmap epoch 2
command_check_call: Running command: /usr/bin/ceph-osd --cluster ceph --mkfs -i 0 --monmap /var/lib/ceph/tmp/mnt.9tqKWf/activate.monmap --osd-data /var/lib/ceph/tmp/mnt.9tqKWf --osd-uuid 64194620-980f-
491d-9e0d-e45987c791a0 --setuser ceph --setgroup disk2017-09-12 06:19:13.647629 7f2d156c2e00 -1 created object store /var/lib/ceph/tmp/mnt.9tqKWf for osd.0 fsid 0bf1d6cc-1c2f-4fca-af00-1f9f70660303
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup init
command: Running command: /usr/bin/ceph-detect-init --default sysvinit
activate: Marking with init system none
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/none
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.9tqKWf/active.265.tmp
activate: ceph osd.0 data dir is ready at /var/lib/ceph/tmp/mnt.9tqKWf
move_mount: Moving mount to final location...
command_check_call: Running command: /bin/mount -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/osd/ceph-0
command_check_call: Running command: /bin/umount -l -- /var/lib/ceph/tmp/mnt.9tqKWf
changed ownership of '/dev/sdb2' from root:disk to ceph:ceph
changed ownership of '/dev/sdb3' from root:disk to ceph:ceph
changed ownership of '/dev/sdb4' from root:disk to ceph:ceph
changed ownership of '/dev/sdb1' from root:disk to ceph:ceph
no valid command found; 10 closest matches:
osd map <poolname> <objectname> {<nspace>}
osd lspools {<int>}
osd count-metadata <property>
osd versions
osd find <osdname (id|osd.id)>
osd metadata {<osdname (id|osd.id)>}
osd getmaxosd
osd ls-tree {<int[0-]>} {<name>}
osd getmap {<int[0-]>}
osd getcrushmap {<int[0-]>}
Error EINVAL: invalid command
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

We have been having issues with Docker Hub to build our images recently. Do you mind testing again? Try to fetch the latest image.
The operation has completed successfully.
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.db
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.db partition num 3 size 1024 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=3:0:+1024M --change-name=3:ceph block.db --partition-guid=3:aae55bc3-71aa-4e99-99d2-65cb5e84febe --typecode=3:30cd0809-c2b2-499c-8879-2d6b785292be --mbrtogpt -- /dev/sdb
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
Setting name!
partNum is 2
REALLY setting name!
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb3 uuid path is /sys/dev/block/8:19/dm/uuid
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/aae55bc3-71aa-4e99-99d2-65cb5e84febe
command_check_call: Running command: /sbin/sgdisk --typecode=3:30cd0809-c2b2-499c-8879-2d6b78529876 -- /dev/sdb
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/aae55bc3-71aa-4e99-99d2-65cb5e84febe
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.wal
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.wal partition num 4 size 576 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=4:0:+576M --change-name=4:ceph block.wal --partition-guid=4:90a05a4f-b0fd-45a6-96f8-f04e2b2c5548 --typecode=4:5ce17fce-4087-4169-b7ff-056cc58472be --mbrtogpt -- /dev/sdb
Setting name!
partNum is 3
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb4 uuid path is /sys/dev/block/8:20/dm/uuid
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/90a05a4f-b0fd-45a6-96f8-f04e2b2c5548
command_check_call: Running command: /sbin/sgdisk --typecode=4:5ce17fce-4087-4169-b7ff-056cc58473f9 -- /dev/sdb
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/90a05a4f-b0fd-45a6-96f8-f04e2b2c5548
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block partition num 2 size 0 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --largest-new=2 --change-name=2:ceph block --partition-guid=2:e3f7b851-575f-4331-96e0-a70e1c807a47 --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sdb
Setting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb2 uuid path is /sys/dev/block/8:18/dm/uuid
prepare_device: Block is GPT partition /dev/disk/by-partuuid/e3f7b851-575f-4331-96e0-a70e1c807a47
command_check_call: Running command: /sbin/sgdisk --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block is GPT partition /dev/disk/by-partuuid/e3f7b851-575f-4331-96e0-a70e1c807a47
populate_data_path_device: Creating xfs fs on /dev/sdb1
command_check_call: Running command: /sbin/mkfs -t xfs -f -i size=2048 -- /dev/sdb1
meta-data=/dev/sdb1              isize=2048   agcount=4, agsize=6400 blks
=                       sectsz=512   attr=2, projid32bit=1
=                       crc=1        finobt=1, sparse=0
data     =                       bsize=4096   blocks=25600, imaxpct=25
=                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=864, version=2
=                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.pfK64h with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.pfK64h
populate_data_path: Preparing osd data dir /var/lib/ceph/tmp/mnt.pfK64h
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/ceph_fsid.16257.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/fsid.16257.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/magic.16257.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/block.db_uuid.16257.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.pfK64h/block.db -> /dev/disk/by-partuuid/aae55bc3-71aa-4e99-99d2-65cb5e84febe
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/block.wal_uuid.16257.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.pfK64h/block.wal -> /dev/disk/by-partuuid/90a05a4f-b0fd-45a6-96f8-f04e2b2c5548
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/block_uuid.16257.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.pfK64h/block -> /dev/disk/by-partuuid/e3f7b851-575f-4331-96e0-a70e1c807a47
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h/type.16257.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.pfK64h
unmount: Unmounting /var/lib/ceph/tmp/mnt.pfK64h
command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.pfK64h
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command_check_call: Running command: /sbin/sgdisk --typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdb
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command_check_call: Running command: /sbin/udevadm trigger --action=add --sysname-match sdb1
changed ownership of '/dev/sdb2' from root:root to ceph:ceph
changed ownership of '/dev/sdb3' from root:disk to ceph:ceph
changed ownership of '/dev/sdb4' from root:root to ceph:ceph
changed ownership of '/dev/sdb1' from root:disk to ceph:ceph
main_activate: path = /dev/sdb1
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
command: Running command: /sbin/blkid -o udev -p /dev/sdb1
command: Running command: /sbin/blkid -p -s TYPE -o value -- /dev/sdb1
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.77yC3d with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.77yC3d
activate: Cluster uuid is fee23b3f-ec40-4642-9020-889d9d988730
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
activate: Cluster name is ceph
activate: OSD uuid is 4b287860-b8cb-4241-ad18-c020c5864b65
allocate_osd_id: Allocating OSD id...
command: Running command: /usr/bin/ceph-authtool --gen-print-key
init: stderr
command_with_stdin: Running command with stdin: ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 4b287860-b8cb-4241-ad18-c020c5864b65
command_with_stdin: 0
command_check_call: Running command: /usr/bin/ceph-authtool /var/lib/ceph/tmp/mnt.77yC3d/keyring --create-keyring --name osd.0 --add-key AQBRN7pZCrE6LRAA/bwfhvFjt5TNqAXIhAvsqA==
creating /var/lib/ceph/tmp/mnt.77yC3d/keyring
added entity osd.0 auth auth(auid =<PHONE_NUMBER>3709551615 key=AQBRN7pZCrE6LRAA/bwfhvFjt5TNqAXIhAvsqA== with 0 caps)
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.77yC3d/keyring
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.77yC3d/whoami.16627.tmp
activate: OSD id is 0
activate: Initializing OSD...
command_check_call: Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o /var/lib/ceph/tmp/mnt.77yC3d/activate.monmap
got monmap epoch 1
command_check_call: Running command: /usr/bin/ceph-osd --cluster ceph --mkfs -i 0 --monmap /var/lib/ceph/tmp/mnt.77yC3d/activate.monmap --osd-data /var/lib/ceph/tmp/mnt.77yC3d --osd-uuid 4b287860-b8cb-4241-ad18-c020c5864b65 --setuser ceph --setgroup disk
/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: In function 'void BlueFS::add_block_extent(unsigned int, uint64_t, uint64_t)' thread 7f6da0617e00 time 2017-09-14 08:01:32.325653
/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: 172: FAILED assert(bdev[id]->get_size() >= offset + length)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x5556100ac072]
2: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55561003257a]
3: (BlueStore::_open_db(bool)+0x964) [0x55560ff3bce4]
4: (BlueStore::mkfs()+0xcc5) [0x55560ff6af45]
5: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55560faaa584]
6: (main()+0xe3c) [0x55560f9f74bc]
7: (__libc_start_main()+0xf0) [0x7f6d9da7e830]
8: (_start()+0x29) [0x55560fa84e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
2017-09-14 08:01:32.330397 7f6da0617e00 -1 /build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: In function 'void BlueFS::add_block_extent(unsigned int, uint64_t, uint64_t)' thread 7f6da0617e00 time 2017-09-14 08:01:32.325653
/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: 172: FAILED assert(bdev[id]->get_size() >= offset + length)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x5556100ac072]
2: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55561003257a]
3: (BlueStore::_open_db(bool)+0x964) [0x55560ff3bce4]
4: (BlueStore::mkfs()+0xcc5) [0x55560ff6af45]
5: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55560faaa584]
6: (main()+0xe3c) [0x55560f9f74bc]
7: (__libc_start_main()+0xf0) [0x7f6d9da7e830]
8: (_start()+0x29) [0x55560fa84e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
 0> 2017-09-14 08:01:32.330397 7f6da0617e00 -1 /build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: In function 'void BlueFS::add_block_extent(unsigned int, uint64_t, uint64_t)' thread 7f6da0617e00 time 2017-09-14 08:01:32.325653

/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: 172: FAILED assert(bdev[id]->get_size() >= offset + length)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x5556100ac072]
2: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55561003257a]
3: (BlueStore::_open_db(bool)+0x964) [0x55560ff3bce4]
4: (BlueStore::mkfs()+0xcc5) [0x55560ff6af45]
5: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55560faaa584]
6: (main()+0xe3c) [0x55560f9f74bc]
7: (__libc_start_main()+0xf0) [0x7f6d9da7e830]
8: (_start()+0x29) [0x55560fa84e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
*** Caught signal (Aborted) **
in thread 7f6da0617e00 thread_name:ceph-osd
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (()+0xa562f4) [0x5556100692f4]
2: (()+0x11390) [0x7f6d9eaf8390]
3: (gsignal()+0x38) [0x7f6d9da93428]
4: (abort()+0x16a) [0x7f6d9da9502a]
5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x28e) [0x5556100ac1fe]
6: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55561003257a]
7: (BlueStore::_open_db(bool)+0x964) [0x55560ff3bce4]
8: (BlueStore::mkfs()+0xcc5) [0x55560ff6af45]
9: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55560faaa584]
10: (main()+0xe3c) [0x55560f9f74bc]
11: (__libc_start_main()+0xf0) [0x7f6d9da7e830]
12: (_start()+0x29) [0x55560fa84e69]
2017-09-14 08:01:32.342175 7f6da0617e00 -1 *** Caught signal (Aborted) **
in thread 7f6da0617e00 thread_name:ceph-osd
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (()+0xa562f4) [0x5556100692f4]
2: (()+0x11390) [0x7f6d9eaf8390]
3: (gsignal()+0x38) [0x7f6d9da93428]
4: (abort()+0x16a) [0x7f6d9da9502a]
5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x28e) [0x5556100ac1fe]
6: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55561003257a]
7: (BlueStore::_open_db(bool)+0x964) [0x55560ff3bce4]
8: (BlueStore::mkfs()+0xcc5) [0x55560ff6af45]
9: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55560faaa584]
10: (main()+0xe3c) [0x55560f9f74bc]
11: (__libc_start_main()+0xf0) [0x7f6d9da7e830]
12: (_start()+0x29) [0x55560fa84e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
 0> 2017-09-14 08:01:32.342175 7f6da0617e00 -1 *** Caught signal (Aborted) **

in thread 7f6da0617e00 thread_name:ceph-osd
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (()+0xa562f4) [0x5556100692f4]
2: (()+0x11390) [0x7f6d9eaf8390]
3: (gsignal()+0x38) [0x7f6d9da93428]
4: (abort()+0x16a) [0x7f6d9da9502a]
5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x28e) [0x5556100ac1fe]
6: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55561003257a]
7: (BlueStore::_open_db(bool)+0x964) [0x55560ff3bce4]
8: (BlueStore::mkfs()+0xcc5) [0x55560ff6af45]
9: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55560faaa584]
10: (main()+0xe3c) [0x55560f9f74bc]
11: (__libc_start_main()+0xf0) [0x7f6d9da7e830]
12: (_start()+0x29) [0x55560fa84e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
mount_activate: Failed to activate
unmount: Unmounting /var/lib/ceph/tmp/mnt.77yC3d
command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.77yC3d
Traceback (most recent call last):
File "/usr/sbin/ceph-disk", line 9, in
load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5704, in run
main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5655, in main
args.func(args)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3759, in main_activate
reactivate=args.reactivate,
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3522, in mount_activate
(osd_id, cluster) = activate(path, activate_key_template, init)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3699, in activate
keyring=keyring,
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3151, in mkfs
'--setgroup', get_ceph_group(),
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 558, in command_check_call
return subprocess.check_call(arguments)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/ceph-osd', '--cluster', 'ceph', '--mkfs', '-i', u'0', '--monmap', '/var/lib/ceph/tmp/mnt.77yC3d/activate.monmap', '--osd-data', '/var/lib/ceph/tmp/mnt.77yC3d', '--osd-uuid', u'4b287860-b8cb-4241-ad18-c020c5864b65', '--setuser', 'ceph', '--setgroup', 'disk']' returned non-zero exit status -6
changed ownership of '/var/run/ceph/ceph-osd.0.asok' from ceph:disk to ceph:ceph
ownership of '/var/run/ceph/' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rgw' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rgw/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rbd' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rbd/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/tmp' retained as ceph:ceph
changed ownership of '/var/lib/ceph/tmp/ceph-disk.activate.lock' from root:root to ceph:ceph
changed ownership of '/var/lib/ceph/tmp/ceph-disk.prepare.lock' from root:root to ceph:ceph
ownership of '/var/lib/ceph/mds' retained as ceph:ceph
ownership of '/var/lib/ceph/mds/ceph-core-02' retained as ceph:ceph
ownership of '/var/lib/ceph/mon' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-core-02' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-core-02/store.db' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-core-02/kv_backend' retained as ceph:ceph
ownership of '/var/lib/ceph/mon/ceph-core-02/keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/radosgw' retained as ceph:ceph
ownership of '/var/lib/ceph/radosgw/core-02' retained as ceph:ceph
ownership of '/var/lib/ceph/mgr' retained as ceph:ceph
ownership of '/var/lib/ceph/mgr/ceph-core-02' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-osd' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-osd/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/osd' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-mds' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-mds/ceph.keyring' retained as ceph:ceph
2017-09-14 08:03:41  /entrypoint.sh: static: does not generate config
HEALTH_WARN no active mgr
2017-09-14 08:03:41  /entrypoint.sh: It looks like /dev/sdb is an OSD, however OSD_FORCE_ZAP is enabled so we are zapping the device anyway
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
zap_linux: Writing zeros to existing partitions on /dev/sdb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command_check_call: Running command: /sbin/wipefs --all /dev/sdb4
command_check_call: Running command: /bin/dd if=/dev/zero of=/dev/sdb4 bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.00821676 s, 1.3 GB/s
command_check_call: Running command: /sbin/wipefs --all /dev/sdb2
command_check_call: Running command: /bin/dd if=/dev/zero of=/dev/sdb2 bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.124491 s, 84.2 MB/s
command_check_call: Running command: /sbin/wipefs --all /dev/sdb3
command_check_call: Running command: /bin/dd if=/dev/zero of=/dev/sdb3 bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0628405 s, 167 MB/s
command_check_call: Running command: /sbin/wipefs --all /dev/sdb1
command_check_call: Running command: /bin/dd if=/dev/zero of=/dev/sdb1 bs=1M count=10
/dev/sdb1: 4 bytes were erased at offset 0x00000000 (xfs): 58 46 53 42
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.062437 s, 168 MB/s
zap_linux: Zapping partition table on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --zap-all -- /dev/sdb
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! One or more CRCs don't match. You should repair the disk!
command_check_call: Running command: /sbin/sgdisk --clear --mbrtogpt -- /dev/sdb

Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.

GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
update_partition: Calling partprobe on zapped device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
Creating new GPT entries.
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
set_type: Will colocate block with data on /dev/sdb
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_db_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_size
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup bluestore_block_wal_size
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_type
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_type
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mkfs_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
set_data_partition: Creating osd partition on /dev/sdb
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = data
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating data partition num 1 size 100 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=1:0:+100M --change-name=1:ceph data --partition-guid=1:4005ff8a-8ab2-493e-a6a9-2d4f9037bb40 --typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be --mbrtogpt -- /dev/sdb
update_partition: Calling partprobe on created device /dev/sdb
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.db
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.db partition num 3 size 1024 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=3:0:+1024M --change-name=3:ceph block.db --partition-guid=3:e043ff66-d684-45aa-ad59-e64bbd8526ce --typecode=3:30cd0809-c2b2-499c-8879-2d6b785292be --mbrtogpt -- /dev/sdb
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
Setting name!
partNum is 2
REALLY setting name!
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb3 uuid path is /sys/dev/block/8:19/dm/uuid
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/e043ff66-d684-45aa-ad59-e64bbd8526ce
command_check_call: Running command: /sbin/sgdisk --typecode=3:30cd0809-c2b2-499c-8879-2d6b78529876 -- /dev/sdb
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.db is GPT partition /dev/disk/by-partuuid/e043ff66-d684-45aa-ad59-e64bbd8526ce
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block.wal
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block.wal partition num 4 size 576 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --new=4:0:+576M --change-name=4:ceph block.wal --partition-guid=4:ac491795-784d-41a0-9287-0e41df9312b6 --typecode=4:5ce17fce-4087-4169-b7ff-056cc58472be --mbrtogpt -- /dev/sdb
Setting name!
partNum is 3
REALLY setting name!
The operation has completed successfully.
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb4 uuid path is /sys/dev/block/8:20/dm/uuid
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/ac491795-784d-41a0-9287-0e41df9312b6
command_check_call: Running command: /sbin/sgdisk --typecode=4:5ce17fce-4087-4169-b7ff-056cc58473f9 -- /dev/sdb
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block.wal is GPT partition /dev/disk/by-partuuid/ac491795-784d-41a0-9287-0e41df9312b6
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
ptype_tobe_for_name: name = block
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
create_partition: Creating block partition num 2 size 0 on /dev/sdb
command_check_call: Running command: /sbin/sgdisk --largest-new=2 --change-name=2:ceph block --partition-guid=2:ae68107c-b12b-47a7-852b-c27ee870fef9 --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sdb
update_partition: Calling partprobe on created device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
Setting name!
partNum is 1
REALLY setting name!
The operation has completed successfully.
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
get_dm_uuid: get_dm_uuid /dev/sdb2 uuid path is /sys/dev/block/8:18/dm/uuid
prepare_device: Block is GPT partition /dev/disk/by-partuuid/ae68107c-b12b-47a7-852b-c27ee870fef9
command_check_call: Running command: /sbin/sgdisk --typecode=2:cafecafe-9b03-4f30-b4c6-b4b80ceff106 -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
prepare_device: Block is GPT partition /dev/disk/by-partuuid/ae68107c-b12b-47a7-852b-c27ee870fef9
populate_data_path_device: Creating xfs fs on /dev/sdb1
command_check_call: Running command: /sbin/mkfs -t xfs -f -i size=2048 -- /dev/sdb1
meta-data=/dev/sdb1              isize=2048   agcount=4, agsize=6400 blks
=                       sectsz=512   attr=2, projid32bit=1
=                       crc=1        finobt=1, sparse=0
data     =                       bsize=4096   blocks=25600, imaxpct=25
=                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=864, version=2
=                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.mHwyBH with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt.mHwyBH
populate_data_path: Preparing osd data dir /var/lib/ceph/tmp/mnt.mHwyBH
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/ceph_fsid.17025.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/fsid.17025.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/magic.17025.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/block.db_uuid.17025.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.mHwyBH/block.db -> /dev/disk/by-partuuid/e043ff66-d684-45aa-ad59-e64bbd8526ce
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/block.wal_uuid.17025.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.mHwyBH/block.wal -> /dev/disk/by-partuuid/ac491795-784d-41a0-9287-0e41df9312b6
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/block_uuid.17025.tmp
adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.mHwyBH/block -> /dev/disk/by-partuuid/ae68107c-b12b-47a7-852b-c27ee870fef9
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH/type.17025.tmp
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.mHwyBH
unmount: Unmounting /var/lib/ceph/tmp/mnt.mHwyBH
command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.mHwyBH
get_dm_uuid: get_dm_uuid /dev/sdb uuid path is /sys/dev/block/8:16/dm/uuid
command_check_call: Running command: /sbin/sgdisk --typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdb
The operation has completed successfully.
update_partition: Calling partprobe on prepared device /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command: Running command: /usr/bin/flock -s /dev/sdb /sbin/partprobe /dev/sdb
command_check_call: Running command: /sbin/udevadm settle --timeout=600
command_check_call: Running command: /sbin/udevadm trigger --action=add --sysname-match sdb1
changed ownership of '/dev/sdb2' from root:root to ceph:ceph
changed ownership of '/dev/sdb3' from root:root to ceph:ceph
changed ownership of '/dev/sdb4' from root:disk to ceph:ceph
changed ownership of '/dev/sdb1' from root:disk to ceph:ceph
main_activate: path = /dev/sdb1
get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
command: Running command: /sbin/blkid -o udev -p /dev/sdb1
command: Running command: /sbin/blkid -p -s TYPE -o value -- /dev/sdb1
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt._bJF_1 with options noatime,inode64
command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdb1 /var/lib/ceph/tmp/mnt._bJF_1
activate: Cluster uuid is fee23b3f-ec40-4642-9020-889d9d988730
command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
activate: Cluster name is ceph
activate: OSD uuid is 4005ff8a-8ab2-493e-a6a9-2d4f9037bb40
allocate_osd_id: Allocating OSD id...
command: Running command: /usr/bin/ceph-authtool --gen-print-key
init: stderr
command_with_stdin: Running command with stdin: ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 4005ff8a-8ab2-493e-a6a9-2d4f9037bb40
command_with_stdin: 1
command_check_call: Running command: /usr/bin/ceph-authtool /var/lib/ceph/tmp/mnt._bJF_1/keyring --create-keyring --name osd.1 --add-key AQDsN7pZEC/gMBAA2hH9XGTV7wKw5oJhZsbZjg==
creating /var/lib/ceph/tmp/mnt._bJF_1/keyring
added entity osd.1 auth auth(auid =<PHONE_NUMBER>3709551615 key=AQDsN7pZEC/gMBAA2hH9XGTV7wKw5oJhZsbZjg== with 0 caps)
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt._bJF_1/keyring
command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt._bJF_1/whoami.17401.tmp
activate: OSD id is 1
activate: Initializing OSD...
command_check_call: Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o /var/lib/ceph/tmp/mnt._bJF_1/activate.monmap
got monmap epoch 1
command_check_call: Running command: /usr/bin/ceph-osd --cluster ceph --mkfs -i 1 --monmap /var/lib/ceph/tmp/mnt._bJF_1/activate.monmap --osd-data /var/lib/ceph/tmp/mnt._bJF_1 --osd-uuid 4005ff8a-8ab2-493e-a6a9-2d4f9037bb40 --setuser ceph --setgroup disk
/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: In function 'void BlueFS::add_block_extent(unsigned int, uint64_t, uint64_t)' thread 7f106daaee00 time 2017-09-14 08:04:07.377014
/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: 172: FAILED assert(bdev[id]->get_size() >= offset + length)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55640d3b1072]
2: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55640d33757a]
3: (BlueStore::_open_db(bool)+0x964) [0x55640d240ce4]
4: (BlueStore::mkfs()+0xcc5) [0x55640d26ff45]
5: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55640cdaf584]
6: (main()+0xe3c) [0x55640ccfc4bc]
7: (__libc_start_main()+0xf0) [0x7f106af15830]
8: (_start()+0x29) [0x55640cd89e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
2017-09-14 08:04:07.387754 7f106daaee00 -1 /build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: In function 'void BlueFS::add_block_extent(unsigned int, uint64_t, uint64_t)' thread 7f106daaee00 time 2017-09-14 08:04:07.377014
/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: 172: FAILED assert(bdev[id]->get_size() >= offset + length)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55640d3b1072]
2: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55640d33757a]
3: (BlueStore::_open_db(bool)+0x964) [0x55640d240ce4]
4: (BlueStore::mkfs()+0xcc5) [0x55640d26ff45]
5: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55640cdaf584]
6: (main()+0xe3c) [0x55640ccfc4bc]
7: (__libc_start_main()+0xf0) [0x7f106af15830]
8: (_start()+0x29) [0x55640cd89e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
 0> 2017-09-14 08:04:07.387754 7f106daaee00 -1 /build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: In function 'void BlueFS::add_block_extent(unsigned int, uint64_t, uint64_t)' thread 7f106daaee00 time 2017-09-14 08:04:07.377014

/build/ceph-12.2.0/src/os/bluestore/BlueFS.cc: 172: FAILED assert(bdev[id]->get_size() >= offset + length)
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55640d3b1072]
2: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55640d33757a]
3: (BlueStore::_open_db(bool)+0x964) [0x55640d240ce4]
4: (BlueStore::mkfs()+0xcc5) [0x55640d26ff45]
5: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55640cdaf584]
6: (main()+0xe3c) [0x55640ccfc4bc]
7: (__libc_start_main()+0xf0) [0x7f106af15830]
8: (_start()+0x29) [0x55640cd89e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
*** Caught signal (Aborted) **
in thread 7f106daaee00 thread_name:ceph-osd
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (()+0xa562f4) [0x55640d36e2f4]
2: (()+0x11390) [0x7f106bf8f390]
3: (gsignal()+0x38) [0x7f106af2a428]
4: (abort()+0x16a) [0x7f106af2c02a]
5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x28e) [0x55640d3b11fe]
6: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55640d33757a]
7: (BlueStore::_open_db(bool)+0x964) [0x55640d240ce4]
8: (BlueStore::mkfs()+0xcc5) [0x55640d26ff45]
9: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55640cdaf584]
10: (main()+0xe3c) [0x55640ccfc4bc]
11: (__libc_start_main()+0xf0) [0x7f106af15830]
12: (_start()+0x29) [0x55640cd89e69]
2017-09-14 08:04:07.391577 7f106daaee00 -1 *** Caught signal (Aborted) **
in thread 7f106daaee00 thread_name:ceph-osd
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (()+0xa562f4) [0x55640d36e2f4]
2: (()+0x11390) [0x7f106bf8f390]
3: (gsignal()+0x38) [0x7f106af2a428]
4: (abort()+0x16a) [0x7f106af2c02a]
5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x28e) [0x55640d3b11fe]
6: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55640d33757a]
7: (BlueStore::_open_db(bool)+0x964) [0x55640d240ce4]
8: (BlueStore::mkfs()+0xcc5) [0x55640d26ff45]
9: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55640cdaf584]
10: (main()+0xe3c) [0x55640ccfc4bc]
11: (__libc_start_main()+0xf0) [0x7f106af15830]
12: (_start()+0x29) [0x55640cd89e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
 0> 2017-09-14 08:04:07.391577 7f106daaee00 -1 *** Caught signal (Aborted) **

in thread 7f106daaee00 thread_name:ceph-osd
ceph version 12.2.0 (32ce2a3ae5239ee33d6150705cdb24d43bab910c) luminous (rc)
1: (()+0xa562f4) [0x55640d36e2f4]
2: (()+0x11390) [0x7f106bf8f390]
3: (gsignal()+0x38) [0x7f106af2a428]
4: (abort()+0x16a) [0x7f106af2c02a]
5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x28e) [0x55640d3b11fe]
6: (BlueFS::add_block_extent(unsigned int, unsigned long, unsigned long)+0x4da) [0x55640d33757a]
7: (BlueStore::_open_db(bool)+0x964) [0x55640d240ce4]
8: (BlueStore::mkfs()+0xcc5) [0x55640d26ff45]
9: (OSD::mkfs(CephContext*, ObjectStore*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, uuid_d, int)+0x164) [0x55640cdaf584]
10: (main()+0xe3c) [0x55640ccfc4bc]
11: (__libc_start_main()+0xf0) [0x7f106af15830]
12: (_start()+0x29) [0x55640cd89e69]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.
mount_activate: Failed to activate
unmount: Unmounting /var/lib/ceph/tmp/mnt._bJF_1
command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt._bJF_1
Traceback (most recent call last):
File "/usr/sbin/ceph-disk", line 9, in
load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5704, in run
main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5655, in main
args.func(args)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3759, in main_activate
reactivate=args.reactivate,
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3522, in mount_activate
(osd_id, cluster) = activate(path, activate_key_template, init)
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3699, in activate
keyring=keyring,
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3151, in mkfs
'--setgroup', get_ceph_group(),
File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 558, in command_check_call
return subprocess.check_call(arguments)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/ceph-osd', '--cluster', 'ceph', '--mkfs', '-i', u'1', '--monmap', '/var/lib/ceph/tmp/mnt._bJF_1/activate.monmap', '--osd-data', '/var/lib/ceph/tmp/mnt._bJF_1', '--osd-uuid', u'4005ff8a-8ab2-493e-a6a9-2d4f9037bb40', '--setuser', 'ceph', '--setgroup', 'disk']' returned non-zero exit status -6

the error look like the minimum disk size which osd support is greater than 2GB , when i using 1GB virtualdisk as /dev/sdb or 2GB /dev/sdb ,the error occurs ,but when i increase the virutal disk size to 8GB.
it works.......
but using old version of ceph , 1GB disk still works .


support for HTMLhint

Hi, thanks for this tool, I think adding HTMLHint here would be great there's already one but not interactive.

done


Feature request - Allow custom error messages

common-validators allow for custom error messages to be specified and return on failed validation. Correct me if I am wrong, but this is currently not supported by validy.

It's supported :smile: I updated documentation https://github.com/Jokero/validy#error-messages


Bugfix/home page typo

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: batraanurag sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


warning uses '@objc' inference deprecated in Swift 4; add '@objc'

Environment : Xcode 9, Objective-C

Is there a solution to this problem?

You can enable Swift 3 @objc inference in Xcode 9 to temporarily solve this problem:


Max/Min Expressions in Utils.scala

Max/Min throws null exception when column is other than IntegerType
More info:
scala/edu/berkeley/cs/rise/opaque/Utils.scala:
flatbuffersCreateField supports only creation of Null IntegerType (sets int value to 0)
Max and Min methods create Null Literal which currently not fully supported for all DataTypes and results in an exception.
Setting init value to zero (default for IntegerType currently) might not return valid results when data contains also negative values.

Thanks, we need to support serializing nulls of other types than IntegerType.

Setting init value to zero (default for IntegerType currently) might not return valid results when data contains also negative values.

I don't think this should occur, because the aggregate expressions do perform null checks (e.g. for Max). The zero is only there as a placeholder.

Moved the second part of this issue to #25.

scala.MatchError: (null,LongType) (of class scala.Tuple2)
at edu.berkeley.cs.rise.opaque.Utils$.flatbuffersCreateField(Utils.scala:256)
When performing select max/min/count with groupby on DoubleType or LongType columns
origins - creation of Literal.create(null, child.dataType) in createInitialValuesVector


Trubine euraka application auto discovery

Is it possible to auto configure turbine for all applications in eureka( Or with regex)? Currently I use a configuration like this
...
turbine
appConfig: SC-SERVICE ,SC-SERVICE-CLIENT
....
Thanks

Not that I know of, I think you need to explicitly list the services

Thank you very much for your answer.


Create type convertation from tuples to native window structures

You can write: Win32 = (hInstance, hwnd); Win32 = new Win32NativeWindow { HInstance = hInstance, Hwnd = hwnd };

I close this issue because library was ported on C


Fix asset bundle asset loader does not using type

Create branch from main
issue-26-fix-asset-bundle-asset-loader-does-not-using-type


Add windmill extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Did you close this by accident?

I submitted again


Revenants can spill jugs while invisible

Recently had a round where we could do nothing about this as med except scramble to try and pick up our meds and put them in our bags. I will argue that this is just as bad as when mice could spill, but far worse, as you cant hit an intangible being. They should not be able to spill through verbs period.
Repro:

Be revenant.
Find jug filled with fluid
Right click and click the verb to spill.
Congratulations, you've destroyed all of chem's work in less than a minute

Dupe of #24861, mb.


Upload chat.png image

The newest release of the extension https://marketplace.visualstudio.com/items?itemName=Stripe.vscode-stripe&ssr=false#overview uses this GitHub repo to determine where images are sourced from.

r? @vcheung-stripe


Allows Setting non-UTC Timezones

Reference Issue:
#9953

This allows the user to set the timezone when calling the SetChannelsMixin.set_meas_date() function.
While setting the region name is not yet supported, the user can enter the timezone information as sHH:MM.
Offers to set utc_offset as a datetime object, but doesn't actually implement that anywhere.

@TzionaN I had a brief look and this seems like it's in good shape -- good to go from your end?


Fix CROSS_COMPILE_HOSTS bug. Perform some minor bash gardening.

What's in this pull request?

Fix bug when traversing array CROSS_COMPILE_HOSTS (previously only looked at first element).
[gardening] Prefer $(command) over `command`.
[gardening] Remove useless echo.

This should probably be reviewed by @gottesmm, @springsup and @modocache :-)
Resolved bug number: –

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test and merge


What is your license?

Hey, I wanted to use this in my app. What is your license for it?

I've added MIT license

Awesome, you rock. Thanks!


Fix crash in - [ARTiledImageView drawRect:], line 112

Version: 2.4.0 (2016.03.09) | net.artsy.artsy
Stacktrace
ARTiledImageView;drawRect:;ARTiledImageView.m;112
ARTiledImageViewWithBreadcrumb;drawRect:;ARZoomView.m;38
Reason
objc_msgSend() selector name: bounds
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/crash_reasons/114692382

Closing in favour of #773.


Local module imports fail if not at base project directory in the Interactive Window

If you try and run a python file a few directories down from the "opened" folder in the interactive window, imports to local python modules will fail. As an example:

project_root

folder

module1.py
module2.py

In this case if vscode has opened "project_root", module1.py cannot import module2.py. This will work just fine if module1.py is run from the terminal.
When running a full file in the interactive window can you guys automatically change the working directory of the interactive window?

hey @mcdevitts. Thanks for opening this issue up. It's actually something that I hadn't considered before. So what we currently do (which you might already know) is that we set the current working directory of the Interactive Window to the root of the workspace, we did that to match up with how other VSCode python features work. This does actually match up with how the terminal operates both the IW and the terminal have the same working directory if you print it out via os.cwd(). The difference here is that for the Interactive Window when you execute a full file we send it over as raw code, but with the terminal window it calls "python " which sets the sys.path[0] variable to the path of this script file. That adds this location on as the first search path then looking for modules. Which is why it's picked up by the terminal but not by the IW.
I think that this could be an interesting feature to add, but we'll have to consider it some since it's not just changing the working directory and the interactive window can have multiple files feeding into it. Possibly we could append into sys.path the path of the script when you execute any full script in the IW, not fully sure yet if that is what customers want.
For now, your best bet would have to be either changing the working directory to your subfolder or tweaking sys.path manually from your .py file.

@IanMatthewHuff since you are using IPython, why not leverage the %run magic command instead of sending over raw code? This could avoid the path issue entirely and make running a file very similar to the console.
Adding the path of the script to sys.path could be troublesome especially if multiple files are added to an interactive window. The namespace could get confusing.
As to your suggested work around, this is actually related to another issue I raised (but was quickly closed). The builtin variable __file__  is not valid in the IPython console which makes it difficult to fine the directory of the file being executed. Usually I would run the following code to get the current file's directory:
dir_ = os.path.dirname(__file__)
Basically, the current implementation of the interactive console totally precludes running files in other directories.

This is fixed. You can set your own python.dataScience.notebookFileRoot to ${fileDirname}.


Update Image tag that was being used by openshift ci

What this PR does / why we need it:
openshift ci will set different tag name so params.env need to use it.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes # https://issues.redhat.com/browse/RHOAIENG-9790
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/lgtm


bypy refreshtoken ,failed!

E> [14:28:20] Waiting 10 seconds before retrying...
 [14:28:30] Request Try #2 / 5
 [14:28:31] Exception:
<type 'exceptions.ValueError'> - No JSON object could be decoded
Stack:
File "/usr/local/bin/bypy", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 3229, in main
result = getattr(by, args.command[0])(*uargs)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 932, in refreshtoken
return self.__refresh_token()
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 887, in __refresh_token
result = self.__get(url, pars, self.__refresh_token_act, retry = retry, addtoken = False)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 688, in __get
return self.__request(url, pars, act, 'GET', actargs, retry, addtoken, dumpex, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 666, in __request
result = self.__request_work(url, pars, act, method, actargs, addtoken, dumpex, **kwnew)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 516, in __request_work
perr(formatex(ex))
File "/usr/local/lib/python2.7/dist-packages/bypy/util.py", line 70, in formatex
type(ex), ex, ''.join(traceback.format_stack()))

Thanks for feeding back.
Can post the full log and the command used? Are you able to use the
commands like list after refreshing?
On Jan 11, 2017 14:29, "xtqxk"<EMAIL_ADDRESS>wrote:

E> [14:28:20] Waiting 10 seconds before retrying...
[14:28:30] Request Try #2 https://github.com/houtianze/bypy/issues/2 / 5
[14:28:31] Exception:
<type 'exceptions.ValueError'> - No JSON object could be decoded
Stack:
File "/usr/local/bin/bypy", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 3229, in
main
result = getattr(by, args.command[0])(*uargs)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 932, in
refreshtoken
return self.__refresh_token()
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 887, in
__refresh_token
result = self.__get(url, pars, self.__refresh_token_act, retry = retry,
addtoken = False)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 688, in
__get
return self.__request(url, pars, act, 'GET', actargs, retry, addtoken,
dumpex, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 666, in
__request
result = self.__request_work(url, pars, act, method, actargs, addtoken,
dumpex, **kwnew)
File "/usr/local/lib/python2.7/dist-packages/bypy/bypy.py", line 516, in
__request_work
perr(formatex(ex))
File "/usr/local/lib/python2.7/dist-packages/bypy/util.py", line 70, in
formatex
type(ex), ex, ''.join(traceback.format_stack()))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/houtianze/bypy/issues/323, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGC5gW_Ayb6OKFt0MLXOaPRPc8CFX0xks5rRHa4gaJpZM4LgPOo
.

add:
FileSystemEncoding = sys.getfilesystemencoding()
line 906:
def walk_normal_file(self, dir):
try:
dirb = dir.encode(FileSystemEncoding)
except:
dirb = dir_
for walk in os.walk(dirb, followlinks=self.__followlink):
normalfiles = [t for t in walk[-1]
if os.path.isfile(os.path.join(walk[0], t))]
normalfiles.sort()
normalwalk = walk[:-1] + (normalfiles,)
yield normalwalk
it`s solved


Autocomplete

@AhmedMIS What is the meaning of this pull request? It doesn't seem to add any new code 🙃