Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Update warning message when discovery scan times out.
Browse files Browse the repository at this point in the history
Thanks to chambrid for the review.
  • Loading branch information
Noah Lavine committed Dec 15, 2017
1 parent 986eb96 commit 573d587
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rho/host_discovery.py
Expand Up @@ -146,7 +146,8 @@ def create_ping_inventory(vault, vault_pass, profile_ranges, profile_port,
except ansible_utils.AnsibleTimeoutException:
# If the discovery scan times out, we'll just parse whatever
# information we have in the log file.
log.warning('Host discovery timed out before completion.')
log.warning('Host discovery timed out. Gathering available host '
'information to proceed with scan.')

with open(PING_LOG_PATH, 'r') as ping_log:
success_hosts, failed_hosts, unreachable_hosts = \
Expand Down

0 comments on commit 573d587

Please sign in to comment.