Glance-manage db purge not remove rows that was created less then one day

Bug #1643287 reported by Avi Avraham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Alexander Bashmakov

Bug Description

Currently, the value of glance-manage db purge --age_in_days cannot be 0.

This is annoying for those testing scenarios in which a large number of images are created and deleted. It would be useful to use --age_in_days=0 to purge the deleted rows immediately. Nothing seems to be gained by having to wait a day before doing the delete.

Changed in glance:
assignee: nobody → Alexander Bashmakov (abashmak)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: Confirmed → In Progress
Revision history for this message
Hemanth Makkapati (hemanth-makkapati) wrote :

Is testing the only motivation here? If so, I'm sure there are ways to advance time for testing purposes.

Changed in glance:
importance: Undecided → Low
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/407177
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=d4f07cc32268c3b27047be77a6449667d931d903
Submitter: Jenkins
Branch: master

commit d4f07cc32268c3b27047be77a6449667d931d903
Author: Alexander Bashmakov <email address hidden>
Date: Mon Dec 5 19:56:42 2016 +0000

    Allow purging of records less than 1 day old.

    Adding ability to purge records less than 1 day old, using the
    glance-manage db_purge utility.

    Closes-Bug: #1643287

    Change-Id: Ibaea583d49bd5d09ad2e6bf99d2c0efaac5cb4ec

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/418993

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 14.0.0.0b3

This issue was fixed in the openstack/glance 14.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (stable/newton)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/418993

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.