Browse code

Add eval message when setting Cinder lvm.conf

We added an lvm filter for use when using Cinder's
LVM driver that would only scan devices that we have
actually deployed Cinder Volume Groups on.

This patch adds a simple output message to the setup
routine so we can more easily inspect what was found
and what has been set during devstack setup.

Change-Id: Iba5012caffd45dfb5143b6df954eed277445a60e

John Griffith authored on 2015/02/12 10:55:47
Showing 1 changed files
... ...
@@ -77,6 +77,7 @@ function configure_cinder_backend_conf_lvm {
77 77
     local line
78 78
 
79 79
     for pv_info in $(sudo pvs --noheadings -o name,vg_name --separator ';'); do
80
+        echo_summary "Evaluate PV info for Cinder lvm.conf: $pv_info"
80 81
         IFS=';' read pv vg <<< $pv_info
81 82
         for line in ${conf_entries}; do
82 83
             IFS='=' read label group <<< $line