Tony Asleson
2014-08-21 17:59:25 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via 2233cf29c8db406dd419b8b98d0ba835672fc423 (commit)
via 865a8a94a5888c502d586475a590c97d2c2f4fd3 (commit)
via 620e22ace2743e6def0e1ae421702b2e41381eb2 (commit)
via 55e10a2737a9cc9c9ef24b17beb72ea81d977815 (commit)
via 13c59d41cd629d502ca7cab9a7ca8c1d92763a71 (commit)
via 1c3b503583b64beeb3d2f9290ff8370dc23f5a77 (commit)
via 3a7bfdf4cf406040cdf2d9b96ff1f88308f2f36c (commit)
via 14770b0de1f431a7deb71e99fe6baaaf762f259a (commit)
from 33305d6dc275b6a8819a968849a9908b933fbcac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2233cf29c8db406dd419b8b98d0ba835672fc423
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:47 2014 +0800
Plugins: Handle lsm.ErrorNumber.IS_MASKED
Updated these plugin to use new error IS_MASKED:
1. ontap
# I don't use handle_ontap_errors which use netapp error log directly.
# Which might cause confusing(LUN vs volume, NetApp volume vs LSM Volume)
2. sim
3. targetd
# New class TargetdError. _jsonrequest() will raise TargetdError
# instead of LsmError. We should directly use targetd error number
# as LsmError number even most of time they are the same.
# Anyway, in this case, targetd is use 303, IS_MASKED is 160.
Two plugins skipped for this change:
1. SMI-S
# Not worth my time when SMI-S has __no__ good way.
2. nstor
# Their API allowing deleting masked volume with no indication.
# they even raise no error when deleting non-exist volume.
# Meanwhile, I failed to find any API document to match current code.
# but it works, so I try not touch it.
3. simc
# Sorry, I am not an export of C.
Signed-off-by: Gris Ge <***@redhat.com>
commit 865a8a94a5888c502d586475a590c97d2c2f4fd3
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:46 2014 +0800
Python library: Add new error: lsm.ErrorNumber.IS_MASKED
Add new error lsm.ErrorNumber.IS_MASKED:
1. volume_delete() when volume is masked to any access group.
2. access_group_delete() when access group has any access group masked.
Signed-off-by: Gris Ge <***@redhat.com>
commit 620e22ace2743e6def0e1ae421702b2e41381eb2
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:45 2014 +0800
C library: Add new error: LSM_ERR_IS_MASKED
Add new error LSM_ERR_IS_MASKED:
1. lsm_volume_delete() when volume is masked to any access group.
2. lsm_access_group_delete() when access group has any volume masked.
Signed-off-by: Gris Ge <***@redhat.com>
commit 55e10a2737a9cc9c9ef24b17beb72ea81d977815
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:44 2014 +0800
Replace NO_MAPPING with NO_STATE_CHANGE V2
* Remove lsm.ErrorNumber.NO_MAPPING and LSM_ERR_NO_MAPPING.
* Change volume_unmask() to use NO_STATE_CHANGE in stead of NO_MAPPING.
V2: lsm_plugin_ipc.cpp, the failed call to value_to_fs is likely a memory
allocation error. In 9 other places we are returning LSM_ERR_NO_MEMORY so
we will be consistent and return the same here. There is some ambiguity
as if the 'Value' we pass to the function isn't a FS object instance we
will return NULL too. I will follow-up with a future patch to remove this
ambiguity in all the places where we convert a 'Value' to the appropriate
object C structure pointer.
Signed-off-by: Gris Ge <***@redhat.com>
Signed-off-by: Tony Asleson <***@redhat.com>
commit 13c59d41cd629d502ca7cab9a7ca8c1d92763a71
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 17:20:43 2014 -0500
plugin_test.py: Add test for duplicate ag name
We are expecting a NAME_CONFLICT error when doing this.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 1c3b503583b64beeb3d2f9290ff8370dc23f5a77
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 16:50:15 2014 -0500
ontap.py: Change volume id to full path
This is unique and it allows NetApp users a framiliar id
when looking at logical units.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 3a7bfdf4cf406040cdf2d9b96ff1f88308f2f36c
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 16:25:26 2014 -0500
plugin_test.py: Add asserts and cleanup fs pool selection
Signed-off-by: Tony Asleson <***@redhat.com>
commit 14770b0de1f431a7deb71e99fe6baaaf762f259a
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 16:24:42 2014 -0500
ontap.py: Remove the 'hidden' NetApp Volume (lun container)
Require the user to use a pool that is technically a NetApp volume which we show
call a FS when creating a logical unit. This removes a lot of complexity
in creating/resizing and maintaining a NetApp volume for the sole purpose
of being able to create a volume/lun.
Signed-off-by: Tony Asleson <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
.../include/libstoragemgmt/libstoragemgmt_error.h | 3 +-
c_binding/lsm_plugin_ipc.cpp | 2 +-
plugin/nstor/nstor.py | 6 +-
plugin/ontap/na.py | 3 +
plugin/ontap/ontap.py | 196 ++++++--------------
plugin/sim/simarray.py | 15 ++-
plugin/simc/simc_lsmplugin.c | 2 +-
plugin/targetd/targetd.py | 29 +++-
python_binding/lsm/_common.py | 4 +-
test/plugin_test.py | 71 ++++++--
10 files changed, 163 insertions(+), 168 deletions(-)
hooks/post-receive
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via 2233cf29c8db406dd419b8b98d0ba835672fc423 (commit)
via 865a8a94a5888c502d586475a590c97d2c2f4fd3 (commit)
via 620e22ace2743e6def0e1ae421702b2e41381eb2 (commit)
via 55e10a2737a9cc9c9ef24b17beb72ea81d977815 (commit)
via 13c59d41cd629d502ca7cab9a7ca8c1d92763a71 (commit)
via 1c3b503583b64beeb3d2f9290ff8370dc23f5a77 (commit)
via 3a7bfdf4cf406040cdf2d9b96ff1f88308f2f36c (commit)
via 14770b0de1f431a7deb71e99fe6baaaf762f259a (commit)
from 33305d6dc275b6a8819a968849a9908b933fbcac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2233cf29c8db406dd419b8b98d0ba835672fc423
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:47 2014 +0800
Plugins: Handle lsm.ErrorNumber.IS_MASKED
Updated these plugin to use new error IS_MASKED:
1. ontap
# I don't use handle_ontap_errors which use netapp error log directly.
# Which might cause confusing(LUN vs volume, NetApp volume vs LSM Volume)
2. sim
3. targetd
# New class TargetdError. _jsonrequest() will raise TargetdError
# instead of LsmError. We should directly use targetd error number
# as LsmError number even most of time they are the same.
# Anyway, in this case, targetd is use 303, IS_MASKED is 160.
Two plugins skipped for this change:
1. SMI-S
# Not worth my time when SMI-S has __no__ good way.
2. nstor
# Their API allowing deleting masked volume with no indication.
# they even raise no error when deleting non-exist volume.
# Meanwhile, I failed to find any API document to match current code.
# but it works, so I try not touch it.
3. simc
# Sorry, I am not an export of C.
Signed-off-by: Gris Ge <***@redhat.com>
commit 865a8a94a5888c502d586475a590c97d2c2f4fd3
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:46 2014 +0800
Python library: Add new error: lsm.ErrorNumber.IS_MASKED
Add new error lsm.ErrorNumber.IS_MASKED:
1. volume_delete() when volume is masked to any access group.
2. access_group_delete() when access group has any access group masked.
Signed-off-by: Gris Ge <***@redhat.com>
commit 620e22ace2743e6def0e1ae421702b2e41381eb2
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:45 2014 +0800
C library: Add new error: LSM_ERR_IS_MASKED
Add new error LSM_ERR_IS_MASKED:
1. lsm_volume_delete() when volume is masked to any access group.
2. lsm_access_group_delete() when access group has any volume masked.
Signed-off-by: Gris Ge <***@redhat.com>
commit 55e10a2737a9cc9c9ef24b17beb72ea81d977815
Author: Gris Ge <***@redhat.com>
Date: Thu Aug 21 18:19:44 2014 +0800
Replace NO_MAPPING with NO_STATE_CHANGE V2
* Remove lsm.ErrorNumber.NO_MAPPING and LSM_ERR_NO_MAPPING.
* Change volume_unmask() to use NO_STATE_CHANGE in stead of NO_MAPPING.
V2: lsm_plugin_ipc.cpp, the failed call to value_to_fs is likely a memory
allocation error. In 9 other places we are returning LSM_ERR_NO_MEMORY so
we will be consistent and return the same here. There is some ambiguity
as if the 'Value' we pass to the function isn't a FS object instance we
will return NULL too. I will follow-up with a future patch to remove this
ambiguity in all the places where we convert a 'Value' to the appropriate
object C structure pointer.
Signed-off-by: Gris Ge <***@redhat.com>
Signed-off-by: Tony Asleson <***@redhat.com>
commit 13c59d41cd629d502ca7cab9a7ca8c1d92763a71
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 17:20:43 2014 -0500
plugin_test.py: Add test for duplicate ag name
We are expecting a NAME_CONFLICT error when doing this.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 1c3b503583b64beeb3d2f9290ff8370dc23f5a77
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 16:50:15 2014 -0500
ontap.py: Change volume id to full path
This is unique and it allows NetApp users a framiliar id
when looking at logical units.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 3a7bfdf4cf406040cdf2d9b96ff1f88308f2f36c
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 16:25:26 2014 -0500
plugin_test.py: Add asserts and cleanup fs pool selection
Signed-off-by: Tony Asleson <***@redhat.com>
commit 14770b0de1f431a7deb71e99fe6baaaf762f259a
Author: Tony Asleson <***@redhat.com>
Date: Wed Aug 20 16:24:42 2014 -0500
ontap.py: Remove the 'hidden' NetApp Volume (lun container)
Require the user to use a pool that is technically a NetApp volume which we show
call a FS when creating a logical unit. This removes a lot of complexity
in creating/resizing and maintaining a NetApp volume for the sole purpose
of being able to create a volume/lun.
Signed-off-by: Tony Asleson <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
.../include/libstoragemgmt/libstoragemgmt_error.h | 3 +-
c_binding/lsm_plugin_ipc.cpp | 2 +-
plugin/nstor/nstor.py | 6 +-
plugin/ontap/na.py | 3 +
plugin/ontap/ontap.py | 196 ++++++--------------
plugin/sim/simarray.py | 15 ++-
plugin/simc/simc_lsmplugin.c | 2 +-
plugin/targetd/targetd.py | 29 +++-
python_binding/lsm/_common.py | 4 +-
test/plugin_test.py | 71 ++++++--
10 files changed, 163 insertions(+), 168 deletions(-)
hooks/post-receive
--
libstoragemgmt
libstoragemgmt