mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #192] VM Page could not show Usage Statistics #148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Paul-LKW on GitHub (Jan 13, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/192
As the following screen I could not see the Statistics for every VM, but the overview page could show the statistics graph.
Would it need any additional configuration ?
@retspen commented on GitHub (Jan 13, 2014):
Update project and restart apache
@Paul-LKW commented on GitHub (Jan 13, 2014):
Hi retspen:
I just perform "git pull" inside the webvirtmgr directory and restarted apache, the CPU information show issue fixed but for this Usage Statistics is not, it is still could not show.
@retspen commented on GitHub (Jan 13, 2014):
What browser?
@Paul-LKW commented on GitHub (Jan 13, 2014):
Tried Firefox and Chrome also could not show.
@retspen commented on GitHub (Jan 13, 2014):
If the some errors in Conlose Chrome?
@Paul-LKW commented on GitHub (Jan 13, 2014):
I checked again and could not find any error message, would I need enable the Debug mode to see does any message ?
@Paul-LKW commented on GitHub (Jan 13, 2014):
I just enabled the Debug mode and still no any error message.
@retspen commented on GitHub (Jan 13, 2014):
Check cpu info. URL: http://x.x.x.x/info/inst/cpu/host_id/vm_name/ - where host_id your id and vm_name your vm name.
@Paul-LKW commented on GitHub (Jan 14, 2014):
Hi retspen, Do you mean below details;
{"labels": ["", "", "", "", "", "", "", "", "", ""], "datasets": [{"pointColor": "rgba(241,72,70,1)", "strokeColor": "rgba(241,72,70,1)", "data": [0, 0], "fillColor": "rgba(241,72,70,0.5)", "pointStrokeColor": "#fff"}]}
@retspen commented on GitHub (Jan 14, 2014):
Host_id - this is number. Add fist - 1 etc. On open page overview, graphics not showing too?
@retspen commented on GitHub (Jan 14, 2014):
Can you show html on page instance ?
@Paul-LKW commented on GitHub (Jan 14, 2014):
Do you mean to show HTML code ?
But I just find in the Tools > Developer Tools from Chrome it is keeping to show
GET http://X.X.X.X/info/inst/disk/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
GET http://X.X.X.X/info/inst/disk/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
GET http://X.X.X.X/info/inst/net/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
GET http://X.X.X.X/info/inst/cpu/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
GET http://X.X.X.X/info/inst/cpu/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
GET http://X.X.X.X/info/inst/disk/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
GET http://X.X.X.X/info/inst/net/3/Testing/ 500 (Internal Server Error) jquery-1.10.2.js:8706
@retspen commented on GitHub (Jan 14, 2014):
Stop apache service and run developer mode with debug. Change in file settings.py:
DEBUG=False to DEBUG=True
and run django
$ ./manage.py runserver 0:8000
then open url http://x.x.x.x:8000/ and open developer tools in chrome
@Paul-LKW commented on GitHub (Jan 14, 2014):
This mode could show the VM stat graph without any problem and no former error.
What happened ?
@retspen commented on GitHub (Jan 14, 2014):
Revert all changes and try
@Paul-LKW commented on GitHub (Jan 14, 2014):
All error occur again !!!
Will it my apache has problem ?
@retspen commented on GitHub (Jan 14, 2014):
Change in file settings.py:
DEBUG=False to DEBUG=True
restart service apache and open url:
http://X.X.X.X/info/inst/disk/3/Testing
have data or errors?
@Paul-LKW commented on GitHub (Jan 14, 2014):
Continue
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@xxxxxxx.xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
@retspen commented on GitHub (Jan 14, 2014):
Show apache error log
@Paul-LKW commented on GitHub (Jan 14, 2014):
[Tue Jan 14 17:09:57 2014] [notice] child pid 6951 exit signal Segmentation fault (11)
[Tue Jan 14 17:09:58 2014] [notice] child pid 6978 exit signal Segmentation fault (11)
[Tue Jan 14 17:09:59 2014] [notice] child pid 6996 exit signal Segmentation fault (11)
[Tue Jan 14 17:10:00 2014] [notice] child pid 7014 exit signal Segmentation fault (11)
[Tue Jan 14 17:10:09 2014] [notice] child pid 7032 exit signal Segmentation fault (11)
@Paul-LKW commented on GitHub (Jan 14, 2014):
But in the webvirtmgr-error_log;
[Tue Jan 14 17:10:00 2014] [error] /var/www/webvirtmgr/hostdetail/views.py:6: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
[Tue Jan 14 17:10:00 2014] [error] from django.utils import simplejson
[Tue Jan 14 11:10:09 2014] [error] /var/www/webvirtmgr/instance/views.py:8: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
[Tue Jan 14 11:10:09 2014] [error] from django.utils import simplejson
[Tue Jan 14 17:10:09 2014] [error] [client X.X.X.X] Premature end of script headers: wsgi.py, referer: http://X.X.X.X:8080/host/3/
[Tue Jan 14 17:10:09 2014] [error] [client X.X.X.X] Premature end of script headers: wsgi.py
@retspen commented on GitHub (Jan 14, 2014):
What ver django you use ???
@Paul-LKW commented on GitHub (Jan 14, 2014):
version 1.6.1
@retspen commented on GitHub (Jan 14, 2014):
Oh men :-) Need django 1.5.5
@Paul-LKW commented on GitHub (Jan 14, 2014):
Oh, I just think use the new version should be more stable.
@Paul-LKW commented on GitHub (Jan 14, 2014):
Let me roll back to 1.5.5 to report work or not.
@Paul-LKW commented on GitHub (Jan 14, 2014):
Just roll back to django 1.5.5 but issue still same.
@retspen commented on GitHub (Jan 14, 2014):
and error same too in webvirtmgr-error_log?
@Paul-LKW commented on GitHub (Jan 14, 2014):
Yes.
[Tue Jan 14 17:39:22 2014] [error] [client X.X.X.X] Premature end of script headers: wsgi.py, referer: http://X.X.X.X/instance/3/Windows08_R2/
[Tue Jan 14 17:39:22 2014] [error] [client X.X.X.X] Premature end of script headers: wsgi.py, referer: http://X.X.X.X/instance/3/Windows08_R2/
[Tue Jan 14 17:39:22 2014] [error] [client X.X.X.X] Premature end of script headers: wsgi.py, referer: http://X.X.X.X/instance/3/Windows08_R2/
@retspen commented on GitHub (Jan 14, 2014):
CentOS 6.5 ?
@Paul-LKW commented on GitHub (Jan 14, 2014):
Yes.
@Paul-LKW commented on GitHub (Jan 14, 2014):
In fact the Control Panel will sometime show Internal Server Error but just when I press reload (F5) it will return normal.
@retspen commented on GitHub (Jan 14, 2014):
Remove apache and try gunicorn and nginx. https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr#5-gunicorn-and-supervisor-only-for-geeks
@Paul-LKW commented on GitHub (Jan 14, 2014):
OK, Let me try this later at home.
Thanks again for your effort for this Control Panel, always keeping update OS and software version is not easy.
@bsavelev commented on GitHub (Jan 29, 2014):
maybe reference to #212 #213
@retspen commented on GitHub (Jan 30, 2014):
Move to webvirtmgr Nignx + supervisor + gunicorn