Commit graph

291 commits

Author SHA1 Message Date
Jordan Rodgers
7aadd423e7 add allowed users setting for current students, replace all user stuff with user dict, add beginning of vnc cleanup 2018-02-14 00:57:28 -05:00
Jordan Rodgers
6d71f49a7a open console in new tab 2018-02-13 01:31:06 -05:00
Jordan Rodgers
be0cba852d actually use the right port when starting proxmox vnc session 2018-02-12 23:46:50 -05:00
Jordan Rodgers
63fd8c3e2f only add tunnel to list if it gets set up 2018-02-12 23:30:44 -05:00
Jordan Rodgers
545ca65930 ignore already set up ssh tunnels, use correct params for novnc 2018-02-12 23:29:18 -05:00
Jordan Rodgers
8e48bb1c95 start websockify once with gunicorn config 2018-02-12 21:48:00 -05:00
Jordan Rodgers
3b1740c641 add proxmox vnc command, check if targets file exists before retrieving entries 2018-02-12 21:25:06 -05:00
Jordan Rodgers
58863732af add sshtunnel requirement 2018-02-12 21:04:23 -05:00
Jordan Rodgers
576c6c1338 beginning of vnc work, hopefully some of this works 2018-02-12 20:55:09 -05:00
Jordan Rodgers
e0c564269f properly expire password upon user creation for template 2018-02-12 13:15:07 -05:00
Jordan Rodgers
d7541fe356 disable expiring password to troubleshoot 2018-02-12 12:49:06 -05:00
Jordan Rodgers
451f992d8f enabling VM stop on expire day, add logging for template provisioning 2018-02-12 12:22:46 -05:00
Jordan Rodgers
c2c91b9f37 remove secrets module for generating passwords until this works with python 3.6 2018-02-11 22:02:06 -05:00
Jordan Rodgers
4a2df4d979 remove ssh queue 2018-02-11 21:15:39 -05:00
Jordan Rodgers
f5a36d6f1e remove pickle fix and add pyc to gitignore 2018-02-11 21:12:00 -05:00
Jordan Rodgers
b38a4b71f1 update psycopg2 requirement, set max pickle version for ssh tasks 2018-02-10 14:41:22 -05:00
Jordan Rodgers
b5d4740131 remove latest version of pip from requirements 2018-02-10 13:30:17 -05:00
Jordan Rodgers
fe6325d22b use latest version of pip 2018-02-09 22:14:36 -05:00
Jordan Rodgers
615549502e remove extra logging, add separate queue for ssh tasks for python2 2018-02-09 22:05:48 -05:00
Jordan Rodgers
7514293fff add more logging for troublshooting 2018-02-08 19:21:57 -05:00
Jordan Rodgers
2d06bd0989 add logging for template issue 2018-02-08 19:11:28 -05:00
Jordan Rodgers
df39356c4d fix rq-scheduler version, most of templates is now working, fix javascript issues 2018-02-08 18:44:04 -05:00
Jordan Rodgers
5fb7f66624 add settings page, add way to add/remove ignored pools 2018-02-06 23:51:30 -05:00
Jordan Rodgers
ecd7809749 allow for multiple proxmox hosts in case one fails 2018-02-06 22:27:08 -05:00
Jordan Rodgers
423e5ad119 add db parameter for get_pool 2018-02-05 16:37:47 -05:00
Jordan Rodgers
85a5e74a6b only retrieve ignored_pools once, add paramter for get_pools in tasks 2018-02-03 00:05:20 -05:00
Jordan Rodgers
e96c8cf4cf add db paramter for get_user_usage 2018-02-02 15:32:37 -05:00
Jordan Rodgers
8fbae0a071 store ignored pools in db, check ignored pools when getting all pools 2018-02-02 15:18:50 -05:00
Jordan Rodgers
51de0b69af add default value for disk field when creating vms 2018-02-02 00:40:58 -05:00
Jordan Rodgers
96d1670d47 fix time for expiring vm task 2018-02-02 00:00:52 -05:00
Jordan Rodgers
6e6e4d5a3d ignore rtp pool 2018-02-01 16:46:46 -05:00
Jordan Rodgers
7b4e7fb6e8 remove reset limits, disable debug, improve get next starrs ip, add start of template code 2018-01-31 22:23:22 -05:00
Jordan Rodgers
8fbe4de70f fix resource usage circle layout on create page 2018-01-28 21:46:17 -05:00
Jordan Rodgers
cab0745707 remove ignored pools config, check valid user when generating pool list, add start for ssh tasks 2018-01-28 21:23:24 -05:00
Jordan Rodgers
b57279788d change email depending on day, add but comment out power off for 0 days 2018-01-26 02:40:47 -05:00
Jordan Rodgers
d9ee1ea26b run correct command for scheduler script 2018-01-26 02:05:01 -05:00
Jordan Rodgers
1fd989d6c2 add scheduler script, store rtp view cache in db and schedule generation 2018-01-26 02:03:45 -05:00
Jordan Rodgers
59836baf74 fix all rtp/perms checks, add db parameter to necessary functions 2018-01-24 23:07:59 -05:00
Jordan Rodgers
9405d5b6cc add rq scheduler and fix memory perms check 2018-01-24 22:23:49 -05:00
Jordan Rodgers
d0368e743f fix vm_power parameter, add basic vm expire email 2018-01-24 21:47:18 -05:00
Jordan Rodgers
3fd24e42ea add db parameter for renewing vms 2018-01-24 03:32:47 -05:00
Jordan Rodgers
bf19241bed fix renewals, add email for vm expiration 2018-01-24 03:26:15 -05:00
Jordan Rodgers
0df186f5c3 only retrieve vms for user if active 2018-01-24 01:22:27 -05:00
Jordan Rodgers
8487d86044 use the correct starrs procedure to check hostnames 2018-01-24 01:12:05 -05:00
Jordan Rodgers
05f43852ee add db parameter for usage check in create 2018-01-24 00:56:45 -05:00
Jordan Rodgers
6d36ced3b3 set redis host and port from config 2018-01-24 00:30:08 -05:00
Jordan Rodgers
a80a6e270f add raven for rq sentry reporting 2018-01-24 00:13:23 -05:00
Jordan Rodgers
74f65827bf change redis host 2018-01-23 23:58:54 -05:00
Jordan Rodgers
fb8c8d7041 add script to start rq workers 2018-01-23 23:43:46 -05:00
Jordan Rodgers
8142a41765 add db uri, remove sample config 2018-01-23 23:17:52 -05:00