SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020411ClearCenterclearglass-communitypublic2018-06-20 01:402018-06-20 07:41
ReporterNickH 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version7.4.0 Updates 
Target VersionFixed in Version 
Summary0020411: Repeating Error in ClearGLASS generates massive logs
DescriptionI 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?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007571)
user2
2018-06-20 07:41

Please report this to ClearGLASS - perhaps https://gitlab.com/clearglass/clearglass-community/issues? [^]

- Issue History
Date Modified Username Field Change
2018-06-20 01:40 NickH New Issue
2018-06-20 07:41 user2 Note Added: 0007571
2018-06-20 07:41 user2 Status new => resolved
2018-06-20 07:41 user2 Resolution open => no change required
2018-06-20 07:41 user2 Assigned To => user2
2018-06-20 07:41 user2 Status resolved => closed

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7