From: Mark Sturdevant Date: Tue, 23 Sep 2014 05:45:14 +0000 (-0700) Subject: Fix ssh_host_key_file default in help and config.sample.conf X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=49ddd125a37e50cc2afe1ebecacac1a34742f478;p=openstack-build%2Fcinder-build.git Fix ssh_host_key_file default in help and config.sample.conf The commit message and the actual default say the default value for ssh_host_key_file is $state_path/ssh_known_hosts, but the config.conf.sample and the config opts help say it is "$state_path/known_hosts". Fix the help and config.conf.sample to match the actual default. Closes-Bug: 1372765 Change-Id: I51a2918155a27afcf48eda01f32774ce0d346d06 --- diff --git a/cinder/ssh_utils.py b/cinder/ssh_utils.py index 98af05ffa..e2ef25e9a 100644 --- a/cinder/ssh_utils.py +++ b/cinder/ssh_utils.py @@ -44,7 +44,7 @@ ssh_opts = [ default='$state_path/ssh_known_hosts', help='File containing SSH host keys for the systems with which ' 'Cinder needs to communicate. OPTIONAL: ' - 'Default=$state_path/known_hosts'), + 'Default=$state_path/ssh_known_hosts'), ] CONF = cfg.CONF diff --git a/etc/cinder/cinder.conf.sample b/etc/cinder/cinder.conf.sample index 4ba44f58e..8bcdcd402 100644 --- a/etc/cinder/cinder.conf.sample +++ b/etc/cinder/cinder.conf.sample @@ -283,7 +283,7 @@ # File containing SSH host keys for the systems with which # Cinder needs to communicate. OPTIONAL: -# Default=$state_path/known_hosts (string value) +# Default=$state_path/ssh_known_hosts (string value) #ssh_hosts_key_file=$state_path/ssh_known_hosts