Windows volume driver: wrong exception cought
Bug #1356398 reported by
Lucian Petrut
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Lucian Petrut |
Bug Description
In the copy_vhd_disk method, it is assumed that if the copy operation fails, a wmi.x_wmi exception will be raised. This is wrong. In fact, none of the methods use there can raise such an exception in those circumstances.
At the moment, this method will not raise an exception even if the copy operation fails.
A check should be performed to see if the source image actually exists, and also check the return value of the according CIM_DataFile object Copy method in order to see if the operation failed or not.
tags: | added: drivers icehouse-backport-potential |
Changed in cinder: | |
status: | In Progress → New |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
status: | In Progress → Triaged |
Changed in cinder: | |
assignee: | nobody → Petrut Lucian (petrutlucian94) |
status: | Triaged → In Progress |
Changed in cinder: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/114171
Review: https:/