Bug #23282
openIf you add extra characters to an fsid, it gets parsed as "00000000-0000-0000-0000-000000000000" without an error"
0%
Description
[root@s3-master-1 my-cluster]# ceph --show-config |grep fsid
fsid = 00000000-0000-0000-0000-000000000000
[root@s3-master-1 my-cluster]# ceph daemon /run/ceph/ceph-mon* config show |grep fsid
"fsid": "00000000-0000-0000-0000-000000000000",
[root@s3-master-1 my-cluster]# head -2 /etc/ceph/ceph.conf
[global]
fsid = 808053ccc7-0974-40f1-9cd5-54f0ec08a3c2
[root@s3-master-1 my-cluster]# ceph -v
ceph version 12.2.4 (52085d5249a80c5f5121a76d6288429f35e4e77b) luminous (stable)
[root@s3-master-1 my-cluster]#
Updated by Amine Liu about 6 years ago
[root@s3-master-1 my-cluster]# ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.s3-master-1.asok ter-1.asok quorum_status
{
"election_epoch": 62,
"quorum": [
0,
1,
2
],
"quorum_names": [
"s3-master-1",
"s3-master-2",
"s3-master-3"
],
"quorum_leader_name": "s3-master-1",
"monmap": {
"epoch": 1,
"fsid": "8053ccc7-0974-40f1-9cd5-54f0ec08a3c2",
"modified": "2018-01-23 17:32:11.445201",
"created": "2018-01-23 17:32:11.445201",
"features": {
"persistent": [
"kraken",
"luminous"
],
"optional": []
},
"mons": [
{
"rank": 0,
"name": "s3-master-1",
"addr": "172.26.161.41:6789/0",
"public_addr": "172.26.161.41:6789/0"
},
{
"rank": 1,
"name": "s3-master-2",
"addr": "172.26.161.42:6789/0",
"public_addr": "172.26.161.42:6789/0"
},
{
"rank": 2,
"name": "s3-master-3",
"addr": "172.26.161.43:6789/0",
"public_addr": "172.26.161.43:6789/0"
}
]
}
}
Updated by Amine Liu about 6 years ago
[root@s3-master-1 ceph]# ceph --show-config --debug_mon=5|grep fsid
fsid = 00000000-0000-0000-0000-000000000000
[root@s3-master-1 ceph]#
[root@s3-master-1 ceph]# ceph config-key set fsid 8053ccc7-0974-40f1-9cd5-54f0ec08a3c2
set fsid
[root@s3-master-1 ceph]# ceph --show-config --debug_mon=5|grep fsid
fsid = 00000000-0000-0000-0000-000000000000
[root@s3-master-1 ceph]# ceph config set fsid 8053ccc7-0974-40f1-9cd5-54f0ec08a3c2
Set fsid to 8053ccc7-0974-40f1-9cd5-54f0ec08a3c2
[root@s3-master-1 ceph]# ceph --show-config --debug_mon=5|grep fsid
fsid = 00000000-0000-0000-0000-000000000000
[root@s3-master-1 ceph]#
Updated by Amine Liu about 6 years ago
My mistake. I don't know why there's an extra "80" of fsid in My conf.
Updated by Greg Farnum about 6 years ago
So it got better when you took away the extra "80" prefix?
Updated by Amine Liu about 6 years ago
Greg Farnum wrote:
So it got better when you took away the extra "80" prefix?
yes,my mistake.
Updated by Greg Farnum about 6 years ago
- Project changed from Ceph to RADOS
- Subject changed from when update 12.2.2 to 12.2.4,one cluster fsid become '00000000-0000-0000-0000-000000000000' to If you add extra characters to an fsid, it gets parsed as "00000000-0000-0000-0000-000000000000" without an error"
- Category set to Administration/Usability
- Status changed from Closed to New
- Component(RADOS) ceph cli added