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

Remove process_unowned_devices #1929

Merged

Conversation

mulkieran
Copy link
Member

@mulkieran mulkieran commented Apr 2, 2020

Related: #1656
Related: #1782

Also removes find_all_block_devices_with_stratis_signatures, a method used only for testing. In one case, a test was removed. For all other tests, a different mechanism for getting the necessary information was used. find_all_block_devices_with_stratis_signatures depended transitively on process_unowned_devices, and failed to find all devices if the use in identify_block_device was removed. The use in tests was the only reason to retain process_unowned_devices; at this point it can be removed entirely.

@mulkieran mulkieran self-assigned this Apr 2, 2020
@mulkieran mulkieran changed the title Remove find_all_block_devices_with_stratis_signatures Remove process_unowned_devices Apr 2, 2020
@mulkieran mulkieran added this to In progress (long term) in 2020April via automation Apr 2, 2020
@mulkieran mulkieran moved this from In progress (long term) to In review in 2020April Apr 2, 2020
What functionality can be tested without the use of
find_all_block_devices_with_stratis_signatures is already tested,
including with encryption, in test_ownership.

Signed-off-by: mulhern <amulhern@redhat.com>
Signed-off-by: mulhern <amulhern@redhat.com>
Get the data about the block devices to use in testing from the backstore
itself.

Signed-off-by: mulhern <amulhern@redhat.com>
Remove the method from the identify module.

Signed-off-by: mulhern <amulhern@redhat.com>
Now that stratisd reqires libblkid 2.32, and the method is no longer used
for test specific purposes, it is no longer needed.

Signed-off-by: mulhern <amulhern@redhat.com>
@mulkieran
Copy link
Member Author

rebased.

@mulkieran mulkieran merged commit 624dbc2 into stratis-storage:develop-2.0.1 Apr 2, 2020
2020April automation moved this from In review to Done Apr 2, 2020
@mulkieran mulkieran deleted the develop-2.0.1-tests branch April 2, 2020 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
2020April
  
Done (1)
Development

Successfully merging this pull request may close these issues.

None yet

5 participants