fix: ignore HP controller error line regarding cache

This commit is contained in:
Cyril Levis 2022-04-25 14:31:08 +02:00
commit 07e9323f6a
No known key found for this signature in database
GPG key ID: 6DB88737C11F5A48

View file

@ -38,7 +38,10 @@ def _parse_ctrl_output(lines):
current_ctrl = None current_ctrl = None
for line in lines: for line in lines:
if not line or line.startswith('Note:'): if not line or line.startswith('Note:') or \
'Please execute the "reenablecache' in line or \
'reboot after the operation' in line or \
'to complete the cache recovery process' in line:
continue continue
ctrl = REGEXP_CONTROLLER_HP.search(line) ctrl = REGEXP_CONTROLLER_HP.search(line)
if ctrl is not None: if ctrl is not None: