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
Report versioning errors in StorageCluster's Status #1921
Report versioning errors in StorageCluster's Status #1921
Conversation
Hi @Nikhil-Ladha. Thanks for your PR. I'm waiting for a red-hat-storage member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I don't think we can make the "Version" field empty just now, as the downstream docker images don't have the "Version" env set during the build of the standalone |
Marking it as draft until I have tested these changes. |
4db72cb
to
b388e64
Compare
Tested it out on the latest 4.99 build and the version field for
|
If we intend to backport it to older releases we need to make one small change in the build scripts downstream. |
b388e64
to
c552ea6
Compare
@umangachapagain @iamniting can you please review the PR? |
/ok-to-test |
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.
@umanga whats your take on this?
16c15c7
to
1dbee14
Compare
How to resolve the permission denied issue for the newly added |
chmod +x hack/unit-test.sh
will look and let you know |
d05194d
to
9c2be2d
Compare
Ok, I seem to have understood the issue with the failing tests. I am not exactly sure if this could lead to any issue in future, i.e, if we use different values of |
e75bdc4
to
e5d2342
Compare
e5d2342
to
b505331
Compare
a73ddb7
to
655e0f6
Compare
655e0f6
to
9bfc869
Compare
Update StorageCluster status on versioning error. Append an `VersionMismatch` status condition to StorageCluster status field when an error arises during `versionCheck`. And, modified the hack scripts to update the VERSION env during the binary build. Co-authored-by: Pranshu Srivastava <rexagod@gmail.com> Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
9bfc869
to
17a9887
Compare
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.
looks good to me. Holding for @umangachapagain to review.
/hold
/unhold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iamniting, Nikhil-Ladha, umangachapagain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Update StorageCluster status on versioning error. Append an error status condition to StorageCluster status field when an error arises during
versionCheck
.And, modified the hack scripts to update the VERSION env during the binary build.
Credits to #1447
NOTE
This PR is just a rebase with a couple of changes from the original PR
Signed-off-by: Nikhil-Ladha nikhilladha1999@gmail.com
Co-authored-by: Pranshu Srivastava rexagod@gmail.com