dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
67 stars 15 forks source link

[QUESTION]:Is the kubernetes volume metrics (e.g. 'kubelet_volume_stats_used_bytes', 'kubelet_volume_stats_available_bytes') supported on a Unity 300 #1426

Closed byrnes8 closed 1 month ago

byrnes8 commented 1 month ago

How can the Team help you today?

• Customer is using Prometheus to manage the Array. • Red Hat case open already. • The Customer is trying to create a Persistent Volume Claim resource on OpenShift platform but are unable to see the disk usage of PVCs. Currently, the PVCs appear to be completely empty, showing no disk usage. They can see the total. They state there is actually data on those PVCs but they can't see how much. They want to see the occupancy rates of lun, pool and pvc areas in Emc Unity 300 on Redhat side.

Red Hat OpenShift Container Platform 4.14 Dell Container Storage Module Operator version 1.3.0. Using Dell Unity as an external storage via Dell CSI.


REDHAT Case open


“As we saw that the metrics in your cluster are not showing any details related to usage. We need to check from the storage vendor side if these metrics are getting exposed to Prometheus or not.

If the metrics are not exposed to Prometheus, then we will not be able to get the usage details”.


Prometheus Version


version 2.46.0

image


Main Query


• Does the CSI driver in question (csi-unity.dellemc.com) implement the CSI RPC NodeGetVolumeStats call necessary that returns this information? • REF | https://github.com/container-storage-interface/spec/blob/master/spec.md#nodegetvolumestats [github.com] • Is the kubernetes volume metrics (e.g. 'kubelet_volume_stats_used_bytes', 'kubelet_volume_stats_available_bytes') supported.


Internal DELL consult


https://dell.github.io/csm-docs/docs/observability/ >>>> as per this page Unity does not have Observability


Request


Just want to confirm if this is the case: Unity does not have Observability for : UNITY 300 The OE code for this is 5.1.0.0.5.394.

adarsh-dell commented 1 month ago

Hi @byrnes8 , Please find my analysis regarding your query:

  1. Capabilities Supported by CSI-Unity Driver:

    • GET_VOLUME_STATS: Yes! Supported. Link
    • VOLUME_CONDITION: Yes! Supported. Link
    • These capabilities are supported only when volume health monitoring is enabled. Check the logic here.
  2. Volume Health Monitoring:

image

  1. Implementation Details:
    • NodeGetVolumeStats Implementation: Link
    • Controller Side Health Tracking and Reporting: Link
    • Read more details here.

image

  1. Kubernetes Volume Metrics:

    • Regarding the support for Kubernetes volume metrics (e.g., 'kubelet_volume_stats_used_bytes', 'kubelet_volume_stats_available_bytes'), please refer to the struct returned in the response as per the standard: Link
  2. Observability support

    • This is a valid point, All above data that I have shared is wrt health monitoring feature with the help of health monitor sidecar so if user will enable this (vol health monitoring) feature then we will be able to see all these stats after describing the PVC resource. For Observability support, yes your finding is correct that we don't have this support for csi-unity driver.

image

Thanks, Adarsh

byrnes8 commented 1 month ago

Thank you Adarsh,

If possible can you keep this issue open, in case I have any queries on the above.

Thanks, Séamus

adarsh-dell commented 1 month ago

Sure.

Thank you Adarsh,

If possible can you keep this issue open, in case I have any queries on the above.

Thanks, Séamus

Sure

shanmydell commented 1 month ago

Hi @byrnes8 ,

As the query is answered, closing this ticket.

You can reopen this ticket if you have any further queries.

If you have new query, you can open a new ticket.

Thanks, Yamuna

byrnes8 commented 1 month ago

Thanks Adarsh,

Regards, Séamus Byrne Senior Engineer| ISG EMEA Support Services Dell Technologies| ISG Regional Storage Support @.**@.> Working hours: 08:30AM – 17:00 PM GMT+1, Monday-Friday Click here to contact Dell EMC Customer Support [dellemc.com]https://urldefense.com/v3/__https:/www.dellemc.com/resources/en-us/asset/technical-guides-support-information/solutions/h4165-csc-phonelist-ho.pdf__;!!LpKI!hEsi3NcpiIf781VqZGoDxjCFVrRl7TZhzgS5sX-LmOgUfumdWbESGD-9oNQkd2ulpg97WJJeb8xg4bqjNc-1fK1RexA$ Please consider the environment before printing this email.

Internal Use - Confidential

From: Adarsh Kumar Yadav @.> Sent: Tuesday, August 20, 2024 9:55 AM To: dell/csm @.> Cc: Byrne, Seamus @.>; Mention @.> Subject: Re: [dell/csm] [QUESTION]:Is the kubernetes volume metrics (e.g. 'kubelet_volume_stats_used_bytes', 'kubelet_volume_stats_available_bytes') supported on a Unity 300 (Issue #1426)

[EXTERNAL EMAIL]

Sure.

Thank you Adarsh,

If possible can you keep this issue open, in case I have any queries on the above.

Thanks, Séamus

Sure

— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/dell/csm/issues/1426*issuecomment-2298331396__;Iw!!LpKI!nPZ6THNT8wdXSy2_iJgN7m4F4-WdSoCHL9dM4Pif2KvUS7adRH1mOfv357A7W4tR5GSdUSprhoemvoAmg4kfYJP02A$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BKUCDHSKHACCWOBRNZCQKPTZSL76RAVCNFSM6AAAAABMXU4NVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGMZTCMZZGY__;!!LpKI!nPZ6THNT8wdXSy2_iJgN7m4F4-WdSoCHL9dM4Pif2KvUS7adRH1mOfv357A7W4tR5GSdUSprhoemvoAmg4l4b5VQVQ$. You are receiving this because you were mentioned.Message ID: @.**@.>>