Project

General

Profile

Bug #23282

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

Added by Tave liu over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
Start date:
03/09/2018
Due date:
% 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:

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

History

#1 Updated by Tave liu over 1 year 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"
}
]
}
}

#2 Updated by Tave liu over 1 year 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]#

#3 Updated by Tave liu over 1 year ago

My mistake. I don't know why there's an extra "80" of fsid in My conf.

#4 Updated by Greg Farnum over 1 year ago

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

#5 Updated by Tave liu over 1 year ago

Greg Farnum wrote:

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

yes´╝îmy mistake.

#6 Updated by John Spray over 1 year ago

  • Status changed from New to Closed

#7 Updated by Greg Farnum over 1 year 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

Also available in: Atom PDF