libStorageMgmt release 1.2.3
by Gris Ge
A new version of libStorageMgmt is now available:
https://github.com/libstorage/libstoragemgmt/releases/download/1.2.3/libs...
Fedora and EPEL update will be started in the next few days.
OpenSuSE packages will be in Tumbleweed/Factory repo soon.
Changelog:
* Bug fixes:
* lsmcli bash completion: Fix syntax error.
* lsmcli bash completion: Fix volume-delete.
* lsmcli bash completion: Add missing completions.
* Fix: selinux dac_override
* Manpage: Update hpsa and megaraid plugin manpages.
* HP Smart Array Plugin: Fix pool querying on P410i.
* MegaRAID Plugin: Fix bug when no volume configured.
Please feel free to contact us if you have any questions.
Best regards.
--
Gris Ge
8 years, 10 months
[PATCH 1/3] Change master code tree version to 1.2.3
by Gris Ge
Signed-off-by: Gris Ge <fge(a)redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 083a154..204d858 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl Copyright (C) 2011 Red Hat, Inc.
dnl See COPYING.LIB for the License of this software
AC_INIT(
- [libstoragemgmt], [1.2.2], [libstoragemgmt-devel(a)lists.fedorahosted.org],
+ [libstoragemgmt], [1.2.3], [libstoragemgmt-devel(a)lists.fedorahosted.org],
[], [https://github.com/libstorage/libstoragemgmt/])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_AUX_DIR([build-aux])
--
1.8.3.1
8 years, 10 months
[PATCH] lsmcli bash completion: Fix syntax error.
by Gris Ge
* Remove the incorrect placed default switch statement.
Signed-off-by: Gris Ge <fge(a)redhat.com>
---
tools/bash_completion/lsmcli | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/bash_completion/lsmcli b/tools/bash_completion/lsmcli
index eb8fe8e..3d66c13 100644
--- a/tools/bash_completion/lsmcli
+++ b/tools/bash_completion/lsmcli
@@ -404,7 +404,6 @@ function _lsm()
COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) )
return 0
;;
- *)
volume-raid-create|vrc)
possible_args "${volume_raid_create_args}"
COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) )
--
1.8.3.1
8 years, 10 months
[PATCH 1/4] Change master code tree version to 1.2.2
by Gris Ge
Signed-off-by: Gris Ge <fge(a)redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 1249495..083a154 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl Copyright (C) 2011 Red Hat, Inc.
dnl See COPYING.LIB for the License of this software
AC_INIT(
- [libstoragemgmt], [1.2.1], [libstoragemgmt-devel(a)lists.fedorahosted.org],
+ [libstoragemgmt], [1.2.2], [libstoragemgmt-devel(a)lists.fedorahosted.org],
[], [https://github.com/libstorage/libstoragemgmt/])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_AUX_DIR([build-aux])
--
1.8.3.1
8 years, 10 months
Fedora packages for 1.2.1
by Tony Asleson
Looks like we have an issue with the Fedora 1.2.1 rpm's. The lsmd will
exit with an error.
Jun 22 15:04:26 localhost.localdomain systemd[1]: Starting
libstoragemgmt plug-in server daemon...
Jun 22 15:04:26 localhost.localdomain audit[1753]: <audit-1400> avc:
denied { dac_override } for pid=1753 comm="lsmd" capability=1
scontext=system_u:system_r:lsmd_t:s0
tcontext=system_u:system_r:lsmd_t:s0 tclass=capability permissive=0
Jun 22 15:04:26 localhost.localdomain lsmd[1753]: Unable to access
socket directory /var/run/lsm/ipc, errno= 13
Jun 22 15:04:26 localhost.localdomain systemd[1]:
libstoragemgmt.service: main process exited, code=exited, status=1/FAILURE
I believe the following will correct this:
https://github.com/libstorage/libstoragemgmt/pull/30
Regards,
Tony
8 years, 10 months
libStorageMgmt release 1.2.0
by Gris Ge
A new version of libStorageMgmt is now available.
https://github.com/libstorage/libstoragemgmt/releases/download/1.2.0/libs...
Fedora and EPEL update will be started in the next few days.
Changelog:
- New features:
* The lsmd daemon now allows plugin to run as root using configure
file.
* Targetd plugin got full access group support.
* The simulator plugin switched from risky pickle to sqlite3 for state
saving.
* Introduced bash auto completion support for lsmcli command.
* Two new plugins for hardware RAID cards:
* LSI MegaRAID plugin -- megaraid://
Dell PERC and other OEM rebanded MegaRAID cards are also
supported.
* HP SmartArray plugin -- hpsa://
- Library adds:
* New method to query RAID information of volume:
Python: lsm.Client.volume_raid_info().
C: lsm_volume_raid_info().
* New method to query pool membership:
Python: lsm.Client.pool_member_info().
C: lsm_pool_member_info().
* New disk status constant to indicate certain disk could be used as
pool disk or dedicate spare disk.
Python: DISK.STATUS_FREE.
C: LSM_DISK_STATUS_FREE.
* New method to create RAID volume on hardware RAID cards:
Python: lsm.Client.volume_raid_create_cap_get().
lsm.Client.volume_raid_create().
C: lsm_volume_raid_create_cap_get().
lsm_volume_raid_create().
* New C plugin register interface for version 1.2 new methods:
lsm_register_plugin_v1_2()
- Bug fixes and miscellaneous fixes:
* lsmd: Fix a possible infinity loop on plugin search.
* Fix memory leak in C unit test.
* Library: Fix incorrect Volume.vpd83 definition
* SMI-S plugin: Fix SMI-S plugin spare disk support.
* SMI-S plugin: Fix target_ports() for HP 3PAR and EMC VMAX.
* SMI-S plugin: Fix the incorrect profile_check().
* Fix C library compile warning.
* Fix C library potential memory leak in handle_volume_raid_create().
* ONTAP, MegaRAID, SMI-S Plugins: Enforce the definition of Pool.status.
* Change license statement by replacing address to URL.
* lsmd: add error catch for signal.
* lsmcli: fix _get_item error message.
* C Library: Fix message loop
* C Library: Clean up code for DRY(don't repeat yourself).
* SMI-S Plugin: Collect xml during exception.
* C Library: Remove ambiguity between wrong type or OOM
* C code clean up to use K&R code style.
* Add Charles Rose to AUTHORS.
Thanks to all those that helped make this release better by submitting
patches, reporting bugs and engaging in design discussions. All is
appreciated!
Giving it a try:
http://libstorage.github.io/libstoragemgmt-doc/doc/user_guide.html
*Warning/disclaimer*
This library has the ability to destroy any and all data on a storage
controller (either from user error or because of a code bug in the
library itself). I would suggest using and developing on
only non-production storage arrays which have no data of value or
utilizing the simulator while developing with the library.
As always any feedback and improvements are welcomed.
Best regards!
--
Gris Ge
8 years, 10 months
[PATCH 0/2] V1.2 release
by Gris Ge
Plugin Test results (RHEL 7 x86_64):
* EMC VNX SMI-S: PASS
* NetApp ONTAP: PASS
* Targetd: PASS for block methods. The fs methods will fail due to upstream
bug. https://github.com/libstorage/libstoragemgmt/issues/28
* EMC VMAX SMI-S: PASS except failure on `volume_replicate()`.
https://github.com/libstorage/libstoragemgmt/issues/27
* Nstor 3 and 4: PASS
* LSI MegaRAID: PASS
* HP SmartArray: PASS
Gris Ge (2):
New release: 1.2.0
Increase master branch code version to 1.2.1
NEWS | 51 ++++++++++++++++++++++++++++++++++++++++
configure.ac | 2 +-
packaging/libstoragemgmt.spec.in | 50 +++++++++++++++++++++++++++++++++++++++
3 files changed, 102 insertions(+), 1 deletion(-)
--
1.8.3.1
8 years, 10 months
[PATCH 0/2] V1.2 release
by Gris Ge
Plugin Test results (RHEL 7 x86_64):
* EMC VNX SMI-S: PASS
* NetApp ONTAP: PASS
* Targetd: PASS for block methods. The fs methods will fail due to upstream
bug. https://github.com/libstorage/libstoragemgmt/issues/28
* EMC VMAX SMI-S: PASS except failure on `volume_replicate()`.
https://github.com/libstorage/libstoragemgmt/issues/27
* Nstor 3 and 4: PASS
* LSI MegaRAID: PASS
* HP SmartArray: PASS
Gris Ge (2):
New release: 1.2.0
Increase master branch code version to 1.2.1
NEWS | 51 ++++++++++++++++++++++++++++++++++++++++
configure.ac | 2 +-
packaging/libstoragemgmt.spec.in | 50 +++++++++++++++++++++++++++++++++++++++
3 files changed, 102 insertions(+), 1 deletion(-)
--
1.8.3.1
8 years, 10 months