vmware / cluster-api-provider-cloud-director

Cluster API Provider for VMware Cloud Director. The project is an open source implementation of K8s ClusterAPI project and allows customers to provision resources directly from VMware Cloud Director. It enables Cloud Director powered Clouds to be treated as yet-another-cloud in the multi-cloud journey for VMware Cloud Providers.
Apache License 2.0
38 stars 35 forks source link

csi-controller-crs command error with v.1.6.0 #650

Open izznogood opened 4 months ago

izznogood commented 4 months ago

Describe the bug

Hello,

with version 1.3.0 the cloud-director-named-disk-csi-driver does not work.

error :

Usage:
  /opt/vcloud/bin/cloud-director-named-disk-csi-driver [flags]

Flags:
      --cloud-config string   CSI driver cloud config
      --endpoint string       CSI endpoint
  -h, --help                  help for /opt/vcloud/bin/cloud-director-named-disk-csi-driver
      --nodeid string         node id
      --upgrade-rde           CSI upgrade rde
  -v, --version               version for /opt/vcloud/bin/cloud-director-named-disk-csi-driver

panic: error in executing command: [unknown flag: --v]

goroutine 1 [running]:
main.main()
        /build/mts/release/bora-23441257/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/cmd/csi/main.go:88 +0x285

the --v=5 option is no longer valid.

cf:

Reproduction steps

  1. Create CAPVCD cluster. v1.3.0
  2. Deploy VCD CSI.
  3. Create StorageClass. (with csi.cloud-director.vmware.com)

Expected behavior

Deploy VCD CSI whitout error. delete the option, to be able to deploy again :

Additional context

it seems that the csi templates aren't up to date either. we have other problems after deleting v=5 (e.g. mkdir: cannot create directory 'test': Permission denied)