-
Notifications
You must be signed in to change notification settings - Fork 327
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
Updated ScaleIO driver for dynamic storage pools #267
Updated ScaleIO driver for dynamic storage pools #267
Conversation
278a456
to
9004f7a
Compare
Testing this further. |
9004f7a
to
63a7b78
Compare
This is ready to merge upon successful tests. |
func (d *driver) thinOrThick() string { | ||
thinOrThick := d.r.Config.GetString("scaleio.thinOrThick") | ||
if thinOrThick == "" { | ||
return "ThinProvisioned" |
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.
Hi @clintonskitson,
I'd suggest this as an alternative:
type ScaleioProvisionType int
const (
Thin ScaleioProvisionType = iota
Thick
)
This avoids free-text in many places, other than parsing it from the CLI.
@akutz Hmm.. having a hard time consuming this one as to the benefit. Seems like an extra layer of conversion considering it is leaving as a string into |
Hi @clintonskitson, Eh, you're probably right. |
Hi @clintonskitson, This LGTM. It just needs to be merged/rebased with/on master so I can merge it. |
This commit introduces an update that allows multiple storage pools to be used outside of configuring them in the global configuration. The volumeType parameter represents the storage pool name. * Storage Pool and Protection domain now returned by name * Storage Pool is now volumetype parameter * Updated documentation
63a7b78
to
282c67d
Compare
@akutz Rebased. |
…etype Updated ScaleIO driver for dynamic storage pools
This patch marks the release of REX-Ray 0.3.2! NEW FEATURES * Support for Docker 1.10 and Volume Plugin Interface 1.2 rexray#273 * Stale PID File Prevents Service Start rexray#258 * Module/Personality Support rexray#275 * Isilon Preemption rexray#231 * Isilon Snapshots rexray#260 * boot2Docker Support rexray#263 * ScaleIO Dynamic Storage Pool Support rexray#267 ENHANCEMENTS * Improved installation documentation rexray#331 * ScaleIO volume name limitation rexray#304 * Docker cache volumes for path operations rexray#306 * Config file validation rexray#312 * Better logging rexray#296 * Documentation Updates rexray#285 BUG FIXES * Fixes issue with daemon process getting cleaned as part of SystemD Cgroup rexray#327 * Fixes regression in 0.3.2 RC3/RC4 resulting in no log file rexray#319 * Fixes no volumes returned on empty list rexray#322 * Fixes "Unsupported FS" when mounting/unmounting with EC2 rexray#321 * ScaleIO re-authentication issue rexray#303 * Docker XtremIO create volume issue rexray#307 * Service status is reported correctly rexray#310 UPDATES * <del>Go 1.6 rexray#308</del> THANK YOU * Dan Forrest * Kapil Jain * Alex Kamalov
Fix Issues with Glide and Version Discovery
This commit introduces an update that allows multiple storage
pools to be used outside of configuring them in the global
configuration. The volumeType parameter represents the storage
pool name