IOError should be FileNotFound on nova.crypt

Bug #883300 reported by Nachi Ueno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Christopher Yeoh
OpenStack Quality Assurance
Fix Released
Medium
Unassigned

Bug Description

fetch ca throws IOError, when the file is not exist. This should be FileNotFound exception

https://github.com/openstack/nova/blob/stable/diablo/nova/crypto.py#L93

Nachi Ueno (nati-ueno)
Changed in openstack-qa:
assignee: nobody → Nachi Ueno (nati-ueno)
importance: Undecided → Medium
status: New → Confirmed
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Nachi Ueno (nati-ueno) wrote :
tags: added: forward-port-needed
Changed in openstack-qa:
status: Confirmed → In Progress
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
assignee: Nachi Ueno (nati-ueno) → nobody
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/11974

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

Reviewed: https://review.openstack.org/11974
Committed: http://github.com/openstack/nova/commit/0d2523f029b291817551e33fe15cd7ab33fe2102
Submitter: Jenkins
Branch: master

commit 0d2523f029b291817551e33fe15cd7ab33fe2102
Author: Chris Yeoh <email address hidden>
Date: Sat Aug 25 15:51:37 2012 +0930

    Stop fetch_ca from throwing IOError exceptions

    Fixes bug #883300

    Fixes problem where fetch_ca could throw an IOError exception rather
    than a Nova specific exception.
    Adds FileError exception.
    Fixes other functions in crypto.py that had very similar problems.

    Change-Id: Ic2e43c35ad58c67d33156c53d2a41910dfdf8678

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.2
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
status: In Progress → Fix Released
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.