Project

General

Profile

Actions

Bug #23282

open

If you add extra characters to an fsid, it gets parsed as "00000000-0000-0000-0000-000000000000" without an error"

Added by Amine Liu about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/luminous-x
Component(RADOS):
ceph cli
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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]#

Actions #1

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"
}
]
}
}

Actions #2

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]#

Actions #3

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.

Actions #4

Updated by Greg Farnum about 6 years ago

So it got better when you took away the extra "80" prefix?

Actions #5

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.

Actions #6

Updated by John Spray about 6 years ago

  • Status changed from New to Closed
Actions #7

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
Actions

Also available in: Atom PDF