Activity log for bug #1372564

Date Who What changed Old value New value Message
2014-09-22 16:58:52 Mike Fedosin bug added bug
2014-09-22 17:41:02 Louis Taylor glance: status New Confirmed
2014-09-22 21:01:21 Mike Fedosin description If the image is deleted (i.e. its status changed to 'deleted' in db) when it's uploading through image-upload command in v2, its status surprisingly switches from 'deleted' to 'active' without any exception. There is the code that should handle NotFound exception in that case https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py:77 except exception.NotFound as e: msg = (_("Image %(id)s could not be found after upload." "The image may have been deleted during the upload: " "%(error)s Cleaning up the chunks uploaded") % {'id': image_id, 'error': utils.exception_to_str(e)}) but it never executes because the exception is not raised. In v1 this problem is solved with explicitly passing from_state argument, but in v2 it's not possible. If the image is deleted (i.e. its status changed to 'deleted' in db) when it's uploading through image-upload command in v2, its status surprisingly switches from 'deleted' to 'active' without any exception. There is the code that should handle NotFound exception in that case https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py :77 except exception.NotFound as e: msg = (_("Image %(id)s could not be found after upload." "The image may have been deleted during the upload: " "%(error)s Cleaning up the chunks uploaded") % {'id': image_id, 'error': utils.exception_to_str(e)}) but it never executes because the exception is not raised. In v1 this problem is solved with explicitly passing from_state argument, but in v2 it's not possible.
2014-09-23 08:09:20 Mike Fedosin glance: assignee Mike Fedosin (mfedosin)
2014-09-23 20:07:22 Mark Washenberger glance: importance Undecided High
2014-09-23 20:08:19 Mark Washenberger tags juno-rc1-potential
2014-09-25 11:36:59 OpenStack Infra glance: status Confirmed In Progress
2014-10-03 13:23:14 Dolph Mathews tags juno-rc1-potential juno-rc-potential
2014-10-16 14:26:47 Thierry Carrez tags juno-rc-potential juno-backport-potential
2014-12-04 14:54:59 Mike Fedosin tags juno-backport-potential juno-backport-potential kilo-1
2015-01-07 21:15:14 Nikhil Komawar glance: milestone kilo-2
2015-01-08 07:46:03 Tomoko Inoue bug added subscriber Tomoko Inoue
2015-01-31 04:28:19 Ian Cordasco tags juno-backport-potential kilo-1 juno-backport-potential
2015-02-03 15:29:22 Thierry Carrez glance: milestone kilo-2 kilo-3
2015-03-19 19:21:18 Thierry Carrez glance: milestone kilo-3 kilo-rc1
2015-03-31 21:49:56 Nikhil Komawar tags juno-backport-potential juno-backport-potential kilo-rc-potential
2015-03-31 21:49:59 Nikhil Komawar glance: milestone kilo-rc1
2015-04-30 13:17:18 Thierry Carrez tags juno-backport-potential kilo-rc-potential juno-backport-potential
2015-06-12 09:35:03 Flavio Percoco glance: status In Progress Fix Committed
2015-06-12 09:35:09 Flavio Percoco nominated for series glance/juno
2015-06-12 09:35:09 Flavio Percoco bug task added glance/juno
2015-06-12 09:35:19 Flavio Percoco glance: assignee Mike Fedosin (mfedosin)
2015-06-12 09:35:23 Flavio Percoco glance/juno: status New Fix Committed
2015-06-12 09:35:26 Flavio Percoco glance/juno: importance Undecided High
2015-06-12 09:35:41 Flavio Percoco glance: status Fix Committed Fix Released
2015-06-12 09:36:16 Flavio Percoco nominated for series glance/kilo
2015-06-12 09:36:16 Flavio Percoco bug task added glance/kilo
2015-06-12 09:36:23 Flavio Percoco glance/kilo: status New Fix Released
2015-06-12 09:36:30 Flavio Percoco glance: status Fix Released Invalid
2015-06-12 09:36:37 Flavio Percoco glance/juno: status Fix Committed Fix Released
2015-06-12 09:36:40 Flavio Percoco glance/kilo: importance Undecided High
2016-01-14 15:10:12 Darja Shakhray glance: assignee Darja Shakhray (dshakhray)
2016-02-02 12:43:06 OpenStack Infra glance: status Invalid In Progress
2016-02-03 00:53:31 Wenjun Wang glance/kilo: assignee Wenjun Wang (10191230-b)
2016-02-03 01:20:09 Wenjun Wang glance/kilo: assignee Wenjun Wang (10191230-b)