-
Notifications
You must be signed in to change notification settings - Fork 191
Validate version before running static validation #4470
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
base: master
Are you sure you want to change the base?
Conversation
* static validation depends on cluster version * if unset, static validation can't complete * and results in a SKU invalid error.
7397493 to
b811eea
Compare
c330374 to
bc4cd90
Compare
|
In E2E test, when FE starts and cluster creation is done immediately, we reach the validateInsallVersion before OCP versions are initialized. This was not an issue before as validation was done after ValidateNewCluster which takes few seconds, but now we need to do it before and so we need to make sure OCP versions are already initialized. |
255cc9c to
66fd098
Compare
|
The current fix has been tested in local dev and E2E and it is working and fixing the issue in local dev. |
mociarain
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left a question that's not blocking
Which issue this PR addresses:
Fixes #itn-2025-00300
What this PR does / why we need it:
Version validation populates the version if not specified by the user, so we need to run it before we do static validation so that static validation can determine if the SKU is valid or not.
Better error handling when:
--verisonparam when there is no default ocp version availableTest plan for issue: