From 83de2eca82567c3630b0b677f962aa0a6cd5eb20 Mon Sep 17 00:00:00 2001 From: Xicheng Chang Date: Fri, 6 Jan 2017 16:01:46 -0800 Subject: [PATCH] Fix cluster_id is not int compatible bug. Change-Id: I3788c5c02a54961ddbd730a6dd40b6e68404cc2b --- compass/actions/install_callback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compass/actions/install_callback.py b/compass/actions/install_callback.py index aae955a6..14d26399 100644 --- a/compass/actions/install_callback.py +++ b/compass/actions/install_callback.py @@ -59,7 +59,7 @@ def os_installed( for cluster_id, clusterhost_ready in clusterhosts_ready.items(): if not clusterhost_ready and os_installed_triggered: continue - + cluster_id = int(cluster_id) cluster_info = util.ActionHelper.get_cluster_info( cluster_id, user) adapter_id = cluster_info[const.ADAPTER_ID]