Closed
Description
/kind bug
What happened:
Integer overflow possible when creating a GCE PD. See
https://github.com/kubernetes/kubernetes/blob/master/pkg/volume/gce_pd/gce_util.go#L84
We could/should be using the Quantity type throughout. Or at least making sure if that value is above max int64 to use the max int64 value or max disk size value instead of 0.
What you expected to happen:
Not overflow
How to reproduce it (as minimally and precisely as possible):
Create PVC with storage class with GCE Dynamic Provisioner.
Set request size to be 2^64 +1
????
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version
): 1.9 - Cloud provider or hardware configuration: GCE
- OS (e.g. from /etc/os-release): all
- Kernel (e.g.
uname -a
): all - Install tools:
- Others:
Activity
davidz627 commentedon Nov 30, 2017
/sig storage
davidz627 commentedon Dec 14, 2017
/kind technical-debt
davidz627 commentedon Dec 22, 2017
/cc @edisonxiang
I noticed you were working in this file earlier fixing the GiB vs GB sizing issue. Wondering if you were interesting in picking this up as well
fejta-bot commentedon Mar 22, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale
.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close
.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
fejta-bot commentedon Apr 21, 2018
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with
/remove-lifecycle rotten
.Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with
/close
.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale
fejta-bot commentedon May 21, 2018
Rotten issues close after 30d of inactivity.
Reopen the issue with
/reopen
.Mark the issue as fresh with
/remove-lifecycle rotten
.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
15 remaining items