lvm-localpv icon indicating copy to clipboard operation
lvm-localpv copied to clipboard

lvm-localpv lvmPlugin does not support loglevel

Open ferhatguneri opened this issue 1 year ago • 1 comments

openebs-lvm-plugin container does not support loglevel.

What did you expect to happen: openebs-lvm-localpv-controller and openebs-lvm-localpv-node does support and loglevel can be defined for them but sidecar container of controller which is openebs-lvm-plugin does not support --v=3 parameter.

Log Level can be configured for lvmNode and lvmController https://github.com/openebs/lvm-localpv/blob/develop/deploy/helm/charts/values.yaml#L56 https://github.com/openebs/lvm-localpv/blob/develop/deploy/helm/charts/values.yaml#L73

But it cannot be configured for lvmPlugin. and I tried to pass --v=3 to the sidecard container just like the others but, it crashed the container. https://github.com/openebs/lvm-localpv/blob/develop/deploy/helm/charts/values.yaml#L145

Environment:

  • openebs helm chart version 3.10.0
  • v1.27.8
  • Linux

ferhatguneri avatar May 07 '24 15:05 ferhatguneri

Further investigation is needed, scoped for v4.3.

avishnu avatar Sep 19 '24 11:09 avishnu

Hi @ferhatguneri, just noticed this one. lvmPlugin is not an individual component (different from the lvmController and the lvmNode). The components lvmController and lvmNode use the same container image. The lvmPlugin bit carries the configuration for the options which are native to the container image (which is the same for the two components lvmController and lvmNode). You'd get logLevel 3 for all of the components if you set the value for the lvmController and the lvmNode.

niladrih avatar Feb 06 '25 10:02 niladrih

Closing this issue, it seems like more familiar with the helm chart options should fix this.

niladrih avatar Mar 20 '25 09:03 niladrih