Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: CSM Operator offline install powerflex csi driver sidecar trying to pull from registry.k8s.io #1094

Closed
anurajpd opened this issue Jan 8, 2024 · 4 comments
Assignees
Labels
area/csm-operator type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@anurajpd
Copy link

anurajpd commented Jan 8, 2024

Bug Description

CSM Operator offline install powerflex csi driver sidecar trying to pull from registry.k8s.io

Logs

Below is the list of images from the powerflex csi driver controller pod

[anuraj@adm01 data]$ oc get pod powerflex-controller-7dd74965d5-s6ncm -n dell-csm-powerflex -oyaml | grep -i image:
image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2
image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2
image: harbor01.vdi.xtremio/dell-csm-operator/csi-vxflexos:v2.9.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.4.2
image: harbor01.vdi.xtremio/dell-csm-operator/csi-vxflexos:v2.9.0
image: registry.k8s.io/sig-storage/csi-provisioner:v3.6.2
image: registry.k8s.io/sig-storage/csi-resizer:v1.9.2
image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.2

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

deploy the csm operator offline and try to create csm for powerflex

Expected Behavior

csi driver side car images should be pulled from local registry.cd csm

CSM Driver(s)

csm powerflex v290

Installation Type

Operator v1.4.0

Container Storage Modules Enabled

No response

Container Orchestrator

Openshift 4.14.6

Operating System

CoreOS

@anurajpd anurajpd added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Jan 8, 2024
@shanmydell
Copy link
Collaborator

@adarsh-dell : Please look into this issue

@AkshaySainiDell
Copy link
Contributor

Looking into it.

@AkshaySainiDell
Copy link
Contributor

It looks like the images of sideCars are currently missing in the sample yamls. As a consequence, the csm-operator is pulling them from registry.k8s.io.
To address this, we recommend implementing a workaround: manually update the images of sideCars in storage_csm_powerflex_v290.yaml file before proceeding with the driver installation.

    sideCars:
    # 'k8s' represents a string prepended to each volume created by the CSI driver
      - name: provisioner
        image: <localregistry>/csi-provisioner:v3.6.2                                                                                                                                                                                  
        args: ["--volume-name-prefix=k8s"]
      - name: attacher                                                                                                                                                                                                                                                      
        image: <localregistry>/csi-attacher:v4.4.2                                                                                                                                                                                     
      - name: registrar                                                                                                                                                                                                                                                     
        image: <localregistry>/csi-node-driver-registrar:v2.9.1                                                                                                                                                                        
      - name: resizer                                                                                                                                                                                                                                                       
        image: <localregistry>/csi-resizer:v1.9.2                                                                                                                                                                                      
      - name: snapshotter                                                                                                                                                                                                                                                   
        image: <localregistry>/csi-snapshotter:v6.3.2

    # sdc-monitor is disabled by default, due to high CPU usage
      - name: sdc-monitor
        enabled: false
        image: <localregistry>/sdc:4.5
        envs:
        - name: HOST_PID
          value: "1"
        - name: MDM
          value: "10.xx.xx.xx,10.xx.xx.xx" #do not add mdm value here if it is present in secret

    # health monitor is disabled by default, refer to driver documentation before enabling it
    # Also set the env variable controller.envs.X_CSI_HEALTH_MONITOR_ENABLED  to "true".
      - name: csi-external-health-monitor-controller
        enabled: false
        image: <localregistry>/csi-external-health-monitor-controller:v0.10.0
        args: ["--monitor-interval=60s"]

@AkshaySainiDell AkshaySainiDell removed the needs-triage Issue requires triage. label Jan 9, 2024
@AkshaySainiDell
Copy link
Contributor

link: 20196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csm-operator type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

6 participants