Skip to content

Requires superuser privileges  #15

@bsanders

Description

@bsanders

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions