Old killed images can't be manage in CLI, we need a command to clean it

Bug #1943418 reported by Han Guangyu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
New
Undecided
Unassigned

Bug Description

The killed status of images is just a thing in v1. In v2, we are deprecating the 'killed' status, so it's allowed to restore image from 'saving' to 'queued' so that upload can be retried.

However, some old killed images from v1 may still exist in the DB. We can't check or list it in CLI.

> Maybe we need a glance-manage command to clean old killed images from the DB and a prompt message to tell operators to do that thing at some point?

Such as, add a "clean" agruments for "openstack image" command. The users could use "openstack image clean" command to clean the old killed images form database. And When users use "list" command, a check of killed images will be run. If some old kiled images are in the database, it will prompt that “Some old images with killed status is existing in database, and the 'killed' status has been deprecated. You can use 'openstack image clean' command to clean them.”

Looking forword to your comments.

description: updated
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.