Skip to content
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

Basic OSD tests #34

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

tim-day-387
Copy link
Contributor

Added a couple tests that were useful for debugging OSDs. I included the boot test from the other PR. Updated some of the infrastructure to support non-ZFS OSDs. The FSTYPE is passed via a temporary file. This isn't ideal, but I want to a) grab the value from the local environment similar to the other Lustre scripts and b) not pollute the rest of ktest with tons of Lustre arguments.

More tests to come in the future.

This just boots using the kernel required for
Lustre. I find myself doing this quite often
with llmount.ktest. An explicit boot.ktest
would be helpful.

Signed-off-by: Timothy Day <[email protected]>
Simple setup/teardown test for MGT. This is the
simpliest Lustre storage target - so this testing
is useful for simple functional testing of an OSD.

Signed-off-by: Timothy Day <[email protected]>
Use the Lustre environment variable FSTYPE to
allow for different backing OSDs to be used
with the Lustre ktests.

Signed-off-by: Timothy Day <[email protected]>
Run the llog unit tests with a standalone MGT.

Signed-off-by: Timothy Day <[email protected]>
The in-memory OSD doesn't like the identity_upcall.
So disable it for now.

Signed-off-by: Timothy Day <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant