New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools: add a tool to restore crush map after a faulty one is injected #5052
Conversation
0229aab
to
b879531
Compare
|
loic-bot says FAIL: http://jenkins.ceph.dachary.org/job/ceph/6032/LABELS=centos-7&&x86_64/console |
|
thanks @dachary, i just fixed the script's path, and also added it to the dist tarball. |
79d1874
to
3c6fc77
Compare
|
@jecluis could you take a quick look at this change?
thanks =) |
3c6fc77
to
bd8f3a1
Compare
9fc5f93
to
eda9844
Compare
0e78e54
to
b7cddf8
Compare
b7cddf8
to
099b18f
Compare
|
the failure was due to:
|
099b18f
to
657ba88
Compare
a961462
to
2e362d3
Compare
|
per the discussion tonight, we should also offer a command, with which user can extract both the full map and the incrementals, which can be injected to the OSD's object store. we can do it as part of #5127. |
5eb38c8
to
a87d2ac
Compare
|
@jecluis i managed to workaround the "local" command.
so "local" is practically always happy at whatever the following following is what i have if the monitor is running: |
the failed test is not relevant . |
|
@tchaikov could you please rebase and repush ? It's the first time this rados-striper.sh error happens and I'd like to make sure it's a transient error. |
a87d2ac
to
391f551
Compare
|
@dachary rebased and repushed. |
"rewrite" command will
- add a new osdmap version to update current osdmap held by OSDMonitor
- add a new paxos version, as a proposal it will
* rewrite all osdmap epochs from specified epoch to the last_committed
one with the specified crush map.
* add the new osdmap which is added just now
so the leader monitor can trigger a recovery process to apply the transaction
to all monitors in quorum, and hence bring them back to normal after being
injected with a faulty crushmap.
Fixes: #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
* --dump will accept a formatter argument. Signed-off-by: Kefu Chai <kchai@redhat.com>
* its '--dump-json' option is replaced by '--dump json' Signed-off-by: Kefu Chai <kchai@redhat.com>
Fixes: #11815 Signed-off-by: Kefu Chai <kchai@redhat.com>
Fixes: #11815 Signed-off-by: Kefu Chai <kchai@redhat.com>
Fixes: #11815 Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
391f551
to
8eb9a34
Compare
|
rebased against master to resolve the merge conflicts of PendingReleaseNotes . @jecluis ping? |
|
Let's wait for the bot to come back with a clean build and I'll merge it then ;) |
|
cool, thanks in advance! =) |
tools: add a tool to restore crush map after a faulty one is injected Reviewed-by: Joao Eduardo Luis <joao@suse.de>
see http://tracker.ceph.com/issues/11815