ClearFoundation Tracker - ClearCenter
View Issue Details
0020411ClearCenterclearglass-communitypublic2018-06-20 01:402018-06-20 07:41
NickH 
user2 
normalminoralways
closedno change required 
7.4.0 Updates 
 
0020411: Repeating Error in ClearGLASS generates massive logs
I am getting 2 repeating errors with ClearGLASS running and the errors generate 16 lines of logs every 2 minutes - 11,520 lines a day.

The errors are:
Jun 17 03:53:04 server journal: 0000033[1;31m2018-06-17 02:53:04,203 ERROR Dummy-1 methods - get_usage: Failed to execute: SELECT MAX(cores) AS cores, NON_NEGATIVE_DERIVATIVE(MAX(checks)) AS checks FROM usage WHERE time >= '2018-06-15 00:00:00'GROUP BY time(1d),owner#033[0m#015

and:
Jun 17 03:53:04 server journal: 0000033[1;31m2018-06-17 02:53:04,208 ERROR Dummy-1 log - log: Task mist.api.portal.tasks.check_new_versions[aeff6e9b-b4f5-4b61-80a3-8594b441a91a] raised unexpected: BadRequestError("Bad Request: Bad Request: Failed to parse results: {u'results': [{u'statement_id': 0}]}",)0000015
Jun 17 03:53:04 server journal: Traceback (most recent call last):0000015
Jun 17 03:53:04 server journal: File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task#015
Jun 17 03:53:04 server journal: R = retval = fun(*args, **kwargs)0000015
Jun 17 03:53:04 server journal: File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__#015
Jun 17 03:53:04 server journal: return self.run(*args, **kwargs)0000015
Jun 17 03:53:04 server journal: File "/mist.api/src/mist/api/portal/tasks.py", line 33, in check_new_versions#015
Jun 17 03:53:04 server journal: params = get_version_params(portal)0000015
Jun 17 03:53:04 server journal: File "/mist.api/src/mist/api/portal/tasks.py", line 25, in get_version_params#015
Jun 17 03:53:04 server journal: for key, value in get_current_portal_usage().items():0000015
Jun 17 03:53:04 server journal: File "/mist.api/src/mist/api/metering/methods.py", line 79, in get_current_portal_usage#015
Jun 17 03:53:04 server journal: usage = get_usage(owner_id='', full_days=2)0000015
Jun 17 03:53:04 server journal: File "/mist.api/src/mist/api/metering/methods.py", line 57, in get_usage#015
Jun 17 03:53:04 server journal: raise BadRequestError('Failed to parse results: %s' % results)0000015
Jun 17 03:53:04 server journal: BadRequestError: Bad Request: Bad Request: Failed to parse results: {u'results': [{u'statement_id': 0}]}0000033[0m#015

Please can the bugs be fixed urgently as they are spamming the logs?
No tags attached.
Issue History
2018-06-20 01:40NickHNew Issue
2018-06-20 07:41user2Note Added: 0007571
2018-06-20 07:41user2Statusnew => resolved
2018-06-20 07:41user2Resolutionopen => no change required
2018-06-20 07:41user2Assigned To => user2
2018-06-20 07:41user2Statusresolved => closed

Notes
(0007571)
user2   
2018-06-20 07:41   
Please report this to ClearGLASS - perhaps https://gitlab.com/clearglass/clearglass-community/issues? [^]