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

Merge in 1.4.2 fixes - verified #483

Merged
merged 5 commits into from
Feb 20, 2024
Merged

Merge in 1.4.2 fixes - verified #483

merged 5 commits into from
Feb 20, 2024

Conversation

JacobGros
Copy link
Contributor

@JacobGros JacobGros commented Feb 20, 2024

  • Verified merge fixed release v1.4.2 (Verified merge fixed release v1.4.2 #479)

  • Add permissions for SC removal. (Add permissions for SC removal. #431)

  • Bump_up_csm-operator_version_to_1.4.1 (Bump up csm-operator version to v1.4.1 #434)

  • Patch version support (Patch version support #433)

  • Adding support of v2.9.1 for Pmax, Pscale, PFlex and unity

  • Updating module config version for Pmax, Pscale, PFlex and unity

  • Update storage_csm_powerflex.yaml

  • version changed to 2.9.1

  • version changed to 2.9.1

  • Enabling github actions for all branch

  • updated version to 2.9.1 for unity, powerflex, powerscale and powermax

  • Adding the support of PStore v2.9.1

  • Adding the support of PFlex v2.9.1

  • Version bumpup replication 1.7.1

  • Bump up version for authorization, resiliency

  • update csi-metadata-retriever version to 1.6.1

  • update reverseproxy version to 2.8.1




  • Fix for controller race, daemon status, and obs namespace (Fix for controller race, daemon status, and obs namespace  #464)

  • test controller state calc

  • add debug logs

  • check for driver

  • add daemonnset update

  • adds ns fix for when pod ns dis not csm ns

  • add ns check for daemon and deployment as well

  • fix typo

  • fix typo

  • explicitly return nil

  • add missing replace statements


  • Auth proxy status fix (Auth proxy status fix #465)

  • actions

  • working on auth proxy status check

  • finished status check

  • fix 1

  • fix or

  • code compiles

  • keep auth proxy out of daemonset check

  • trying to figure out deployment name

  • formatting

  • fix auth name in if condition

  • no daemonset

  • fix

  • added log statements

  • added another log statement

  • fix log statement

  • logs logs logs

  • compile

  • more logs

  • add logs and try updating status from handlesuccess

  • remove UpdateStatus call for now

  • adding csm label to auth

  • remove extraneous string replacement

  • removing commented code

  • Update actions.yml

  • fix merge issue

  • fix fmt

  • fix pscale + obs issue (fix pscale + obs issue  #467)

  • fix some issues

  • fiix label issue, add debug logs

  • add more debug

  • more debugg lines

  • fix pscale issue

  • remmove debug logs

  • gofmt

  • set available to 0 en deployment is not checked

  • fix if check



  • PR feedback

Description

A few sentences describing the overall goals of the pull request's commits.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1146

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Ran E2e
  • Ran Unit

* Verified merge fixed release v1.4.2 (#479)

* Add permissions for SC removal. (#431)

* Bump_up_csm-operator_version_to_1.4.1 (#434)

* Patch version support (#433)

* Adding support of v2.9.1 for Pmax, Pscale, PFlex and unity

* Updating module config version for Pmax, Pscale, PFlex and unity

* Update storage_csm_powerflex.yaml

* version changed to 2.9.1

* version changed to 2.9.1

* Enabling github actions for all branch

* updated version to 2.9.1 for unity, powerflex, powerscale and powermax

* Adding the support of PStore v2.9.1

* Adding the support of PFlex v2.9.1

* Version bumpup replication 1.7.1

* Bump up version for authorization, resiliency

* update csi-metadata-retriever version to 1.6.1

* update reverseproxy version to 2.8.1

---------

Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>

* Change namespace name to match documentation. (#437)

* go-yaml version update (#438)

* go-yaml version update

* update go-yaml package to latest

* remove extra verbs

* remove duplicate verbs and add correct test files for resiliency UT

---------

Co-authored-by: Shayna Finocchiaro <[email protected]>

* [bug-1120]: Update Authorization sidecar to use insecure flag (#442)

* fix auth cert

* remove constant

* remove duplicate verbs

* reverting #426 changes (#444)

* Update final manifests for posting of Operator 1.4.1 (#445)

* KRV-20573/csm status (#446)

* add module status

* Adding CSM Module status

* Addressing the comments for PR

* Making code reusable

* Fix formatting issue

* Resolving gosec issue

* Final manifest update and apex client (#447)

* Add csm watch permissions. (#448)

* Merged CSM Module Status

* Fix App-Mob node error (#457)

Co-authored-by: abhi16394 <[email protected]>

* Bump up CSM Operator version to 1.4.2 (#458)

* update csm operator version to 1.4.2

* bump-up-op-version-1.4.2

* updated version in operator.yaml

* adding missing arg to fix e2e

* update authorization e2e (#459)

* skip cert validation in e2e (#460)

* Fixing FSGroupPolicy issue (#463)

* Fixing FSGroupPolicy issue

* Add unit test

---------

Co-authored-by: Akshay Saini <[email protected]>

* Fix for controller race, daemon status, and obs namespace  (#464)

* test controller state calc

* add debug logs

* check for driver

* add daemonnset update

* adds ns fix for when pod ns dis not csm ns

* add ns check for daemon and deployment as well

* fix typo

* fix typo

* explicitly return nil

* add missing replace statements

---------

Co-authored-by: grosnj1 <[email protected]>

* Auth proxy status fix (#465)

* actions

* working on auth proxy status check

* finished status check

* fix 1

* fix or

* code compiles

* keep auth proxy out of daemonset check

* trying to figure out deployment name

* formatting

* fix auth name in if condition

* no daemonset

* fix

* added log statements

* added another log statement

* fix log statement

* logs logs logs

* compile

* more logs

* add logs and try updating status from handlesuccess

* remove UpdateStatus call for now

* adding csm label to auth

* remove extraneous string replacement

* removing commented code

* Update actions.yml

* fix merge issue

* fix fmt

* fix pscale + obs issue  (#467)

* fix some issues

* fiix label issue, add debug logs

* add more debug

* more  debugg lines

* fix pscale issue

* remmove debug logs

* gofmt

* set available to 0 en deployment is not checked

* fix if check

---------

Co-authored-by: grosnj1 <[email protected]>

* update final manifests (#468)

* fix vetting issues (#477)

Co-authored-by: grosnj1 <[email protected]>

---------

Co-authored-by: Don Khan <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: Adarsh Kumar Yadav <[email protected]>
Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: Shayna Finocchiaro <[email protected]>
Co-authored-by: Aaron Tye <[email protected]>
Co-authored-by: Rishabh Raj <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Chiman Jain <[email protected]>
Co-authored-by: Jooseppi Luna <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: grosnj1 <[email protected]>

* PR feedback

---------

Co-authored-by: Don Khan <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: Adarsh Kumar Yadav <[email protected]>
Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: Shayna Finocchiaro <[email protected]>
Co-authored-by: Aaron Tye <[email protected]>
Co-authored-by: Rishabh Raj <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Chiman Jain <[email protected]>
Co-authored-by: Jooseppi Luna <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: grosnj1 <[email protected]>
jooseppi-luna
jooseppi-luna previously approved these changes Feb 20, 2024
Copy link
Contributor

@jooseppi-luna jooseppi-luna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as an update, ran all PFlex E2E tests and only failed on one of the last app mobility scenarios because a docker image pull of an artifactory image was acting up (not operator related at all). Did find a weird edge case with PowerScale where the controller failed due to the csi-metadata-retriver v1.7.0 image not existing yet, but the csm status was marked as successful. I don't think this is a regression being introduced in this PR, so I will approve the PR.

[root@master-1-Zaglt7mQUY8Wg observability]# kubectl get pods -n isilon
NAME                                 READY   STATUS    RESTARTS       AGE
isilon-controller-67c5c64b86-bptxg   1/6     Error     12 (14s ago)   2m52s
isilon-node-2h9bt                    2/2     Running   0              2m52s
isilon-node-mtdmd                    2/2     Running   0              2m52s
[root@master-1-Zaglt7mQUY8Wg observability]# kubectl get csm -A
NAMESPACE   NAME     CREATIONTIME   CSIDRIVERTYPE   CONFIGVERSION   STATE
isilon      isilon   2m55s          isilon          v2.10.0         Succeeded
[root@master-1-Zaglt7mQUY8Wg observability]#

valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes should be reverted. As it was a fix raised in PR. Please follow the same for other node.yaml files for powerflex (v2.7.0, v2.9.0 and testfiles)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@panigs7 will do I will revert these now

@@ -3520,7 +3520,7 @@ spec:
name: Dell Technologies
url: https://github.com/dell/csm-operator
relatedImages:
- image: docker.io/dellemc/dell-csm-operator:v1.4.1
- image: docker.io/dellemc/dell-csm-operator:v1.4.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version should be 1.5.0

Copy link
Contributor

@jooseppi-luna jooseppi-luna Feb 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@panigs7 why is it 1.4.1 in main? When/how does this get updated? There's a lot of outdated driver versions and stuff in there as well. I don't think this is an issue for this PR to solve. We will revert to 1.4.1 as it currently is in main.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@panigs7 undid these changes, please re-review

- dell-csm-operator.v1.4.0
version: 1.4.1
- dell-csm-operator.v1.4.0
version: 1.4.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 1.5.0 instead of 1.4.2

@@ -767,6 +844,14 @@ func observabilityStatusCheck(ctx context.Context, instance *csmv1.ContainerStor
metricsRunning := false
topologyRunning := false

driverName := instance.Spec.Driver.CSIDriverType

// TODO: PowerScale DriverType should be changed from "isilon" to "powerscale"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove TODO

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? It is a current TODO

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aren't suppose to have TODO in checkin code

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm ok didn't realize that -- where is the documentation on that, or is it just an assumed standard? How do we document something like this that we are planning on fixing in an upcoming release?

@JacobGros JacobGros merged commit 2902cb3 into main Feb 20, 2024
8 checks passed
@alikdell alikdell deleted the test-142-branch branch February 21, 2024 00:22
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* Test branch (#482)

* Verified merge fixed release v1.4.2 (#479)

* Add permissions for SC removal. (#431)

* Bump_up_csm-operator_version_to_1.4.1 (#434)

* Patch version support (#433)

* Adding support of v2.9.1 for Pmax, Pscale, PFlex and unity

* Updating module config version for Pmax, Pscale, PFlex and unity

* Update storage_csm_powerflex.yaml

* version changed to 2.9.1

* version changed to 2.9.1

* Enabling github actions for all branch

* updated version to 2.9.1 for unity, powerflex, powerscale and powermax

* Adding the support of PStore v2.9.1

* Adding the support of PFlex v2.9.1

* Version bumpup replication 1.7.1

* Bump up version for authorization, resiliency

* update csi-metadata-retriever version to 1.6.1

* update reverseproxy version to 2.8.1

---------

Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>

* Change namespace name to match documentation. (#437)

* go-yaml version update (#438)

* go-yaml version update

* update go-yaml package to latest

* remove extra verbs

* remove duplicate verbs and add correct test files for resiliency UT

---------

Co-authored-by: Shayna Finocchiaro <[email protected]>

* [bug-1120]: Update Authorization sidecar to use insecure flag (#442)

* fix auth cert

* remove constant

* remove duplicate verbs

* reverting #426 changes (#444)

* Update final manifests for posting of Operator 1.4.1 (#445)

* KRV-20573/csm status (#446)

* add module status

* Adding CSM Module status

* Addressing the comments for PR

* Making code reusable

* Fix formatting issue

* Resolving gosec issue

* Final manifest update and apex client (#447)

* Add csm watch permissions. (#448)

* Merged CSM Module Status

* Fix App-Mob node error (#457)

Co-authored-by: abhi16394 <[email protected]>

* Bump up CSM Operator version to 1.4.2 (#458)

* update csm operator version to 1.4.2

* bump-up-op-version-1.4.2

* updated version in operator.yaml

* adding missing arg to fix e2e

* update authorization e2e (#459)

* skip cert validation in e2e (#460)

* Fixing FSGroupPolicy issue (#463)

* Fixing FSGroupPolicy issue

* Add unit test

---------

Co-authored-by: Akshay Saini <[email protected]>

* Fix for controller race, daemon status, and obs namespace  (#464)

* test controller state calc

* add debug logs

* check for driver

* add daemonnset update

* adds ns fix for when pod ns dis not csm ns

* add ns check for daemon and deployment as well

* fix typo

* fix typo

* explicitly return nil

* add missing replace statements

---------

Co-authored-by: grosnj1 <[email protected]>

* Auth proxy status fix (#465)

* actions

* working on auth proxy status check

* finished status check

* fix 1

* fix or

* code compiles

* keep auth proxy out of daemonset check

* trying to figure out deployment name

* formatting

* fix auth name in if condition

* no daemonset

* fix

* added log statements

* added another log statement

* fix log statement

* logs logs logs

* compile

* more logs

* add logs and try updating status from handlesuccess

* remove UpdateStatus call for now

* adding csm label to auth

* remove extraneous string replacement

* removing commented code

* Update actions.yml

* fix merge issue

* fix fmt

* fix pscale + obs issue  (#467)

* fix some issues

* fiix label issue, add debug logs

* add more debug

* more  debugg lines

* fix pscale issue

* remmove debug logs

* gofmt

* set available to 0 en deployment is not checked

* fix if check

---------

Co-authored-by: grosnj1 <[email protected]>

* update final manifests (#468)

* fix vetting issues (#477)

Co-authored-by: grosnj1 <[email protected]>

---------

Co-authored-by: Don Khan <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: Adarsh Kumar Yadav <[email protected]>
Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: Shayna Finocchiaro <[email protected]>
Co-authored-by: Aaron Tye <[email protected]>
Co-authored-by: Rishabh Raj <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Chiman Jain <[email protected]>
Co-authored-by: Jooseppi Luna <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: grosnj1 <[email protected]>

* PR feedback

---------

Co-authored-by: Don Khan <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: Adarsh Kumar Yadav <[email protected]>
Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: Shayna Finocchiaro <[email protected]>
Co-authored-by: Aaron Tye <[email protected]>
Co-authored-by: Rishabh Raj <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Chiman Jain <[email protected]>
Co-authored-by: Jooseppi Luna <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: grosnj1 <[email protected]>

* add KUBE_NODE_NAME back in

* add KUBE_NODE_NAME back in

* add KUBE_NODE_NAME back into tests

* Update dell-csm-operator.clusterserviceversion.yaml

---------

Co-authored-by: Don Khan <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: Adarsh Kumar Yadav <[email protected]>
Co-authored-by: KshitijaKakde <[email protected]>
Co-authored-by: Kshitija Kakde <[email protected]>
Co-authored-by: HarishH-DELL <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: Shayna Finocchiaro <[email protected]>
Co-authored-by: Aaron Tye <[email protected]>
Co-authored-by: Rishabh Raj <[email protected]>
Co-authored-by: panigs7 <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Chiman Jain <[email protected]>
Co-authored-by: Jooseppi Luna <[email protected]>
Co-authored-by: abhi16394 <[email protected]>
Co-authored-by: Akshay Saini <[email protected]>
Co-authored-by: grosnj1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants