Browse Source

Bug 1278244 - Incorrect node information gathered by atomic-openshift-installer

Previously the output was a little confusing.  We didn't display anything about
the uninstalled hosts.
Brenton Leanhardt 9 năm trước cách đây
mục cha
commit
a552645b05
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      utils/src/ooinstall/cli_installer.py

+ 2 - 0
utils/src/ooinstall/cli_installer.py

@@ -343,6 +343,8 @@ def get_hosts_to_run_on(oo_cfg, callback_facts, unattended, force):
                 # anything.
                 if not force:
                     hosts_to_run_on.remove(host)
+        for new_host in set(hosts_to_run_on) - set(installed_hosts):
+            click.echo("{} is currently uninstalled".format(new_host))
         # for unattended either continue if they force install or exit if they didn't
         if unattended:
             if not force: