configdrive should use contextmanager for cleanup

Bug #1092248 reported by Michael Still
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Michael Still

Bug Description

Instead of requiring callers to remember to call cleanup().

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/18454

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

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

commit 0edb7d4db9d20afc88be8b562d3301a5bd667138
Author: Michael Still <email address hidden>
Date: Thu Dec 20 13:56:00 2012 +1100

    Provide a configdrive helper which uses contextlib.

    As suggested on review of Ib23d117ad4cd5dc92298a0812eb468f7d557417c.

    Resolves bug 1092248.

    Change-Id: I2829ac60732b86b9853983b03ef6f30f5c5a3283

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-2 → 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.