Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

smartctl and nvme tools missing from container #1396

Closed

Description

@KingJ

Is this a bug report or feature request?

  • Feature Request

Currently, the ceph-container image used by OSDs is missing the smartctl (>=7.0) and nvme CLI utilities. These utilities are used by the new Device Monitoring feature in Nautilus to capture metrics about the health of the OSD's underlying physical device. Without these utilities, metrics cannot be automatically gathered, preventing the health prediction function from working.

Are there any similar features already existing:
Possibly - Ceph blog post on Nautilus's new Health Metrics feature mentions that "pieces should fall into place soon", however I have not been able to find any related issues, commits or PRs on the ceph-container Github project or Ceph issue tracker. (apologies if this is being tracked somewhere and this issue is superfluous as a result!).

What should the feature do:
smartctl (>=7.0) and nvme CLI utilities should be present in the Ceph Container image used by OSDs.

What would be solved through this feature:
Containerised Ceph OSDs would be able to collect Health Metrics about the underlying physical device, enabling device failure predictions.

Does this have an impact on existing features:
No

Environment:

  • OS (e.g. from /etc/os-release): Ubuntu 18.04.2 LTS
  • Kernel (e.g. uname -a): 4.18.0-21-generic
  • Docker version (e.g. docker version): 18.09.6
  • Ceph version (e.g. ceph -v): ceph version 14.2.1 (d555a9489eb35f84f2e1ef49b77e19da9d113972) nautilus (stable)

Activity

  1. mykaul commented on Jun 10, 2019

    @mykaul

    Would be nice to have them, if possible, in a separate container, as I assume they are quite privileged, whereas the rest of the OSD code can be further constrained.

  2. dsavineau commented on Jun 10, 2019

    @dsavineau
    Contributor

    The current images present on dockerhub are based on CentOS 7 which doesn't have a recent enough smartctl release (6.5). The CentOS 8 release will only have 6.6 too.
    There's a smartmontools build available via the centos 7 nautilus repository (centos-release-ceph-nautilus [1]) but we are using the ceph bits from [2] so we might have some ceph packages conflict. I will give it a try.
    For the nvme cli it doesn't seems to be an issue.

    I don't think those tools need to be in a separate container because the ceph process needs to call them so it needs to be in the same container. Also the OSD container needs to be executed with privileged.

    [1] https://cbs.centos.org/koji/buildinfo?buildID=25069
    [2] https://download.ceph.com/rpm-nautilus/el7/

  3. ktdreyer commented on Jun 12, 2019

    @ktdreyer
    Contributor

    We're tracking smartmontools 7.0 for RHEL 8 here: https://bugzilla.redhat.com/show_bug.cgi?id=1671154

    I'm happy to hear you are looking at this from the container side. Please let me know how I can help.

  4. dsavineau commented on Jun 12, 2019

    @dsavineau
    Contributor

    That's a great news ! Thanks for the tracking Ken.

  5. added a commit that references this issue on Oct 10, 2019
    3571522
  6. added 2 commits that reference this issue on Oct 10, 2019
    c49e821
    282fb50
  7. added a commit that references this issue on Sep 2, 2026
    854cf34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions