Skip to content

Commit

Permalink
Merge pull request #348 from codedellemc/release/0.3.3
Browse files Browse the repository at this point in the history
Release 0.3.3
  • Loading branch information
akutz authored Nov 29, 2016
2 parents 159b773 + d371fb7 commit f069117
Show file tree
Hide file tree
Showing 42 changed files with 2,117 additions and 483 deletions.
12 changes: 12 additions & 0 deletions .docs/about/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
Release early, release often

---
## Version 0.3.3 (2016/11/29)
This release includes some minor fixes as well as a new way to query
attachment information about one or more volumes.

### Enhancements
* Enhanced attachment querying ([#313](https://github.com/codedellemc/libstorage/pull/313), [#316](https://github.com/codedellemc/libstorage/pull/316), [#319](https://github.com/codedellemc/libstorage/pull/319), [#330](https://github.com/codedellemc/libstorage/pull/330), [#331](https://github.com/codedellemc/libstorage/pull/331), [#332](https://github.com/codedellemc/libstorage/pull/332), [#334](https://github.com/codedellemc/libstorage/pull/334),
[#335](https://github.com/codedellemc/libstorage/pull/335), [#336](https://github.com/codedellemc/libstorage/pull/336), [#343](https://github.com/codedellemc/libstorage/pull/343))

### Bug Fixes
* AWS Config Support ([#314](https://github.com/codedellemc/libstorage/pull/314))
* VirtualBox Executor Fix ([#325](https://github.com/codedellemc/libstorage/pull/325))

## Version 0.3.2 (2016/10/18)
This release updates the project to reflect its new location at
github.com/codedellemc.
Expand Down
20 changes: 15 additions & 5 deletions .docs/user-guide/storage-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The following items are configurable specific to this driver.
be created and removed.
* `nfsHost` is the configurable NFS server hostname or IP (often a
SmartConnect name) used when mounting exports
* `dataSubnet` is the subnet the REX-Ray driver is running on. This is used
* `dataSubnet` is the subnet the REX-Ray driver is running on. This is used
for the NFS export host ACLs.

### Optional Parameters
Expand Down Expand Up @@ -429,9 +429,13 @@ example see the `Examples` section.
efs:
accessKey: XXXXXXXXXX
secretKey: XXXXXXXXXX
securityGroups: sg-XXXXXXX,sg-XXXXXX0,sg-XXXXXX1
region: us-east-1
tag: test
securityGroups:
- sg-XXXXXXX
- sg-XXXXXX0
- sg-XXXXXX1
region: us-east-1
tag: test
disableSessionCache: false
```

#### Configuration Notes
Expand All @@ -445,6 +449,9 @@ documentation for list of supported regions.
If no security groups are provided the default VPC security group is used.
- `tag` is used to partition multiple services within single AWS account and is
used as prefix for EFS names in format `[tagprefix]/volumeName`.
- `disableSessionCache` is a flag that can be used to disable the session cache.
If the session cache is disabled then a new AWS connection is established with
every API call.

For information on the equivalent environment variable and CLI flag names
please see the section on how non top-level configuration properties are
Expand Down Expand Up @@ -500,7 +507,10 @@ libstorage:
efs:
accessKey: XXXXXXXXXX
secretKey: XXXXXXXXXX
securityGroups: sg-XXXXXXX,sg-XXXXXX0,sg-XXXXXX1
securityGroups:
- sg-XXXXXXX
- sg-XXXXXX0
- sg-XXXXXX1
region: us-east-1
tag: test
```
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.a
*.d
*.out
got
libstorage.paw
.site/
site/
Expand All @@ -22,7 +23,9 @@ cli/semaphores/signal
cli/semaphores/unlink
api/api_generated.go
api/server/executors/executors_generated.go
drivers/storage/ebs/tests/.vagrant
drivers/storage/ebs/tests/.vagrant/
examples/ec2/vagrant/.vagrant/


# Created by https://www.gitignore.io

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ go_import_path: github.com/codedellemc/libstorage
language: go
go:
- 1.6.3
- 1.7.1
- 1.7.3
- tip

os:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ a portable format such as JSON.
## Documentation [![Docs](https://readthedocs.org/projects/libstorage/badge/?version=latest)](http://libstorage.readthedocs.org)
The `libStorage` documentation is available at
[libstorage.rtfd.org](http://libstorage.rtfd.org).

## License
The `libStorage` project is licensed to you under the Apache License, Version 2.0. Please reference the LICENSE file for additional information.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.2
0.3.3
4 changes: 2 additions & 2 deletions api/registry/registry_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (d *idm) Mount(
func (d *idm) Unmount(
ctx types.Context,
volumeID, volumeName string,
opts types.Store) error {
opts types.Store) (*types.Volume, error) {

fields := log.Fields{
"volumeName": volumeName,
Expand All @@ -180,7 +180,7 @@ func (d *idm) Unmount(
}

d.decCount(volumeName)
return nil
return nil, nil
}

func (d *idm) Path(
Expand Down
4 changes: 3 additions & 1 deletion api/server/handlers/handlers_query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ func (h *queryParamsHandler) Handle(
if len(v[0]) == 0 {
store.Set(k, true)
} else {
if b, err := strconv.ParseBool(v[0]); err == nil {
if i, err := strconv.ParseInt(v[0], 10, 64); err == nil {
store.Set(k, i)
} else if b, err := strconv.ParseBool(v[0]); err == nil {
store.Set(k, b)
} else {
store.Set(k, v[0])
Expand Down
Loading

0 comments on commit f069117

Please sign in to comment.