Activity log for bug #1372888

Date Who What changed Old value New value Message
2014-09-23 11:07:37 Abhishek Kekane bug added bug
2014-09-23 11:07:52 Abhishek Kekane glance: assignee Abhishek Kekane (abhishek-kekane)
2014-09-23 11:08:40 Abhishek Kekane description g-api raise 500 error if filesystem_store_datadirs and filesystem_store_datadir both specified If both filesystem_store_datadirs and filesystem_store_datadir parameters specified in glance-api.conf file then while creating new image 500 internal server error will be raised. Ideally it should raise 'BadStoreConfiguration' exception and glance-api service should not be started. Stack trace on the console: 2014-09-23 03:15:24.407 7594 ERROR glance.api.v1.upload_utils [f351b844-8b1e-429c-8943-a79b331311be 41d56c1d7e134fdb8a1dcfe4ea3c82de 73078aaf41fb47b5bb0cfd4e9fdc79fb - - -] Failed to upload image 288f7386-bddf-4b2b-a97f-49d2814f7b99 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils Traceback (most recent call last): 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils File "/opt/stack/glance/glance/api/v1/upload_utils.py", line 106, in upload_data_to_store 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils store) 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils File "/usr/local/lib/python2.7/dist-packages/glance_store/backend.py", line 342, in store_add_to_backend 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils (location, size, checksum, metadata) = store.add(image_id, data, size) 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils File "/usr/local/lib/python2.7/dist-packages/glance_store/driver.py", line 149, in add_disabled 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils raise exceptions.StoreAddDisabled 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils StoreAddDisabled: None Steps to reproduce: 1. edit glance-api.conf file and specify values for both filesystem_store_datadirs and filesystem_store_datadir options 2. Restart the glance-api service 3. Hit create-image api g-api raise 500 error if filesystem_store_datadirs and filesystem_store_datadir both specified If both filesystem_store_datadirs and filesystem_store_datadir parameters specified in glance-api.conf file then while creating new image 500 internal server error will be raised. Ideally it should raise 'BadStoreConfiguration' exception and glance-api service should not be started. Stack trace on the console: 2014-09-23 03:15:24.407 7594 ERROR glance.api.v1.upload_utils [f351b844-8b1e-429c-8943-a79b331311be 41d56c1d7e134fdb8a1dcfe4ea3c82de 73078aaf41fb47b5bb0cfd4e9fdc79fb - - -] Failed to upload image 288f7386-bddf-4b2b-a97f-49d2814f7b99 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils Traceback (most recent call last): 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils File "/opt/stack/glance/glance/api/v1/upload_utils.py", line 106, in upload_data_to_store 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils store) 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils File "/usr/local/lib/python2.7/dist-packages/glance_store/backend.py", line 342, in store_add_to_backend 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils (location, size, checksum, metadata) = store.add(image_id, data, size) 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils File "/usr/local/lib/python2.7/dist-packages/glance_store/driver.py", line 149, in add_disabled 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils raise exceptions.StoreAddDisabled 2014-09-23 03:15:24.407 7594 TRACE glance.api.v1.upload_utils StoreAddDisabled: None Steps to reproduce: 1. edit glance-api.conf file and specify values for both filesystem_store_datadirs and filesystem_store_datadir options 2. Restart the glance-api service 3. Hit create-image api/upload image using horizon
2014-09-23 20:08:57 Mark Washenberger tags ntt juno-rc1-potential ntt
2014-09-23 20:09:10 Mark Washenberger glance: importance Undecided Medium
2014-09-23 20:09:19 Mark Washenberger glance: status New Confirmed
2014-09-23 21:30:08 Kentaro Takeda bug added subscriber Kentaro Takeda
2014-09-24 01:04:25 Tomoko Inoue bug added subscriber Tomoko Inoue
2014-09-26 06:25:54 OpenStack Infra glance: status Confirmed In Progress
2014-10-03 13:23:18 Dolph Mathews tags juno-rc1-potential ntt juno-rc-potential ntt
2014-10-08 11:10:26 OpenStack Infra glance: status In Progress Fix Committed
2014-10-09 13:32:39 Thierry Carrez glance: milestone juno-rc2
2014-10-09 13:34:32 Thierry Carrez tags juno-rc-potential ntt ntt
2014-10-09 16:06:55 OpenStack Infra glance: status Fix Committed Fix Released
2014-10-16 08:21:39 Thierry Carrez glance: milestone juno-rc2 2014.2