thecodeteam / csi-scaleio Goto Github PK
View Code? Open in Web Editor NEWSee the VxFlexOS repo for the new driver!
Home Page: https://github.com/dell/csi-vxflexos
License: Apache License 2.0
See the VxFlexOS repo for the new driver!
Home Page: https://github.com/dell/csi-vxflexos
License: Apache License 2.0
I requested a PVC of 250GB (250000000000 bytes) and the PVC fails to provision because the SIO CSI is requesting less than 250GB (it's allocating 249108103168 ... 232GiB).
I0110 20:09:07.205827 1 controller.go:88] GRPC call: /csi.v0.Controller/CreateVolume
I0110 20:09:07.205835 1 controller.go:89] GRPC request: name:"vxvol-cd41cb7315" capacity_range:<required_bytes:250000000000 > volume_capabilities:<mount:<> access_mode:<mode:SINGLE_NODE_WRITER > > parameters:<key:"storagepool" value:"default" >
I0110 20:09:07.331820 1 controller.go:91] GRPC response: volume:<capacity_bytes:249108103168 id:"695d57e600000002" >
I0110 20:09:07.331871 1 controller.go:92] GRPC error: <nil>
By inspection, I can see the error around here: https://github.com/thecodeteam/csi-scaleio/blob/master/service/controller.go#L180
250GB ends up being 232.83GiB but since it's integer math, the integer part is lost and sizeInGB ends up being 232 and that's an even multiple of 8 so it allocates a volume of 232GiB. This unfortunately is less than what was requested by the PVC so the allocation fails.
I would expect this bug to exist for any allocation 1 to 1Gi more than a multiple of 8GiB.
Workaround is to ensure you request your PVCs in Gi
not G
.
Now that 0.1 is tagged for CSI, make updates to make compatible with spec.
There are some return codes that have changed, and we need to incorporate gocsi changes to idempotency interceptor logic.
a brief background: rexray/rexray#590
$ kubectl -n vxflex logs messy-pronghorn-agent-24llb agent
time="2018-08-07T21:48:36Z" level=fatal msg="failed to listen" error="listen unix /var/lib/kubelet/plugins/com.thecodeteam.scaleio/csi.sock: bind: address already in use"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.