Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1836107

Summary: [manila-csi-driver-operator] Support define LogLevel, Managementstate, and operatorLogLevel when install manila csi driver with operator from webconsole
Product: OpenShift Container Platform Reporter: Qin Ping <piqin>
Component: StorageAssignee: Mike Fedosin <mfedosin>
Storage sub component: Operators QA Contact: Qin Ping <piqin>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, egarcia, fbertina, jsafrane, wduan
Version: 4.5   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 15:59:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Create CSI Driver none

Description Qin Ping 2020-05-15 08:01:18 UTC
Description of problem:
Install manila csi driver from web console, only "Name" and "Labels" can be set. Hope "LogLevel", "Managementstate", and "operatorLogLevel" can be set too as the picture in the attachment.

Version-Release number of selected component (if applicable):
$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-05-13-030007   True        False         22h     Cluster version is 4.5.0-0.nightly-2020-05-13-030007

Operator Version: 0.0.1

How reproducible:
always

Steps to Reproduce:
1. Install manila csi driver operator from the web console
2. Create a ManilaCSI instance to deploy driver by Operators->Installed Operators->CSI Driver Manila Operator->Operator Details->Create Instance

Actual results:
There are only "Name" and "labels" can be set here.


Expected results:
Can set "LogLevel", "Managementstate", and "operatorLogLevel" to as the picture in the attachment.

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Qin Ping 2020-05-15 08:02:21 UTC
Created attachment 1688805 [details]
Create CSI Driver

Comment 2 Jan Safranek 2020-05-15 08:37:17 UTC
Manila operator does not allow such setting yet.

This should get fixed when manila moves to csi operator lib that we plan for 4.6.

Comment 3 Jan Safranek 2020-07-31 10:23:21 UTC
This has been fixed by reworking it to library-go and ClusterCSIDriver CRD.

Comment 6 Qin Ping 2020-08-07 08:42:59 UTC
Now we can config all of these by clustercsidriver, so I'll mark this as verified.
$ oc get clustercsidrivers manila.csi.openstack.org -ojson|jq .spec
{
  "driverConfig": {
    "driverName": "manila.csi.openstack.org"
  },
  "logLevel": "Normal",
  "managementState": "Managed",
  "observedConfig": null,
  "operatorLogLevel": "Normal",
  "unsupportedConfigOverrides": null
}

Verified with: 4.6.0-0.nightly-2020-08-06-225752

Comment 8 errata-xmlrpc 2020-10-27 15:59:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196