Bug #23098
closed
ceph-mds: prevent MDS names starting with a digit
Added by Jos Collin about 6 years ago.
Updated about 6 years ago.
Description
ceph-mds shows `starting * at -` for invalid MDS id.
$ ./bin/ceph-mds -i 42
2018-02-22 20:23:25.624 7f11d628b080 -1 deprecation warning: MDS id 'mds.42' is invalid and will be forbidden in a future version. MDS names may not start with a numeric digit.
starting mds.42 at -
Obsolete this.
- Subject changed from ceph-mds: always shows 'starting mds.a at' to ceph-mds: always shows 'starting mds.* at'
Jos Collin wrote:
ceph-mds shows `starting * at -` for invalid MDS id.
$ ./bin/ceph-mds -i 42
2018-02-22 20:23:25.624 7f11d628b080 -1 deprecation warning: MDS id 'mds.42' is invalid and will be forbidden in a future version. MDS names may not start with a numeric digit.
starting mds.42 at -
This is not a bug? What's "invalid" is that the MDS may not have any caps to use so it can't connect to anything? What eventually happens to the mds process?
- MDS id other than the default a,b,c
$ ./bin/ceph-mds -i otherid
starting mds.otherid at -
What's wrong with this?
$ ./bin/ceph-mds -i a
starting mds.a at -
2018-02-23 11:00:48.606 7f568eb08080 -1 open: failed to lock pidfile /home/jcollin/workspace/ceph/build/out/mds.a.pid because another process locked it.
Were you already running mds.a?
Patrick Donnelly wrote:
Jos Collin wrote:
ceph-mds shows `starting * at -` for invalid MDS id.
$ ./bin/ceph-mds -i 42
2018-02-22 20:23:25.624 7f11d628b080 -1 deprecation warning: MDS id 'mds.42' is invalid and will be forbidden in a future version. MDS names may not start with a numeric digit.
starting mds.42 at -
This is not a bug? What's "invalid" is that the MDS may not have any caps to use so it can't connect to anything? What eventually happens to the mds process?
- MDS id other than the default a,b,c
$ ./bin/ceph-mds -i otherid
starting mds.otherid at -
What's wrong with this?
With the above two commands, actually the mds process shuts down (goto shutdown). But no appropriate message is printed. It looks like the process is still running. That's how I started debugging it.
$ ./bin/ceph-mds -i a
starting mds.a at -
2018-02-23 11:00:48.606 7f568eb08080 -1 open: failed to lock pidfile /home/jcollin/workspace/ceph/build/out/mds.a.pid because another process locked it.
Were you already running mds.a?
Yes. I think this error message is fine. No problem with this.
- Subject changed from ceph-mds: always shows 'starting mds.* at' to ceph-mds: prevent MDS names starting with a digit
- Description updated (diff)
- Status changed from New to Fix Under Review
- Target version set to v13.0.0
- Source set to Development
Jos, I'm trimming this issue down to the first problem. Please fork a new issue for the other problem.
- Status changed from Fix Under Review to Resolved
Also available in: Atom
PDF