Activity log for bug #1943418

Date Who What changed Old value New value Message
2021-09-13 06:17:45 Han Guangyu bug added bug
2021-09-13 06:20:08 Han Guangyu bug added subscriber Dan Smith
2021-09-14 01:43:00 Han Guangyu bug added subscriber Abhishek Kekane
2022-09-22 10:12:16 Han Guangyu 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. If this scheme could be accepted, I can realize it. And if you have ideas about specific plans, welcome to discuss it. 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.