-
Notifications
You must be signed in to change notification settings - Fork 341
DAOS-18483 test: fix OSAOfflineReintegration #17534
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
base: master
Are you sure you want to change the base?
Conversation
|
Ticket title is 'osa/offline_reintegration.py:OSAOfflineReintegration.test_osa_offline_reintegrate_during_rebuild - False is not true : Pool Version Error: After exclude' |
Some rank exclusions were hardcoded to the wrong rank. Test-tag: OSAOfflineReintegration Test-repeat: 3 Skip-unit-tests: true Skip-fault-injection-test: true Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com>
70f29fe to
e0268da
Compare
rpadma2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have any questions, please let me know.
| if (self.test_during_rebuild is True and index == 0): | ||
| # Exclude rank 5 | ||
| output = self.pool.exclude("5") | ||
| # Exclude the rank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we are breaking the intention of the code here (exclusion of a rank during rebuild).
Start a rebuild operation by excluding a rank... Previous code picked rank "5". I would recommend to pick any rank on line number 99. It is fine. But, line number 113, should use a different rank.
The present change will exclude the same rank twice where the second exclude is just a NOP.
Based on my present data corruption testing, we should add a pool query after line 99 and wait for "Rebuild Busy" state and then allow the exclusion of another rank on line number 113.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated to exclude a different rank but TBH I don't really follow the logic of this function
Some rank exclusions were hardcoded to the wrong rank.
Test-tag: OSAOfflineReintegration
Test-repeat: 3
Skip-unit-tests: true
Skip-fault-injection-test: true
Steps for the author:
After all prior steps are complete: