powervm_img_remote_path and powervm_img_local_path required but not enforced by powervm driver

Bug #1132931 reported by David Peraza
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
David Peraza

Bug Description

powervm_img_local_path and powervm_img_remote_path are required by the powervm driver for very much every supported operation. However, driver loads without issues and user discovers the config options where not set when they get strange "no such file or directory erros" to simplify debugging and as an early detection, I recommend raising a well defined exception that will let user know they need to set these variables ad driver load time. That is driver will fail to load if this vars are not set to valid Unix paths.

Changed in nova:
status: New → Confirmed
David Peraza (dperaza)
Changed in nova:
assignee: nobody → David Peraza (dperaza)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/22907

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/22907
Committed: http://github.com/openstack/nova/commit/3036eb4fea76a389eb7f8a13251f19076e3a7d8c
Submitter: Jenkins
Branch: master

commit 3036eb4fea76a389eb7f8a13251f19076e3a7d8c
Author: David Peraza <email address hidden>
Date: Mon Feb 25 05:49:04 2013 +0000

    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

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.