-
Notifications
You must be signed in to change notification settings - Fork 41
Add new status conditions to replication status #826
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
Conversation
internal/controller/replication.storage/volumereplication_controller.go
Outdated
Show resolved
Hide resolved
@ShyamsundarR PTAL. @Nikhil-Ladha please check with Ramen team to ensure there is no regression in Ramen because of new condition |
164e12f
to
3de7136
Compare
From what I have understood, ramen checks for individual conditions from VR status, so a new condition won't hamper anything unless used explicitly. But, I will still let @ShyamsundarR confirm on the same. |
3de7136
to
b02620d
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.
just a few nits, otherwise good to go
update csi-addons/spec pkg to include latest GetVolumeReplicationInfo RPC updates Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
update GetVolumeReplicationInfo RPC proto definition as per the csi-addons/spec changes to include Status and StatusMessage fields in the response Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
b02620d
to
b162e14
Compare
b162e14
to
8330c00
Compare
Updated the sidecar code to return the new status fields in the response. Test results:
|
If everything looks can we get this PR merged, so that ramen PR can also be reviewed and tested? |
add replication status condition to VR Status which helps in understanding the current replication state of the image/group Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
8330c00
to
2769399
Compare
Added new status conditions which reflect the current replication status as returned from the storage vendor.