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

Disk List fails with raw error rather than reporting the missing snap connection #376

Open
UtkarshBhatthere opened this issue Jul 2, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@UtkarshBhatthere
Copy link
Contributor

UtkarshBhatthere commented Jul 2, 2024

Issue report

$ sudo microceph disk list
Error: internal error: unable to fetch unpartitoned disks: internal error: unable to fetch available disks: failed listing storage devices: Failed to read "/proc/self/mountinfo": open /proc/self/mountinfo: permission denied

What version of MicroCeph are you using ?

reef/stable

What are the steps to reproduce this issue ?

  1. install snap
  2. cluster bootstrap
  3. disk list

What happens (observed behaviour) ?

MicroCeph reports the internal error about being unable to read /proc/self/mountinfo

What were you expecting to happen ?

MicroCeph to report the missing snap connection which causes the permission error.

Relevant logs, error output, etc.

NA

Additional comments.

NA

@UtkarshBhatthere UtkarshBhatthere added good first issue Good for newcomers bug Something isn't working labels Jul 2, 2024
@UtkarshBhatthere
Copy link
Contributor Author

@medvied can take a look if you want to pick it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant