- Reference Tracker
The problem is in the ceph-disk
code.
ceph-disk prepare has a following log on the destination node
# ceph-disk -v prepare /dev/vdb
command: Running command:
/usr/bin/ceph-osd --cluster=None --show-config-value=fsid
The value of cluster
is None
and that is incorrect. It must be ceph
.
# /usr/bin/ceph-osd --cluster=None --show-config-value=fsid
00000000-0000-0000-0000-000000000000
# /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
68eabcd3-a4fd-4c80-9e9c-56577d841234
The code change involved the following in /usr/sbin/ceph-disk
:
prepare_parser.add_argument(
'--cluster
metavar='NAME', default='ceph', # added the parameter `default`
help='cluster name to assign this disk to',
)
- diff output
< metavar='NAME',
---
> metavar='NAME', default='ceph',
Written with StackEdit.
No comments:
Post a Comment