Commit Graph

245 Commits

Author SHA1 Message Date
Adam Cecile 8ee64edc22 [Packaging megaclisas-status] Change distribution pkg tag to ease dist upgrade 2021-08-17 10:28:51 +02:00
Adam Cecile 16540fd4c6 [Packaging megaclisas-status] Update debian/changelog for 0.18 release 2021-08-17 10:28:38 +02:00
Adam Cecile c91fc0f101 [Packaging megaclisas-status] Detect Python interpret at build time and use the proper one 2021-08-17 10:28:17 +02:00
Adam Cecile c5fc95451d [[sas2ircu-status] Show disks on all arrays instead of only the last (Closes: #87) 2021-08-17 09:48:18 +02:00
Adam Cecile b2a057b5b9 [aacraid-status]: Add Raw (Pass Through) to valid disk status (Closes: #104) 2021-08-17 09:45:10 +02:00
Adam Cecile da4f474012 Re-run black after 2to3 2021-08-17 09:42:50 +02:00
Adam Cecile 8e78deda38 Run 2to3 on all Python wrappers 2021-08-17 09:42:37 +02:00
Adam Cecile e0d3be643a Reformat all files with black (target=py27, line-length=160) 2021-08-17 09:42:18 +02:00
Adam Cecile 9976ceeaff Add black formatted helpers 2021-08-17 09:42:03 +02:00
Adam Cecile 2c4bb4b531 [megaclisas_status] No need to make --nagios/--debug/--notemp exclusives 2021-08-17 09:40:52 +02:00
nega0 fddb6a970d
expand drive id column so it doesnt break (#109)
[megaclisas_status] expand drive id column so it doesnt break (#109)
2021-08-17 09:24:32 +02:00
nega0 571c894a01
handle options with argparse (#110)
[megaclisas_status] Handle options with argparse
2021-08-17 09:21:08 +02:00
Adam Cécile bbbd2f6424
Merge pull request #123 from ch3sh1r/patch-1
Numeration in format string and spaces to tab (to support Python 2.6)
2021-08-17 09:18:40 +02:00
Alexey Bednyakov 717f64e837
Numeration in format string and spaces to tab
Old python versions can fall in `ValueError` exception with current string format:
```
$ python
Python 2.6.6 (r266:84292, Jun 14 2019, 09:43:27)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> model = 'Z1Z3XMHGST4000NM0033-9ZM170 GA0A'
>>> m = re.match(r'(\w{8})(ST\w+)(?:-(\w{6}))?(?:\s+(\w+))', model)
>>> '{}-{} {} {}'.format(m.group(2), m.group(3), m.group(4), m.group(1))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: zero length field name in format
>>> m.group(2)
'ST4000NM0033'
>>> m.group(3)
'9ZM170'
>>> m.group(4)
'GA0A'
>>> m.group(1)
'Z1Z3XMHG'
```
Also corrected spaces to tabs.
2021-03-22 12:43:27 +03:00
Adam Cécile a9a5b06bca
Merge pull request #105 from nega0/feature/seagate
[megaclisas-status] reformat "drive model" in disk info blocks
2019-08-19 23:24:17 +02:00
nega c9fd701e89 do the same for unconfigured disk info block 2019-07-10 13:11:32 -04:00
nega 3963401717 reformat "Drive Model" in the disk info block 2019-07-10 13:00:19 -04:00
Adam Cecile 751028c67a Updated aacraid-status package 2019-07-03 17:16:01 +02:00
Adam Cécile 3610acca6c
Merge pull request #91 from random-things/master
[aacraid-status] Fix false non-optimal status when JBOD disks are present
2019-07-03 17:13:18 +02:00
Adam Cecile 75acbc28aa megaclisas-status package updated to 0.17 2019-07-03 13:58:56 +02:00
Adam Cecile f40f5bcd6e Rely on megaclisas-status exit code instead of output (Refs: #99) 2019-07-03 13:58:39 +02:00
Adam Cecile dfe63bf478 Resync megaclisas-status initscript with latest fixes from debian uptream 2019-07-03 13:58:10 +02:00
Adam Cecile 316a80089c Revert output so daemon script works again (Refs: #99) 2019-07-03 13:35:17 +02:00
Adam Cecile 3f8436974e Update cciss-vol-status packaging (synced with Buster package) 2019-07-03 13:11:52 +02:00
Adam Cecile 56d9155d3c Update mpt-status packaging (based on buster's one + rewritten using explicit debhelper for old releases) 2019-07-03 12:07:47 +02:00
Adam Cecile 9c9aa47dc9 Update megaide-status packaging 2019-07-03 11:02:44 +02:00
Adam Cecile 7b671adf86 Update hpacucli packaging 2019-07-03 10:53:52 +02:00
Adam Cecile c7a7401391 Update megaraid-status packaging 2019-07-03 00:27:54 +02:00
Adam Cecile 3d63de19a9 Update megamgr packaging 2019-07-03 00:19:56 +02:00
Adam Cecile faa2b16a20 Update megaclisas-status packaging 2019-07-03 00:10:53 +02:00
Adam Cecile 38abed12ae Update megacli packaging 2019-07-03 00:05:11 +02:00
Adam Cecile 4dcfb6ad19 Update megactl packaging 2019-07-02 23:49:59 +02:00
Adam Cecile 6d3b7f04e8 Update sas2ircu-status packaging 2019-07-02 23:37:06 +02:00
Adam Cecile 4510e20a86 Update sas2ircu packaging 2019-07-02 23:30:39 +02:00
Adam Cecile 50efe19cf1 Update lsiutil packaging 2019-07-02 23:21:12 +02:00
Adam Cecile 41775f5d6f Update spy packaging 2019-07-02 23:16:01 +02:00
Adam Cecile 09680c6146 Update dellmgr packaging 2019-07-02 23:03:22 +02:00
Adam Cecile 64970e9220 Update adaptec-storage-manager-linux-64bit packaging 2019-07-02 21:53:46 +02:00
Adam Cecile b25d28838e Update adaptec-storage-manager-linux-32bit packaging 2019-07-02 21:47:07 +02:00
Adam Cecile c8d4751fb8 Update aacraid-status packaging 2019-07-02 21:31:32 +02:00
Adam Cecile ed6a79722d Update arcconf-2.02 packaging 2019-07-02 21:24:02 +02:00
Adam Cecile 383b2a6f8b Update arcconf-1.08 packaging 2019-07-02 21:18:27 +02:00
Adam Cecile 456520d942 Update arcconf-1.07 packaging 2019-07-02 21:11:40 +02:00
Adam Cecile 2ba4c2f51c Update arcconf-1.05 packaging 2019-07-02 21:02:54 +02:00
Adam Cecile d7b16205a5 Update tw-cli packaging 2019-07-02 20:53:28 +02:00
Adam Cecile a30b89f27d Updated packaging for 3dm2 2019-07-02 20:43:16 +02:00
Adam Cecile 2cc8f7dd73 Updated packaging for 3dm2 2019-07-02 20:36:24 +02:00
Adam Cécile a0093df3e6
Merge pull request #86 from ElCoyote27/master
Some Minor fixes, initial support for storcli 1.23.z
2018-10-01 10:17:27 +02:00
Vincent S. Cojot b1976c289b Update rev number 2018-09-30 23:53:16 -04:00
Vincent S. Cojot 4dffa3cbbd Make output consistent 2018-09-30 15:30:57 -04:00