From 3036eb4fea76a389eb7f8a13251f19076e3a7d8c Mon Sep 17 00:00:00 2001 From: David Peraza Date: Mon, 25 Feb 2013 05:49:04 +0000 Subject: Makes sure required powervm config options are set Fixes bug 1132931 Defaulting values of powervm_img_local_path and powervm_img_remote_path configuration options. Change-Id: I310422bccb84fc0ae12e43b06b4d85e683a91daf --- nova/virt/powervm/driver.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nova/virt/powervm/driver.py b/nova/virt/powervm/driver.py index 892ac34ef..ece04fa93 100755 --- a/nova/virt/powervm/driver.py +++ b/nova/virt/powervm/driver.py @@ -41,11 +41,13 @@ powervm_opts = [ help='PowerVM manager user password', secret=True), cfg.StrOpt('powervm_img_remote_path', - default=None, - help='PowerVM image remote path'), + default='/home/padmin', + help='PowerVM image remote path where images will be moved.' + ' Make sure this path can fit your biggest image in glance'), cfg.StrOpt('powervm_img_local_path', - default=None, - help='Local directory to download glance images to') + default='/tmp', + help='Local directory to download glance images to.' + ' Make sure this path can fit your biggest image in glance') ] CONF = cfg.CONF -- cgit