glance lacks of the cli "glance task-delete"
Bug #1591918 reported by
Yafei Yu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Now glance has cli "glance task-create", "glance task-list", "glance task-show", but has no cli like "glance task-delete". If task creates failed, the failure infos store in database and we need the cli to delete those failure infos.
To post a comment you must log in.
According to the docs the tasks get deleted by themselves after a certain amount of time. So I don't think the CLI really needs this functionality, since tasks were designed so that they clean themselves up.
"Upon reaching a final state (success or error) a task resource is assigned an expiration datetime that’s displayed in the expires_at field. (The time between final state and expiration is configurable.) After that datetime, the task resource is subject to being deleted. The result of the task (for example, an imported image) will still exist." - http:// docs.openstack. org/developer/ glance/ tasks.html