Commit graph

25 commits

Author SHA1 Message Date
Will Nilges
125d7fae51 Remove target from targets file in tasks
This probably isn't necessary and will probably error out....
2022-08-18 19:51:58 -04:00
Will Nilges
433c845a35 Use Redis to link VNC tokens to VMID 2022-08-18 19:51:56 -04:00
Will Nilges
aa1c4834f4 Remove deprecated library
No, seriously
2022-08-18 19:51:55 -04:00
Will Nilges
8d4a7d52a9 Remove SSH functionality to Proxmox 2022-08-18 19:51:50 -04:00
Will Nilges
c809d70c68 Remove old TODO 2022-07-29 22:00:02 -04:00
Willard Nilges
2c17d6988f
Update VNC functionality for Proxmox 7 (#148)
Chown `targets`, Add run and kill scripts

Lol Joe figured it out

* Dude it works holy shit

We need to fix some logistical bugs, probably, and also like remove dead
code lol

* Open VNC session on the node that the VM belongs

Figured out why I couldn't open a session on anything but 01. It was
because I was making the API call on proxmox01-nrh. So that's where the
session opened. I hope that by doing this, it will balance the load
(what little there is) from VNC sessions.

* Update websockify-related tasks

* Remove SSH key from build

* Add option to specify VNC port.

Should be 443 for OKD, probably 8081 for development.

This hosts a smattering of fixes, acutally uses gunicorn properly(?),
launches websockify correctly, and introduces MORE DEAD CODE!

TODO: Fix the scheduling system

* Make things not crash as much :)

* Remove obviously dead code

There's still some code in here that may require more careful
extraction, testing, and review, so I'm saving that for another PR.

* Fix Joe's complaints

* Replace hardcoded URL
2022-07-29 20:56:00 -04:00
Devin Matte
62490d6858 Fixing black and pylint 2022-05-28 14:28:26 -04:00
Devin Matte
7a312f1f79 Adding requirements, deleting travis, updating pylint 2020-12-21 15:24:29 -05:00
Galen Guyer
69bad2dac4
Add pylint_quotes and fix all issues 2019-11-01 17:35:51 -04:00
Galen Guyer
e72c83aafc
Fix all pylint issues 2019-11-01 13:25:48 -04:00
Jordan Rodgers
01312a8452 more 2019-02-20 00:59:42 -05:00
Jordan Rodgers
6a896c6dad another log 2019-02-20 00:55:24 -05:00
Jordan Rodgers
d19522cab5 more fixes! 2019-02-19 23:36:43 -05:00
Jordan Rodgers
daa994ba32 fix expire bug, cleanup tasks 2019-02-19 22:46:53 -05:00
Jordan Rodgers
1acb84016d fix template provisioning by verifying VM is provisioned before doing anything else 2019-01-27 21:43:51 -05:00
Jordan Rodgers
f4a2174f29 only use proxmox ssh backend for cloud-init 2018-05-07 13:31:48 -04:00
Jordan Rodgers
a3f15134f2 use cloud-init for templates, add ssh key for cloud-init, delete expire before vm creation 2018-05-07 01:09:36 -04:00
Jordan Rodgers
8808389b46 send vnc teardown commands to proxstar-vnc 2018-04-04 15:30:19 -04:00
Jordan Rodgers
03baef5be0 teardown ssh/vnc stuff after shutdown and reset requests 2018-04-02 13:47:57 -04:00
Jordan Rodgers
3f03d9ab69 remove SSH tunnel and VNC stuff for deleted VMs 2018-03-26 23:32:01 -04:00
Jordan Rodgers
cebad26e6b properly readd targets during cleanup 2018-02-20 14:24:27 -05:00
Jordan Rodgers
115909b5cd add cleanup code for vnc connections 2018-02-20 01:10:42 -05:00
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
3b1740c641 add proxmox vnc command, check if targets file exists before retrieving entries 2018-02-12 21:25:06 -05:00
Jordan Rodgers
576c6c1338 beginning of vnc work, hopefully some of this works 2018-02-12 20:55:09 -05:00