Bug #8132
closed
mon: no leader commands before first election
Added by Sage Weil about 10 years ago.
Updated about 10 years ago.
Description
got EINVAL on pool create from leader mon who had just started and was starting its election:
ubuntu@teuthology:/a/teuthology-2014-04-15_22:35:26-upgrade:dumpling-x:stress-split-firefly-distro-basic-vps/196326
when a mon starts and has not yet done its election, it has no leader commands and will reject
2014-04-16 15:51:17.600427 7f7d87b33700 0 mon.a@0(electing) e1 handle_command mon_command({"prefix": "osd pool create", "pg_num": 16, "pool": "unique_pool_0"} v 0) v1
2014-04-16 15:51:17.600454 7f7d87b33700 15 mon.a@0(electing) e1 send_reply routing reply to 10.214.138.93:0/1006466 via 10.214.138.103:6789/0 for request mon_command({"prefix": "osd pool create", "pg_num": 16, "pool": "unique_pool_0"} v 0) v1
2014-04-16 15:51:17.600486 7f7d87b33700 1 -- 10.214.138.93:6789/0 --> 10.214.138.103:6789/0 -- route(mon_command_ack([{"prefix": "osd pool create", "pg_num": 16, "pool": "unique_pool_0"}]=-22 command not known v0) v1 tid 4) v2 -- ?+0 0x3bb3cc0 con 0x3b211e0
- Assignee set to Joao Eduardo Luis
- Status changed from Fix Under Review to Resolved
Also available in: Atom
PDF