Skip to content

Commit

Permalink
Release 1.10.1 (#1055)
Browse files Browse the repository at this point in the history
* Add notes about non-default namespace for Authorization and Operator (#1047)

Co-authored-by: Aaron Tye <[email protected]>

* Adding known issue for authorization for previous releases (#1052)

* Update Docs for PowerFlex issue 1210 (#1053)

* installation wizard changes (#1056)

---------

Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: Aaron Tye <[email protected]>
Co-authored-by: Surya Gupta <[email protected]>
  • Loading branch information
4 people authored Apr 4, 2024
1 parent 300b9e6 commit 9b596fb
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ enable = false
# icon = "fa fa-envelope"
# desc = "Discuss development issues around the project"
[[params.versions]]
version = "Current(v1.10.0)"
version = "Current(v1.10.1)"
url = "https://dell.github.io/csm-docs/docs/"

[[params.versions]]
Expand Down
3 changes: 3 additions & 0 deletions content/docs/csidriver/release/powerflex.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ description: Release notes for PowerFlex CSI driver
- [#1140 - [BUG]: Cert-csi tests are not reporting the passed testcases in K8S E2E tests ](https://github.com/dell/csm/issues/1140)
- [#1163 - [BUG]: Resource quota bypass](https://github.com/dell/csm/issues/1163)
- [#1174 - [BUG]: Kubelet Configuration Directory setting should not have a comment about default value being None](https://github.com/dell/csm/issues/1174)
- [#1210 - [BUG]: Helm deployment of PowerFlex driver is failing](https://github.com/dell/csm/issues/1210)

### Known Issues

Expand All @@ -39,6 +40,8 @@ A CSI ephemeral pod may not get created in OpenShift 4.13 and fail with the erro
| Resource quotas may not work properly with the CSI PowerFlex driver. PowerFlex is only able to assign storage in 8Gi chunks, so if a create volume call is made with a size not divisible by 8Gi, CSI-PowerFlex will round up to the next 8Gi boundary when it provisions storage -- however, the resource quota will not record this size but rather the original size in the create request. This means that, for example, if a 10Gi resource quota is set, and a user provisions 10 1Gi PVCs, 80Gi of storage will actually be allocated, which is well over the amount specified in the resource quota. | For now, users should only provision volumes in 8Gi-divisible chunks if they want to use resource quotas. |
| Helm install of CSM for PowerFlex v1.10.0 is failing due to a duplicate `mountPath: /host_opt_emc_path` being added to volumeMounts charts/csi-vxflexos/templates/node.yaml. Error message is `Error: INSTALLATION FAILED: 1 error occurred: DaemonSet.apps "vxflexos-node" is invalid: spec.template.spec.initContainers[0].volumeMounts[4].mountPath: Invalid value: "/host_opt_emc_path": must be unique` | The issue can be resolved by removing the duplicate entry in [https://github.com/dell/helm-charts/blob/main/charts/csi-vxflexos/templates/node.yaml](https://github.com/dell/helm-charts/blob/main/charts/csi-vxflexos/templates/node.yaml) |


### Note:

- Support for Kubernetes alpha features like Volume Health Monitoring and RWOP (ReadWriteOncePod) access mode will not be available in Openshift environment as Openshift doesn't support enabling of alpha features for Production Grade clusters.
- For fixing [#1210 - [BUG]: Helm deployment of PowerFlex driver is failing](https://github.com/dell/csm/issues/1210), a new helm-chart has been released. In order to install this helm chart, we need to pass the flag `--helm-charts-version` during helm installation and flag `-v` during offline bundle installation with value `csi-vxflexos-2.10.1`.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
csmVersion=1.10.0
csmVersion=1.10.1
imageRepository=dellemc
controllerCount=1
nodeSelectorLabel=node-role.kubernetes.io/control-plane:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<option value="1.7.0">CSM 1.7</option>
<option value="1.8.0">CSM 1.8</option>
<option value="1.9.3">CSM 1.9</option>
<option value="1.10.0" selected>CSM 1.10</option>
<option value="1.10.1" selected>CSM 1.10.1</option>
</select>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const CONSTANTS = {
CSM_HELM_V170: "1.0.0",
CSM_HELM_V180: "1.1.0",
CSM_HELM_V190: "1.2.1",
CSM_HELM_V1100: "1.3.0",
CSM_HELM_V1101: "1.3.1",
HELM_TAINTS: `
- key: "$KEY"
operator: "Exists"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,11 @@ function displayCommands(releaseNameValue, commandTitleValue, commandNoteValue,
case "1.9.3":
helmChartVersion = CONSTANTS.CSM_HELM_V193;
break;
case "1.10.0":
helmChartVersion = CONSTANTS.CSM_HELM_V1100;
case "1.10.1":
helmChartVersion = CONSTANTS.CSM_HELM_V1101;
break;
default:
helmChartVersion = CONSTANTS.CSM_HELM_V1100;
helmChartVersion = CONSTANTS.CSM_HELM_V1101;
break;
}
$("#command-text-area").show();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea
| enabled | Enable/Disable deployment of cert-manager. Set to false if you already have cert-manager installed. | No | true |

>__Note__:
> - If you specify `REDIS_STORAGE_CLASS`, the storage class must NOT be provisioned by the Dell CSI Driver to be configured with this installation of CSM Authorization.
> - If you specify `REDIS_STORAGE_CLASS`, the storage class must NOT be provisioned by the Dell CSI Driver to be configured with this installation of CSM Authorization.

**Optional:**
To enable reporting of trace data with [Zipkin](https://zipkin.io/), use the `csm-config-params` configMap in the sample CR or dynamically by editing the configMap.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,11 @@ Use the below command to replace or update the secret:
| skipCertificateValidation | A boolean that enables/disables certificate validation of the csm-authorization proxy server. | No | true |


10. Install the driver using `csi-install.sh` bash script by running `cd dell-csi-helm-installer && ./csi-install.sh --namespace vxflexos --values myvalues.yaml`. You may modify the release name with the `--release` arg. If arg is not provided, release will be named `vxflexos` by default.
10. Install the driver using `csi-install.sh` bash script by running `cd dell-csi-helm-installer && ./csi-install.sh --namespace vxflexos --values myvalues.yaml --helm-charts-version csi-vxflexos-2.10.1`. You may modify the release name with the `--release` arg. If arg is not provided, release will be named `vxflexos` by default.
Alternatively, to do a helm install solely with Helm charts (without shell scripts), refer to `helm/README.md`.

*NOTE:*
- If you do not specify the `--helm-charts-version` flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerflex/blob/main/dell-csi-helm-installer/csi-install.sh#L24) file. If you wish to install the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerflex` directory if it was cloned before.
- For detailed instructions on how to run the install scripts, refer to the README.md in the dell-csi-helm-installer folder.
- Install script will validate MDM IP(s) in `vxflexos-config` secret and creates a new field consumed by the init container and sdc-monitor container
- This install script also runs the `verify.sh` script. You will be prompted to enter the credentials for each of the Kubernetes nodes.
Expand Down
7 changes: 4 additions & 3 deletions content/docs/deployment/helm/drivers/upgrade/powerflex.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,24 @@ Description: Upgrade PowerFlex CSI driver

You can upgrade the CSI Driver for Dell PowerFlex using Helm or Dell CSM Operator.

## Update Driver from v2.9.0 to v2.10.0 using Helm
## Update Driver from v2.9.2 to v2.10.0 using Helm
**Steps**
1. Run `git clone -b v2.10.0 https://github.com/dell/csi-powerflex.git` to clone the git repository and get the v2.10.0 driver.
2. You need to create secret.yaml with the configuration of your system.
3. Update myvalues file as needed.
4. Run the `csi-install` script with the option _\-\-upgrade_ by running:
```bash

cd ../dell-csi-helm-installer && ./csi-install.sh --namespace vxflexos --values ./myvalues.yaml --upgrade
cd ../dell-csi-helm-installer && ./csi-install.sh --namespace vxflexos --values ./myvalues.yaml --helm-charts-version csi-vxflexos-2.10.1 --upgrade
```

*NOTE:*
- If you do not specify the `--helm-charts-version` flag, by default the `csi-install.sh` script will clone the version of the helm chart that is specified in the driver's [csi-install.sh](https://github.com/dell/csi-powerflex/blob/main/dell-csi-helm-installer/csi-install.sh#L24) file. If you wish to upgrade the driver using a different version of the helm chart, you need to include this flag. Also, remember to delete the `helm-charts` repository present in the `csi-powerflex` directory if it was cloned before.
- If you are upgrading from a driver version that was installed using Helm v2, ensure that you install Helm3 before installing the driver.
- To update any installation parameter after the driver has been installed, change the `myvalues.yaml` file and run the install script with the option _\-\-upgrade_, for example:
```bash

./csi-install.sh --namespace vxflexos --values ./myvalues.yaml --upgrade
./csi-install.sh --namespace vxflexos --values ./myvalues.yaml --helm-charts-version csi-vxflexos-2.10.1 --upgrade
```
- The logging configuration from v1.5 will not work in v2.1, since the log configuration parameters are now set in the myvalues.yaml file located at dell-csi-helm-installer/myvalues.yaml. Please set the logging configuration parameters in the myvalues.yaml file.

Expand Down

0 comments on commit 9b596fb

Please sign in to comment.