Old killed images can't be manage in CLI, we need a command to clean it
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 |