Tendrl / gluster-integration

Extracts all data from a Gluster cluster for consumption by Tendrl
GNU Lesser General Public License v2.1
6 stars 20 forks source link

Dont set cluster.profiling_enabled_state if volume.profiling_enabled flag values are Unknown #636

Closed shtripat closed 6 years ago

shtripat commented 6 years ago

This happens if get-state from gluster doesn't report volume specific profiling enabled value. In this case volume level values for profiling_enabled flag would be set as Unknown and so at cluster level we should not set the value of cluster.profiling_enabled_state. Later if user enables/disables profiling from UI the respective value should be set for cluster volume still would report as Unknown because get-state doesnt support the details.

This whole thing is required only for a glusterfs version which doesn't report profiling information at individual volume level.

shtripat commented 6 years ago

Closing as required PR is merged