Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion weka_upgrade_checker/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.4
1.11.5
Binary file modified weka_upgrade_checker/weka_upgrade_checker
Binary file not shown.
27 changes: 14 additions & 13 deletions weka_upgrade_checker/weka_upgrade_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _clean_subprocess_env():

parse = V

pg_version = "1.11.4"
pg_version = "1.11.5"
known_issues_file = "known_issues.json"

log_file_path = os.path.abspath("./weka_upgrade_checker.log")
Expand Down Expand Up @@ -1095,19 +1095,20 @@ def validate_core_ids(containers):


# WEKAPP-578864
try:
catalog = json.loads(
subprocess.check_output(["weka", "debug", "config", "show", "catalogInfo"],
stderr=subprocess.DEVNULL
if V(weka_version) >= V("5.1.20"):
try:
catalog = json.loads(
subprocess.check_output(["weka", "debug", "config", "show", "catalogInfo"],
stderr=subprocess.DEVNULL
)
)
)
INFO("CHECKING FOR WEKA CATALOG INDEXING ENABLED")
if catalog.get("indexEnabled", False):
BAD("Catalog indexing must be disabled before upgrades (weka catalog config update --index-enabled false).")
else:
GOOD("Catalog indexing not running.")
except subprocess.CalledProcessError as e:
pass
INFO("CHECKING FOR WEKA CATALOG INDEXING ENABLED")
if catalog.get("indexEnabled", False):
BAD("Catalog indexing must be disabled before upgrades (weka catalog config update --index-enabled false).")
else:
GOOD("Catalog indexing not running.")
except subprocess.CalledProcessError as e:
pass


INFO("CHECKING FOR WEKA CLUSTER TASKS")
Expand Down