Skip to content
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

Merged
merged 1 commit into from
Feb 4, 2016

Conversation

clintkitson
Copy link
Member

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

@clintkitson clintkitson self-assigned this Jan 25, 2016
@clintkitson clintkitson added this to the 0.3.2 milestone Jan 25, 2016
@clintkitson
Copy link
Member Author

Testing this further.

@clintkitson
Copy link
Member Author

This is ready to merge upon successful tests.

func (d *driver) thinOrThick() string {
thinOrThick := d.r.Config.GetString("scaleio.thinOrThick")
if thinOrThick == "" {
return "ThinProvisioned"
Copy link
Member

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.

@clintkitson
Copy link
Member Author

@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 goscaleio.

@akutz
Copy link
Member

akutz commented Feb 2, 2016

Hi @clintonskitson,

Eh, you're probably right.

@akutz
Copy link
Member

akutz commented Feb 3, 2016

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
@clintkitson
Copy link
Member Author

@akutz Rebased.

akutz added a commit that referenced this pull request Feb 4, 2016
…etype

Updated ScaleIO driver for dynamic storage pools
@akutz akutz merged commit ec6c034 into rexray:master Feb 4, 2016
akutz added a commit to akutz/rexray that referenced this pull request Mar 4, 2016
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
This was referenced Mar 4, 2016
akutz added a commit to akutz/rexray that referenced this pull request Jul 24, 2017
Fix Issues with Glide and Version Discovery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants