From 045f1f1b7596be312d2a7513dccf758174d04b3d Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Tue, 27 Sep 2016 16:53:00 +0000 Subject: [PATCH] Clean up validation error message We should no longer need to specify that this is an error twice, and it would be nice to be more explicit about what the error message is. Previously it just showed up as a random sentence appended to the log message. Change-Id: I2fea86b2c8afed1cba7fb1b7ff85c6a5eabf57ec --- instack_undercloud/undercloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instack_undercloud/undercloud.py b/instack_undercloud/undercloud.py index 63d4cb021..5ee7560fb 100644 --- a/instack_undercloud/undercloud.py +++ b/instack_undercloud/undercloud.py @@ -644,9 +644,9 @@ def _validate_configuration(): _check_sysctl() _validate_network() except RuntimeError as e: - LOG.error('ERROR: An error occured during configuration validation, ' + LOG.error('An error occured during configuration validation, ' 'please check your host configuration and try again. ' - '{error}'.format(error=e)) + 'Error message: {error}'.format(error=e)) sys.exit(1)