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

Rook discover daemon cannot see any disks #9483

Closed
bootc opened this issue Dec 22, 2021 · 1 comment · Fixed by #9512
Closed

Rook discover daemon cannot see any disks #9483

bootc opened this issue Dec 22, 2021 · 1 comment · Fixed by #9512
Labels

Comments

@bootc
Copy link

bootc commented Dec 22, 2021

Is this a bug report or feature request?

  • Bug Report

Deviation from expected behavior:
Rook discover daemon cannot see any disks.

Expected behavior:
Rook discover daemon should be able to discover available devices.

How to reproduce it (minimal and precise):
Rook 1.8.x now runs discover as non-root, which means it cannot correctly list available devices.

File(s) to submit:
Example rook-discover-xxxxx logs:

2021-12-22 10:11:20.127888 I | rookcmd: starting Rook v1.8.1 with arguments '/usr/local/bin/rook discover --discover-interval 60m --use-ceph-volume'
2021-12-22 10:11:20.128011 I | rookcmd: flag values: --discover-interval=1h0m0s, --help=false, --log-level=INFO, --operator-image=, --service-account=, --use-ceph-volume=true
2021-12-22 10:11:20.130396 I | rook-discover: updating device configmap
2021-12-22 10:11:20.146452 W | inventory: skipping device "sda". exit status 2
2021-12-22 10:11:20.167358 W | inventory: skipping device "sdb". exit status 2
2021-12-22 10:11:20.174268 W | inventory: skipping device "sdc". exit status 2
[...]
2021-12-22 10:11:20.234213 I | rook-discover: localdevices: "sda1"
2021-12-22 10:11:20.234219 I | rook-discover: Getting ceph-volume inventory information
2021-12-22 10:11:24.046356 I | rook-discover: available devices: []
2021-12-22 10:11:24.083163 I | rook-discover: using the regular expressions ["(?i)dm-[0-9]+" "(?i)rbd[0-9]+" "(?i)nbd[0-9]+"]

Environment:

  • OS (e.g. from /etc/os-release): Debian GNU/Linux 11 (bullseye)
  • Kernel (e.g. uname -a): Linux frost 5.15.0-2-amd64 #1 SMP Debian 5.15.5-1 (2021-11-26) x86_64 GNU/Linux
  • Cloud provider or hardware configuration: on-prem bare metal
  • Rook version (use rook version inside of a Rook Pod): rook: v1.8.1 go: go1.16.12
  • Storage backend version (e.g. for ceph do ceph -v): ceph version 14.2.21 (5ef401921d7a88aea18ec7558f7f9374ebd8f5a6) nautilus (stable)
  • Kubernetes version (use kubectl version): v1.22.5+rke2r1
  • Kubernetes cluster type (e.g. Tectonic, GKE, OpenShift): RKE2
  • Storage backend status (e.g. for Ceph use ceph health in the Rook Ceph toolbox): HEALTH_OK
@bootc bootc added the bug label Dec 22, 2021
@leseb
Copy link
Member

leseb commented Jan 3, 2022

Probably a dup of #9493

@leseb leseb linked a pull request Jan 3, 2022 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants