-
- [Storcli.errors] Custom messages for error 255. Requested by @ulmitov in Issue #17
-
- [Controller] Added methods to control the foreign configuration. (PR #11)
- [Controller] Now some storcli calls can return an error and get handled without raising exceptions. (Issue #13)
- [Drive] Added some aliases to
drive.state
&drive.set_state
method. (Issue #12) - Added enum-class StorcliError. This Enum stores any posible (documented) error reported by storcli. We can expect & catch some of them if we want to
-
- [Storcli] Migrated from subprocess.run -> subprocess.popen. Requested by @ulmitov in Issue #13
Thanks to @ulmitov & @dgilbert101 for the contributions to this release
- Bugfix:
pystorcli
package was incomplete. (submodules were missing)
-
- [Controller] Added methods to control the patrolread. (PR #10)
- [Virtualdrive] New property (get & set)
access
in order to get or set the access policy of a virtual drive.
-
- [Controller] Fixed minnor issue with controller.metrics typing. WARNING: those types will be changed in future versions.
-
- [Controller] Refactor: Moved metrics into different subfolder.
- [Enclosure] Refactor: Moved into subfolder.
- [Drive] Refactor: Moved state & metrics into different subfolder.
- [Virtualdrive] Refactor: Moved metrics into different subfolder.
- Many python typing fixes
-
- [Virtualdrive] State is now of type
VDState
- [Virtualdrive] State is now of type
-
- Added enclosures, drives and virtualdrives to main init.py
- Increased test coverage
- [Storcli] Added version properties to storcli class
- [Storcli] Added property to get the list of controllers
- [Controller] Method
create_vd
now acceptsPDperArray
. If it is required for some raid types, it is set to #disks//2. Requested in #2 - [DriveMetrics] Added vd and vd_id properties to DriveMetrics class
- [Drive] Added method
set_state
that can be forced. Requested in #5 - [Drive] Added class
DriveState
to better manage drive states. Closes #7 - [Drives] Added class
Drives
to manage a list of drives. This have been just added to keep the enclosures/virtualdrives working model.
-
- Package
pystorcli2
installs packagespystorcli
andpystorcli2
for backward compatibility. This is a temporary fix until all the projects usingpystorcli
are updated to usepystorcli2
. The packagepystorcli
will be removed in the future. Contents ofpystorcli
andpystorcli2
are the same. Requested in #1 - Fixed variable
__all__
in project__init__.py
- [Storcli] Fixed issue with
get_controllers
method. Requested in #6 - [Storcli] Fixed (some) calls when storcli rejects returning jsons. Requested in #8
- [Controller] Fixed issue with
create_vd
method. Now it is possible to create a virtual drive with a specific number of physical drives per array. Requested in #2 - [Drive] Fixed issue with
set_state
method & property. Requested in #5 - [Binaries][metric]: fixed library calls
- Other minor fixes
- Package
-
- Supported python versions are now 3.8 and onwards
- Slowly we are migrating to python3-typed classes. This have changed types in many clases and more is coming in future versions. If you found any issue (typing error), please report it and we'll fix it as soon as possible.
- Migrated from setup.py to pyproject.toml
- [Enclosure] Drive list is now a
Drives
object instead of a list ofDrive
objects
Thanks to @ulmitov for the contributions to this release
-
- Added some code tests
- Added coverals to ci
-
- Fixed some issues with python<3.9
- fixing listing controllers when there is no controllers
- Minnor code fixes
- Changed maintainer to Rafael Leira & Naudit HPCN S.L.
- pystorcli is renamed to pystorcli2
- Change license to BSD
- [virtualdrive] fix pdcache getter and setter docstring
- [bin] [metrics] add smart and predictive failure to the drive metrics
- [bin] [metrics] fix missing cachevault
- [enclosure] change way of getting disk slot ids
- [storcli] fix singleton binary override
- [all] suppressing exception context for StorCliMissingError
- install pystorcli-metrics script
- [bin] add pystorcli-metrics script for printing base storcli json metrics
- [controller] fix physical_drives_non_optimal metric
- [all] consolidate all metrics as string
- Add option for StorCLI thread safe singleton class instance and resposne caching
- [enclosure] fix 2 has_drives method
- [enclosure] fix has_drives method
- [all] rework exceptions & and add object self existance check
- [cachevault] add another abstract object CacheVault
- [virtualdrive] consolidate state output
- [vd / enclosure] add has_* method to verify presence of the next level objects in storctl hierarchy
- [controller / vd / drive / enclosure] fix args modification - create deep copy of args first
- [controller / vd / drive] add basic metrics
- [all] fix docstrings
- [drive] fix comment typo
- [drive] fix create hotspare dgs and enclaffinity options
- [drive] create hotspare add enclousure affinity option