Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-39089

Prometheus pods indicates that NFS is not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 4.20.0
    • 4.14, 4.15, 4.16, 4.19
    • Monitoring
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Moderate
    • None
    • None
    • MON Sprint 261, MON Sprint 263, MON Sprint 264, MON Sprint 265, MON Sprint 266, MON Sprint 267, MON Sprint 274
    • 7
    • -
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      If it's configured as backend storage for the prometheus pods a NFS filesystem, it's observed in the pod's logs the message that NFS is not supported:

      2024-08-20T07:00:12.816840310Z ts=2024-08-20T07:00:12.816Z caller=main.go:999 level=warn fs_type=NFS_SUPER_MAGIC msg="This filesystem is not supported and may lead to data corruption and data loss. Please carefully read https://prometheus.io/docs/prometheus/latest/storage/ to learn more about supported filesystems."
      

      But revieweing the OpenShift [Documentation](https://docs.openshift.com/container-platform/4.16/scalability_and_performance/optimization/optimizing-storage.html) indicates that Configurable, even when not Recommended and explaining that some NFS are not supported as not POSIX compliance, but other NFS implementations could be as they are POSIX Compliance.

      Then, the message observed in the Prometheus pods is contradictory with the observed in the Red Hat OpenShift Documentation.

      Version-Release number of selected component (if applicable):

      All current OpenShift 4 Versions

      How reproducible:

      Always

      Steps to Reproduce:

      1. Configure [persistent storage](https://docs.openshift.com/container-platform/4.16/observability/monitoring/configuring-the-monitoring-stack.html#configuring-persistent-storage_configuring-the-monitoring-stack) for the Prometheus pods using NFS as backend storage.

      Actual results:

      Review the Prometheus pod logs where indicated that NFS is not supported with the message:

      2024-08-20T07:00:12.816840310Z ts=2024-08-20T07:00:12.816Z caller=main.go:999 level=warn fs_type=NFS_SUPER_MAGIC msg="This filesystem is not supported and may lead to data corruption and data loss. Please carefully read https://prometheus.io/docs/prometheus/latest/storage/ to learn more about supported filesystems."
      

      Expected results:

      The message thrown by the Prometheus pods is consistent with the [OpenShift documentation](https://docs.openshift.com/container-platform/4.16/scalability_and_performance/optimization/optimizing-storage.html) where it's clearly indicated that some NFS solutions could be supported as they are POSIX Compliance.

              dmellado1@redhat.com Daniel Mellado Area
              rhn-support-ocasalsa Oscar Casal Sanchez
              None
              None
              Junqi Zhao Junqi Zhao
              Eliska Romanova Eliska Romanova
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: