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

PWX-33087 : CsiWindowsDriver image is not populating is storagecluster desired images #1219

Merged
merged 7 commits into from
Aug 22, 2023

Conversation

nikita-bhatia
Copy link
Contributor

@nikita-bhatia nikita-bhatia commented Aug 18, 2023

This PR fixes : https://portworx.atlassian.net/browse/PWX-33087

  1. Changed manifest WindowsCsiDriver tag to match with px-installer tag here : https://github.com/portworx/px-installer/pull/1848
  2. Changed storagecluster CRD tag to keep it consistent

Bug fix :

  1. Corrected format of nodeaffinity on CSV
  2. Corrected toleration on windows pods from 'windows' to 'Windows'

Test :
Verified on k8s 1.25.8 cluster

Following is the status of STC :
status:
clusterName: px-clusters
desiredImages:
autopilot: portworx/autopilot:1.3.8
csiAttacher: docker.io/openstorage/csi-attacher:v1.2.1-1
csiLivenessProbe: registry.k8s.io/sig-storage/livenessprobe:v2.10.0
csiNodeDriverRegistrar: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0
csiProvisioner: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
csiResizer: registry.k8s.io/sig-storage/csi-resizer:v1.8.0
csiSnapshotController: registry.k8s.io/sig-storage/snapshot-controller:v6.2.2
csiSnapshotter: registry.k8s.io/sig-storage/csi-snapshotter:v6.2.2
csiWindowsDriver: docker.io/portworx/px-windows-csi-driver:v0.1
dynamicPlugin: portworx/portworx-dynamic-plugin:1.1.0
dynamicPluginProxy: nginxinc/nginx-unprivileged:1.23
prometheus: quay.io/prometheus/prometheus:v2.35.0
prometheusConfigReloader: quay.io/prometheus-operator/prometheus-config-reloader:v0.56.3
prometheusOperator: quay.io/prometheus-operator/prometheus-operator:v0.56.3
stork: openstorage/stork:23.7.0
phase: Initializing
storage: {}
version: f5a2c6e_d46fecd

@nikita-bhatia nikita-bhatia changed the title Windows bug fix PWX-33087 : CsiWindowsDriver image is not populating is storagecluster desired images Aug 18, 2023
@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9fe2e10) 80.09% compared to head (7793427) 80.09%.
Report is 2 commits behind head on px-rel-23.7.1.

Additional details and impacted files
@@              Coverage Diff               @@
##           px-rel-23.7.1    #1219   +/-   ##
==============================================
  Coverage          80.09%   80.09%           
==============================================
  Files                 59       59           
  Lines              16741    16742    +1     
==============================================
+ Hits               13408    13409    +1     
  Misses              2390     2390           
  Partials             943      943           
Files Changed Coverage Δ
drivers/storage/portworx/component/windows.go 80.98% <100.00%> (+0.13%) ⬆️
drivers/storage/portworx/manifest/manifest.go 91.03% <100.00%> (ø)
drivers/storage/portworx/portworx.go 85.74% <100.00%> (ø)
drivers/storage/portworx/util/csi_generator.go 100.00% <100.00%> (ø)
drivers/storage/portworx/util/util.go 84.91% <100.00%> (ø)
pkg/migration/generate.go 88.83% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nikita-bhatia nikita-bhatia merged commit 3e81379 into px-rel-23.7.1 Aug 22, 2023
5 checks passed
@nikita-bhatia nikita-bhatia deleted the windows_bug_fix branch August 22, 2023 05:42
nikita-bhatia added a commit that referenced this pull request Aug 22, 2023
…r desired images (#1219)

* Update yaml tag for csiWindowsDriver to match with spec generator

* update csiWindowsDriver tag in storagecluster crd

* correct nodeaffinity format

* rename toleration from windows to Windows

* build fix
nikita-bhatia added a commit that referenced this pull request Aug 24, 2023
* PWX-31562 : Operator's Windows support (#1211)

* Add windows operator support

* update daemonset labels

* Replace nodeselecter with nodeaffinity

* Add tests

* add nodeselector for stork and stork-scheduler

* remove nodeaffinity from components

* add nodeselector as linux in storagecluster

* address review comments

* address review comments

* address review comments

* update windows specific affinity and tolerations

* add px-installer daemonset for windows

* fix failing tests

* fix failing tests

* remove fmt logs

* set default csi-installer image for windows

* fix failing test

* fix review comments

* fix failing test

* rename px driver and node-win daemonset file names

* remove fmt logs

* rename px-csi-node-win-shared daemonset to px-csi-node-win

* PWX-33085, PWX-33086 : Add linux nodeaffinity for operator  (#1216)

* Add linux nodeaffinity for operator

* enable windows component only if k8s version is greater or equal to 1.25

* update linux as os in nodeaffinity

* update linux as os in nodeaffinity

* PWX-33087 : CsiWindowsDriver image is not populating is storagecluster desired images (#1219)

* Update yaml tag for csiWindowsDriver to match with spec generator

* update csiWindowsDriver tag in storagecluster crd

* correct nodeaffinity format

* rename toleration from windows to Windows

* build fix

* Add nodeaffinity to operator 23.7.0

---------

Co-authored-by: Piyush Nimbalkar <pnimbalkar@purestorage.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants