jawr / kontrolvm Goto Github PK
View Code? Open in Web Editor NEWKontrol panel for KVM
License: MIT License
Kontrol panel for KVM
License: MIT License
slightly longer email addresses, or activity reports get cut off too early, ie. "8 seconds ago" gets cut off to "8..." this has to be more dynamic regarding the resolution of the screen the website is opened on.
Also the user lists should be able to be sorted ascendingly and descendingly
Could limit the timeout on the sockets to make it more instant, or we could try a flush when stopping. Needs further attention either way.
Users should be able to see howmuch upload/download/totals they generated, with the possibility to be alarmed by email if they pass a certain amount of MB/GB (softlimit) and the possibility to have the VM forcefully suspended if they pass a preconfigured limit (hardlimit)
Link that has been used:
http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/debian-7.0.0-amd64-businesscard.iso
10.10.10.10 - - [05/May/2013 12:36:11] "GET /cmd/status/def2263f-5d7c-4a0c-b5be-58df58463c65/ HTTP/1.1" 200 -
10.10.10.10 - - [05/May/2013 12:36:16] "GET /cmd/abort/def2263f-5d7c-4a0c-b5be-58df58463c65/ HTTP/1.1" 200 -
10.10.10.10 - - [05/May/2013 12:37:19] "POST /cmd/ HTTP/1.1" 200 -
10.10.10.10 - - [05/May/2013 12:37:19] "GET /cmd/status/5ab4ef93-9e37-4fbb-a097-9aff7f882212/ HTTP/1.1" 200 -
[2013-05-05 12:37:20,879: ERROR/MainProcess] Task tasks.installationdisk.download_file[5ab4ef93-9e37-4fbb-a097-9aff7f882212] raised exception: IOError()
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery-3.0.12-py2.7.egg/celery/task/trace.py", line 224, in trace_task
R = retval = fun(_args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery-3.0.12-py2.7.egg/celery/task/trace.py", line 406, in protected_call
return self.run(_args, *_kwargs)
File "/srv/kontrolvm-node/tasks/installationdisk.py", line 32, in download_file
stream = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError
10.10.10.10 - - [05/May/2013 12:37:25] "GET /cmd/status/5ab4ef93-9e37-4fbb-a097-9aff7f882212/ HTTP/1.1" 200 -
The maximum diskspace should ask for an int value, not a dropdown menu.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.