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

ceph_objectstore_tool.py: Don't use btrfs on FreeBSD #10507

Merged

Conversation

wjwithagen
Copy link
Contributor

No description provided.

@@ -1909,6 +1909,7 @@ def remove_btrfs_subvolumes(path):
status = main(sys.argv[1:])
finally:
kill_daemons()
remove_btrfs_subvolumes(CEPH_DIR)
if platform.system() != "FreeBSD":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, could you move this check into remove_btrfs_subvolumes()?

@wjwithagen wjwithagen force-pushed the wip-wjw-tests-ceph_objectstore_tool branch 2 times, most recently from 605356e to 71d4a1c Compare August 1, 2016 08:42
@wjwithagen
Copy link
Contributor Author

@tchaikov
Ping?

@tchaikov tchaikov added the tests label Aug 3, 2016
@tchaikov
Copy link
Contributor

tchaikov commented Aug 3, 2016

lgtm @dzafman what do you think?

@@ -1889,6 +1889,8 @@ def main(argv):


def remove_btrfs_subvolumes(path):
if platform.system() != "FreeBSD":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be: if platform.system() == "FreeBSD": ?

@dzafman
Copy link
Contributor

dzafman commented Aug 4, 2016

@tchaikov I don't understand this change. This looks like the purpose of the remove_btrfs_subvolumes() is exclusively for FreeBSD. See my comment on the code.

@tchaikov
Copy link
Contributor

tchaikov commented Aug 4, 2016

@dzafman sorry, i should have checked this change more closely. yes, it should be

if platform.system() == "FreeBSD"

@wjwithagen could you fix this?

@wjwithagen
Copy link
Contributor Author

@tchaikov @dzafman
Right, Stupid copy and wrong paste, will fix.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@wjwithagen wjwithagen force-pushed the wip-wjw-tests-ceph_objectstore_tool branch from 71d4a1c to bc03507 Compare August 4, 2016 07:38
@wjwithagen
Copy link
Contributor Author

please retest this

@wjwithagen
Copy link
Contributor Author

@tchaikov
Ping?

@tchaikov tchaikov self-assigned this Oct 29, 2016
@tchaikov
Copy link
Contributor

retest this please.

@yuriw
Copy link
Contributor

yuriw commented Nov 14, 2016

test this please

@tchaikov
Copy link
Contributor

@tchaikov tchaikov merged commit 7c471ea into ceph:master Nov 17, 2016
@wjwithagen wjwithagen deleted the wip-wjw-tests-ceph_objectstore_tool branch January 23, 2019 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants