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

osd: improve log on specifying lv and loop device as osd #11361

Conversation

satoru-takeuchi
Copy link
Member

Description of your changes:

We can use LVM logical volumes and loop devices as OSD iff we specify them in the devices field. If we use filters like deviceFilter, these devices are not picked with a log message which let users specify the exact device name. It's better to mention which field users should use in this case.

Which issue is resolved by this Pull Request:
Resolves #11353

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide).
  • Skip Tests for Docs: If this is only a documentation change, add the label skip-ci on the PR.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

We can use LVM logical volumes and loop devices as OSD iff we specify
them in the `devices` field. If we use filters like `deviceFilter`,
these devices are not picked with a log message which let users
to specify the exact device name. It's better to mention which field
users should use in this case.

Closes: rook#11353

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
@satoru-takeuchi satoru-takeuchi merged commit 7278fb9 into rook:master Nov 29, 2022
mergify bot added a commit that referenced this pull request Nov 29, 2022
osd: improve log on specifying lv and loop device as osd (backport #11361)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deviceFilter and devicePathFilter won't pick up loop0 device
2 participants