Skip to content

Commit e5fb863

Browse files
committed
MultiLinstor: show unconnectable hosts
1 parent bf859f0 commit e5fb863

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

linstor/linstorapi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2774,7 +2774,9 @@ def connect(self):
27742774
conn_errors.append(lne)
27752775

27762776
if len(conn_errors) == len(self._ctrl_host_list):
2777-
raise LinstorNetworkError("Unable to connect to any of the given controller hosts.", conn_errors)
2777+
raise LinstorNetworkError(
2778+
"Unable to connect to any of the given controller hosts: " + str(self._ctrl_host_list),
2779+
conn_errors)
27782780

27792781
@classmethod
27802782
def controller_uri_list(cls, controller_list):

0 commit comments

Comments
 (0)