Add Volume Health Support to CSI#415
Add Volume Health Support to CSI#415saad-ali merged 1 commit intocontainer-storage-interface:masterfrom
Conversation
276c4ec to
277cefe
Compare
jdef
left a comment
There was a problem hiding this comment.
Several nits and renames suggested.
Also, if a plugin supports VOLUME_HEALTH, is there any reason why the list-volumes call can't return health for each of the volumes it reports?
Many CSI drivers don't support ListVolumes because it is expensive to make such a call. We could add a volume_id as a filter in ListVolumes but that means drivers have to implement ListVolumes in order to get information from a specific volume. During a previous review meeting, @saad-ali has suggested it is better to have a separate GetVolume RPC. |
|
I think my suggestion may have been misinterpreted. I wasn't suggesting the
elimination of GetVolume. Instead, I was suggesting that, for those plugins
that already implement list-volumes, maybe they would also be interested in
reporting health information that way.
…On Tue, Feb 11, 2020 at 11:56 AM Xing Yang ***@***.***> wrote:
Also, if a plugin supports VOLUME_HEALTH, is there any reason why the
list-volumes call can't return health for each of the volumes it reports?
Many CSI drivers don't support ListVolumes because it is expensive to make
such a call. We could add a volume_id as a filter in ListVolumes but that
means drivers have to implement ListVolumes in order to get information
from a specific volume. During a previous review meeting, @saad-ali
<https://github.com/saad-ali> has suggested it is better to have a
separate GetVolume RPC.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#415?email_source=notifications&email_token=AAR5KLGYEZYTMCUFWGSAU4TRCLKD5A5CNFSM4KSVIF22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNF4AQ#issuecomment-584736258>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLFTVDTGRS4VA3GQ6XLRCLKD5ANCNFSM4KSVIF2Q>
.
--
James DeFelice
585.241.9488 (voice)
650.649.6071 (fax)
|
Sure, I can add volume health in ListVolumes. |
xing-yang
left a comment
There was a problem hiding this comment.
Addressed review comments. Thanks.
|
cc @bswartz |
|
Addressed Ben's comments. Thanks. |
dcd82db to
da542dd
Compare
bswartz
left a comment
There was a problem hiding this comment.
I have reviewed these changes and I'm satisfied.
a72e2a4 to
5177b70
Compare
|
@julian-hj, @msau42 addressed your your comments. PTAL. Thanks. |
It looks like some, not all of the Alpha API support is being added in this PR. While the work committed here isn't misaligned with #365, it is incomplete w/ respect to what was proposed. Suggestion: cherry-pick the following commits from #365 such that Alpha API support is added comprehensively instead of piecemeal, which will make it more clear for others looking to adopt. Or, maybe it would be cleaner to fast-track the above, suggested commits in a separate PR, merge that, and then rebase this one on top? I'm flexible here, just looking for a clear commit stream. |
jdef
left a comment
There was a problem hiding this comment.
I should have marked my last review as "request changes" - sorry for the confusion.
|
@jdef Addressed most of your comments. I'll rebase this on the alpha api PR and address your remaining comment regarding the alpha feature. |
dca1151 to
0e5a1ff
Compare
|
Rebased. |
|
Hi @jdef, I addressed all your comments. Please take a look again. Thanks. |
|
Hi @saad-ali, I updated the PR based on what we concluded in the review meeting. Please take a look. Thanks. |
|
All comments are addressed. Please take a look again. |
|
@saad-ali Addressed your comments. PTAL. |
saad-ali
left a comment
There was a problem hiding this comment.
Thanks @xing-yang
/lgtm
/approve
|
@jdef @jieyu @julian-hj all good? @xing-yang Please squash commits and I can help merge. |
|
Thanks @saad-ali. Squashed commits into 1. |
|
Thanks @jdef. Addressed your comments. |
|
LGTM |
|
@xing-yang please squash one more time and I'll merge |
|
Thanks. Merging. |
This PR adds volume health support to CSI spec.
Fixes: #410