-
Notifications
You must be signed in to change notification settings - Fork 159
satisfy volume cloning topology requirements when choosing zone for CreateVolume #1150
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
satisfy volume cloning topology requirements when choosing zone for CreateVolume #1150
Conversation
b21a1a6
to
c0f7b74
Compare
c0f7b74
to
8eea3fd
Compare
8eea3fd
to
c62122b
Compare
6c92046
to
831b978
Compare
3472a21
to
2fcd98e
Compare
/assign @saikat-royc |
2fcd98e
to
77fb662
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.
Great work, these are really comprehensive test cases!
}, | ||
{ | ||
name: "success regional disk clone of regional source disk", | ||
name: "success zonal -> zonal cloning, req = allowedTopologies, pref = req w/ randomly selected zone as first element: immediate binding w/ allowedTopologies", |
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.
Note on test case naming, the preferred order can be different or the same for both delayed and immediate binding. By the time we get here, I don't think there's a way to distinguish between immediate + delayed binding.
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.
I was mentioning immediate binding / delayed binding so that I could be sure I covered all of the cases in the external provisioner topology support table: https://github.com/kubernetes-csi/external-provisioner#topology-support, but if that doesn't make sense. I can remove the last sections of these test case names. So for this one. remove , immediate binding w/ allowedTopologies
138bf50
to
a4ee611
Compare
/retest |
a4ee611
to
42096b1
Compare
/retest |
0d0be04
to
5f1922e
Compare
/retest |
f022295
to
7aec082
Compare
…hosing the location of the volume
7aec082
to
b902877
Compare
/lgtm Did I already mention how awesome this is? :-) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amacaskill, msau42 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Flakey unit tests discovered an issue in the way volume cloning chooses the zone to clone the volume into. The test fails when the random logic picks a source zone that does not satisfy the volume cloning limitations.
Volume cloning should satisfy the following topology requirements:
Which issue(s) this PR fixes:
Fixes #1137
Does this PR introduce a user-facing change?: