File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,16 @@ def check(args: typing.Sequence[str]) -> int:
185
185
remote_ret = next (check_remote_yield )
186
186
if remote_ret > ret :
187
187
ret = remote_ret
188
+ if not parsed_args .json :
189
+ print ('****** summary ******' )
190
+ if ret == 0 :
191
+ CheckResultInteractiveHandler .write_in_color (sys .stdout , constants .GREEN , '[INFO]' )
192
+ sys .stdout .write (' Please run "crm cluster health sles16 --fix" on on any one of above nodes, after migrating all the nodes to SLES 16.\n ' )
193
+ CheckResultInteractiveHandler .write_in_color (sys .stdout , constants .GREEN , '[PASS]' )
194
+ sys .stdout .write (' This cluster is good to migrate to SLES 16.\n ' )
195
+ else :
196
+ CheckResultInteractiveHandler .write_in_color (sys .stdout , constants .RED , '[FAIL]' )
197
+ sys .stdout .write (' Please fix all the "FAIL" problems above before migrating to SLES 16.\n ' )
188
198
return ret
189
199
190
200
You can’t perform that action at this time.
0 commit comments