kick-start will use cached image even if elements are newer

Bug #1415690 reported by Yvonne S.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Committed
Undecided
Peter Stachowski

Bug Description

Once you run './redstack kick-start <datastore>' the image is cached. If you then pull a more recent copy of the trove-integration repo and run kick-start again, it will use the cached image. It will do this even if the elements have changed.

A fix is proposed that would print out a message if the cached image directory is older than the elements directory (with an option to then force a rebuild of the image).

Yvonne S. (yvonnestac)
Changed in trove-integration:
assignee: nobody → Yvonne S. (yvonnestac)
Yvonne S. (yvonnestac)
Changed in trove-integration:
assignee: Yvonne S. (yvonnestac) → nobody
Changed in trove-integration:
assignee: nobody → Peter Stachowski (peterstac)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove-integration (master)

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

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

Reviewed: https://review.openstack.org/151348
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=2e3b7761d838b49e85997f62c998a11e602584e2
Submitter: Jenkins
Branch: master

commit 2e3b7761d838b49e85997f62c998a11e602584e2
Author: Peter Stachowski <email address hidden>
Date: Thu Jan 29 14:00:29 2015 -0500

    kick-start doesn't warn on stale image file

    Once you run './redstack kick-start <datastore>' the image is cached.
    If you then pull a more recent copy of the trove-integration repo and
    run kick-start again, it will use the cached image. It will do this
    even if the corresponding elements have changed.

    This fix checks all the files in the elements directory and prints
    out a message if the cached image directory is older than any of
    the files that it is built with. An option to force a rebuild of
    the image was also added.

    Change-Id: I0922c92525ab3ea8678d6dd067ce8bff7d961c31
    Co-Authored-By: Petr Malik <email address hidden>
    Closes-Bug: #1415690

Changed in trove-integration:
status: In Progress → Fix Committed
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.