Activity log for bug #1157347

Date Who What changed Old value New value Message
2013-03-19 18:39:26 Lorin Hochstein bug added bug
2013-03-19 18:39:51 Lorin Hochstein summary Confusing error messages if database has not been initialized Unclear error message if database has not been initialized
2013-03-19 18:40:14 Lorin Hochstein tags ops
2013-03-19 18:40:28 Lorin Hochstein description Error condition: A "glance" database has been created, and the correct credentials are in /etc/glance/glance-*.conf files, but "glance_mange version_control 0" and "glance_manage db_sync" have not yet been run. When a user does a "glance index", then the glance-api.log will contain this trace, suggesting an error in glance-registry 2013-03-19 14:09:14 ERROR glance.registry.client [f8bb7547-2c91-4ae7-9d02-ded5fb07ebe0 8a44600ac8c6402fb781584022ceeb91 8283efb2e53d46e1a6bdbb2bdef9cb9a] Registry request GET /images/detail Exception 2013-03-19 14:09:14 29229 TRACE glance.registry.client Traceback (most recent call last): 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/registry/client.py", line 89, in do_request 2013-03-19 14:09:14 29229 TRACE glance.registry.client action, **kwargs) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 63, in wrapped 2013-03-19 14:09:14 29229 TRACE glance.registry.client return func(self, *args, **kwargs) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 444, in do_request 2013-03-19 14:09:14 29229 TRACE glance.registry.client headers=headers) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 80, in wrapped 2013-03-19 14:09:14 29229 TRACE glance.registry.client return func(self, method, url, body, headers) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 581, in _do_request 2013-03-19 14:09:14 29229 TRACE glance.registry.client raise exception.ServerError() 2013-03-19 14:09:14 29229 TRACE glance.registry.client ServerError: The request returned 500 Internal Server Error. However, glance-registry will not contain any information about the nature of the error. It would help admins if the glance-registry did a check for this and outputted a meaningful error message to its log. This was tested against folsom on Ubuntu 12.04 (cloud archive). Error condition: A "glance" database has been created, and the correct credentials are in /etc/glance/glance-*.conf files, but "glance_mange version_control 0" and "glance_manage db_sync" have not yet been run. When a user does a "glance index", then the glance-api.log will contain this trace, suggesting an error in glance-registry 2013-03-19 14:09:14 ERROR glance.registry.client [f8bb7547-2c91-4ae7-9d02-ded5fb07ebe0 8a44600ac8c6402fb781584022ceeb91 8283efb2e53d46e1a6bdbb2bdef9cb9a] Registry request GET /images/detail Exception 2013-03-19 14:09:14 29229 TRACE glance.registry.client Traceback (most recent call last): 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/registry/client.py", line 89, in do_request 2013-03-19 14:09:14 29229 TRACE glance.registry.client action, **kwargs) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 63, in wrapped 2013-03-19 14:09:14 29229 TRACE glance.registry.client return func(self, *args, **kwargs) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 444, in do_request 2013-03-19 14:09:14 29229 TRACE glance.registry.client headers=headers) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 80, in wrapped 2013-03-19 14:09:14 29229 TRACE glance.registry.client return func(self, method, url, body, headers) 2013-03-19 14:09:14 29229 TRACE glance.registry.client File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 581, in _do_request 2013-03-19 14:09:14 29229 TRACE glance.registry.client raise exception.ServerError() 2013-03-19 14:09:14 29229 TRACE glance.registry.client ServerError: The request returned 500 Internal Server Error. However, /var/log/glance/registry.log will not contain any information about the nature of the error. It would help admins if the glance-registry did a check for this and outputted a meaningful error message to its log. This was tested against folsom on Ubuntu 12.04 (cloud archive).
2013-06-18 21:32:26 Pixy Yuan glance: assignee Pixy Yuan (pixy-bupt)
2013-06-18 21:32:53 Pixy Yuan glance: assignee Pixy Yuan (pixy-bupt)
2013-06-18 21:33:42 Pixy Yuan glance: status New Confirmed
2013-06-18 22:53:53 Pixy Yuan bug task added glance (openSUSE)
2014-01-06 07:10:14 Lee Li glance: assignee Lee Li (lilinguo)
2014-09-11 19:28:24 Mark Washenberger glance: importance Undecided Low
2015-08-18 01:56:16 Rochelle Grober bug added subscriber Rochelle Grober
2016-01-06 14:17:51 Flavio Percoco glance: assignee Lee Li (lilinguo)
2016-01-06 14:18:05 Flavio Percoco glance: status Confirmed Incomplete
2016-07-18 22:06:32 Dharini Chandrasekar glance: assignee Dharini Chandrasekar (dharini-chandrasekar)
2016-08-29 15:54:48 Dharini Chandrasekar glance: assignee Dharini Chandrasekar (dharini-chandrasekar)
2021-06-17 07:55:09 Abhishek Kekane glance: status Incomplete Won't Fix