fix: add debug logging for pvesm config per-pool to trace why images filter excludes pools
This commit is contained in:
parent
4082250740
commit
6445d8894a
1 changed files with 3 additions and 2 deletions
|
|
@ -119,8 +119,9 @@ def storage_pools():
|
|||
for cl in cp.stdout.split("\n"):
|
||||
if cl.strip().startswith("content"):
|
||||
content = cl.strip().split(None, 1)[1] if len(cl.strip().split(None, 1)) > 1 else ""
|
||||
except Exception:
|
||||
pass
|
||||
logger.info(" pool %s (%s) content=%r", name, stype, content)
|
||||
except Exception as exc:
|
||||
logger.warning(" pvesm config %s failed: %s", name, exc)
|
||||
if "images" not in content:
|
||||
continue
|
||||
result.append({"name": name, "type": stype})
|
||||
|
|
|
|||
Loading…
Reference in a new issue