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

Requires superuser privileges #15

Open
bsanders opened this issue Jun 29, 2016 · 1 comment
Open

Requires superuser privileges #15

bsanders opened this issue Jun 29, 2016 · 1 comment

Comments

@bsanders
Copy link

In hindsight, it's a bit obvious, but perhaps worth mentioning that certain functionality requires admin access. After installing the the library, the first thing I did was ceph_cfg.partition_list(), which calls partition_table_refresh() which eventually calls parted, which hangs waiting for "you're not root, so I can't do that, do you want to retry?" input.

Unfortunately no error is raised or printed, so it took me a little digging through the source code to figure out what happened.

@bsanders bsanders changed the title Requires superuser Requires superuser privileges Jun 29, 2016
@oms4suse
Copy link
Owner

Thanks for the feed back. Expect me to work on this next week, as I have a partial fix for this already.

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

No branches or pull requests

2 participants