Uploaded image for project: 'OpenStack as Infra'
  1. OpenStack as Infra
  2. OSASINFRA-3651

Migrate selective topology reporting to Cinder CSI driver

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • openshift-4.19
    • openshift-4.19
    • None
    • None

      We currently set the --feature-gates=Topology feature gate flag passed to csi-provisioner to True or False depending on whether the environment supports this.

      https://github.com/openshift/openstack-cinder-csi-driver-operator/blob/5ad2a84d8b53f80d49a5611830d93908353a050b/pkg/controllers/config/cloudinfo.go#L30-L63

      We should move this logic to the Cinder CSI Driver itself. One potential solution is to selectively report the feature flag based upon the same logic:

      https://github.com/kubernetes/cloud-provider-openstack/blob/b28f670ab042908238f42b7eeaa4551557c62847/pkg/csi/cinder/identityserver.go#L64-L70

      In this case, we should also provide a way to override this configuration via a configuration file or a CLI option.

              sfinucan@redhat.com Stephen Finucane
              sfinucan@redhat.com Stephen Finucane
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: