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

Fix e2e test for azurefile-csi storage class that uses ARO-managed storage account on OCP 4.11 #3226

Conversation

kimorris27
Copy link
Contributor

@kimorris27 kimorris27 commented Oct 20, 2023

Which issue this PR addresses:

https://issues.redhat.com/browse/ARO-4488

What this PR does / why we need it:

This is a follow-up PR on the hotfix because we had trouble getting the test working before the hotfix release. We want this test to work so we have continuous validation that our code can handle this situation properly.

Edit: I unfortunately found that the reason that the reason the test wasn't working in CI is because CI clusters are FIPS-enabled, and Azure File storage does not work on FIPS-enabled clusters. So the plan for this PR is changing from fixing the test -> leaving the test pending but leaving comments saying it should be enabled when/if FIPS becomes toggleable post-install.

If you look at the E2E run for commit 8e39971, you can see that the test passes with FIPS disabled (though the overall E2E result was a failure for some unrelated reason).

I also fixed an issue related to the way the test gets the permanent volume - it was using the wrong name.

Test plan for issue:

The PR is for a test 😋

Is there any documentation that needs to be updated for this PR?

No

@kimorris27
Copy link
Contributor Author

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kimorris27
Copy link
Contributor Author

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kimorris27 kimorris27 force-pushed the fix-e2e-test-for-default-azurefile-csi-storage-class branch 2 times, most recently from 386723a to a0d1108 Compare October 26, 2023 20:47
@kimorris27 kimorris27 force-pushed the fix-e2e-test-for-default-azurefile-csi-storage-class branch 2 times, most recently from b56e5d1 to 2c88a50 Compare October 27, 2023 16:37
@kimorris27 kimorris27 force-pushed the fix-e2e-test-for-default-azurefile-csi-storage-class branch from 2c88a50 to 65c23cf Compare October 27, 2023 18:31
Copy link
Collaborator

@cadenmarchese cadenmarchese left a comment

Choose a reason for hiding this comment

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

lgtm!

@cadenmarchese cadenmarchese merged commit f042c81 into Azure:master Nov 1, 2023
18 checks passed
ventifus pushed a commit to ventifus/ARO-RP that referenced this pull request Feb 7, 2024
…orage account on OCP 4.11 (Azure#3226)

* Fix PVC name in PVC status check
* Limit test scope and verify that test works if FIPS is disabled
* Mark test pending again, leave comment about it, and revert debugging
stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chainsaw Pull requests or issues owned by Team Chainsaw ready-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants