tripleo-cd script leaks lock files

Bug #1259010 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Derek Higgins

Bug Description

We need a trap to remove the randomly named .lock file - they make a real mess of /tmp otherwise.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

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

Changed in tripleo:
assignee: nobody → Derek Higgins (derekh)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/142426
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=9219353ba4fbdbda3e9aa2a7eee87a7b7c57c84e
Submitter: Jenkins
Branch: master

commit 9219353ba4fbdbda3e9aa2a7eee87a7b7c57c84e
Author: Derek Higgins <email address hidden>
Date: Wed Dec 17 11:52:13 2014 +0000

    Cleanup lockfile with trap

    Using a trap should ensure the lockfile is cleanup regardless of how
    tripleo-cd.sh exited.

    Closes-Bug: #1259010
    Change-Id: Id3a13414062d4bce53c56a914d4dd9eac7ad722f

Changed in tripleo:
status: In Progress → Fix Committed
Derek Higgins (derekh)
Changed in tripleo:
status: Fix Committed → 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.