Repository navigation
DAOS-17831 control: Add dmg pool rebuild start|stop cmds - #16686
Conversation
|
Ticket title is 'Add dmg pool rebuild start|stop cmds' |
|
Test stage Build on Leap 15.5 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/415/log |
|
Test stage Build on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/407/log |
|
Test stage Build on Leap 15.5 with Intel-C and TARGET_PREFIX completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/418/log |
|
Test stage Build on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/420/log |
|
Test stage Build RPM on EL 8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/338/log |
|
Test stage Build RPM on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/360/log |
|
Test stage Build RPM on Leap 15.5 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/1/execution/node/335/log |
8365f7d to
651dc81
Compare
|
Test stage Functional on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/2/testReport/ |
651dc81 to
adb6313
Compare
|
Test stage Functional on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/3/testReport/ |
adb6313 to
2acc178
Compare
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/4/testReport/ |
2acc178 to
696c466
Compare
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16686/4/display/redirect |
|
@kccain can you suggest some suitable steps to run some basic manual sanity/smoke testing on this PR? e.g. create pool, exclude ranks, start interactive rebuild, see something happened in the logs etc. |
@tanabarr sure. The timing of the rebuild execution and the stop command can be tricky to get right. If the op:Rebuild finishes before the stop command is received, then the rebuild will have gone to its final step (op:Reclaim) and will result the rebuild completing successfully (Rebuild done, status=0). You may have more luck with stopping a reintegration rebuild than the original exclude. That's what happened for me when I built and tried this branch on a developer system. Missed the timing window to stop/restart the exclude rebuild. But caught it on the subsequent reintegration. See below. As one option (exlcude-based rebuild), you'll want to run dmg pool exclude --ranks= <pool_label> (or kill a rank and wait for the exclusion to occur), wait for the rebuild to get started (according to dmg pool query rebuild state becoming Busy, status=0), then (quickly) running dmg pool rebuild stop <pool_label>. Then, monitoring with dmg pool query <pool_label> should (assuming stop command timing was fortunate) eventually report "Rebuild failed, status=-2027 with -2027 being the value -DER_OP_CANCELED). The pool will stay in this state until the start command is run next. Run dmg pool rebuild start <pool_label> and monitor the rebuild progress with dmg pool query <pool_label> until the state is Done, status=0. Alternatively, for reintegration: After the original exclude rebuild ran (successfully, without being stopped), run dmg pool reintegrate --ranks=, wait for rebuild to start, run the rebuild stop command, confirm rebuild status=-2027, then dmg pool rebuild start again and confirm with pool query that the rebuild state becomes Done, status=0. In the PS leader engine logs, here is an example of what would be seen with a (stopped) rebuild (the op:Rebuild is aborted with status=-2027, and an op:Fail_reclaim is run for this "failure"): And then when the pool rebuild start command is run, eventually the rebuild op:Rebuild should complete successfully, and its corresponding op:Reclaim |
|
had to resolve conflicts |
|
Copyright check is failing because the latest message was signed off with an intel email |
…olrbld-startstop Features: control Allow-unstable-test: true Signed-off-by: Tom Nabarro <thomas.nabarro@hpe.com>
|
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16686/10/execution/node/734/log |
|
Test stage Unit Test on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/11/testReport/ |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/11/testReport/ |
|
Test stage Unit Test with memcheck on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/11/testReport/ |
|
Test stage Unit Test bdev with memcheck on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/11/testReport/ |
|
Test stage Unit Test on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/12/testReport/ |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/12/testReport/ |
|
Test stage Unit Test with memcheck on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/12/testReport/ |
|
Test stage Unit Test bdev with memcheck on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16686/12/testReport/ |
knard38
left a comment
There was a problem hiding this comment.
LGTM for what I understand
Add start and stop interactive rebuild commands for a pool to dmg.
Includes dmg syntax updates, dRPC protobuf definitions and call
handling which in turn executes existing ds_mgmt_pool_rebuild_start
and stop API.
Steps for the author:
After all prior steps are complete: