Commit graph

341 commits

Author SHA1 Message Date
Will Nilges
8d95c373b5 Impose limits on all VM creation
This prevents people from trying to allocate more resources than they
have available in total. This isn't the best solution, since it may
prevent people from having many VMs with only a few started up, but
that's a problem for when users start complaining.
2022-09-09 13:42:47 -04:00
Joe Abbate
50855e3712
Merge pull request #170 from jabbate19/master
Make RTP View Not Awful
2022-09-07 16:59:00 -04:00
Joe Abbate
f308ae5519
Pylint linting 2022-09-07 16:40:15 -04:00
Joe Abbate
71e75ed1ab
Black linting 2022-09-07 16:38:25 -04:00
Joe Abbate
b3d4a3206e
Remove unneeded rtp_view 2022-09-07 16:31:14 -04:00
Joe Abbate
da8aa85bde
Split views to different files 2022-09-07 16:23:30 -04:00
Joe Abbate
844dfd0f56
Update RTP view of VM Page 2022-09-07 16:10:25 -04:00
Willard Nilges
e545fb6526
Merge pull request #168 from ComputerScienceHouse/willnilges/websockify_port
Add env var to specify websockify container port
2022-09-01 12:02:43 -04:00
Will Nilges
aa3ea61188 Add env var to specify websockify container port 2022-09-01 00:04:38 -04:00
Willard Nilges
6627457958
Merge pull request #167 from ComputerScienceHouse/willnilges/vnc-dev-bugfix
Launch websockify based on config variable, fix more VNC crashes, properly delete keys from Redis using API
2022-08-31 23:35:35 -04:00
Will Nilges
240001c357 lint 2022-08-31 23:30:24 -04:00
Will Nilges
19b508fe2e Properly delete keys from Redis 2022-08-31 23:24:37 -04:00
Will Nilges
5a28460db0 Check if vnc_target is None before trying to use
Haha oops
2022-08-31 21:33:34 -04:00
Will Nilges
737c9f9367 Fix broken VNC on dev environment
I made an "oopsie" and hardcoded the port, so now that's configurable,
and also fixed my local .env file.

I should update the README
2022-08-31 20:35:31 -04:00
Willard Nilges
4f7655ca6b
Merge pull request #165 from ComputerScienceHouse/willnilges/fix-vmid-crash
Fix vnc target redis crash
2022-08-31 20:33:07 -04:00
Will Nilges
60d4e89404 linttttttt 2022-08-25 23:46:22 -04:00
Will Nilges
63a2bab3cd Fix vnc target redis crash 2022-08-25 23:36:41 -04:00
Willard Nilges
40ab5a31ee
Add vnc port to readme 2022-08-25 20:46:23 -04:00
Willard Nilges
b3d43f8d21
Merge pull request #158 from ComputerScienceHouse/willnilges/remove-ssh
Remove SSH functionality from Proxstar
2022-08-18 20:02:44 -04:00
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
Willard Nilges
3bad0f003c
Merge pull request #155 from ComputerScienceHouse/willnilges/for-the-badge
Add Python Version badge
2022-07-26 11:49:02 -04:00
Willard Nilges
c0ec5d9814
Add Python Version badge
Because why not?
2022-07-26 11:08:06 -04:00
Willard Nilges
d0c3bdef55
Merge pull request #146 from ComputerScienceHouse/willnilges/generated
Mark schema as generated
2022-06-29 21:00:27 -04:00
Will Nilges
39f77d3f99 Mark schema as generated 2022-06-29 20:55:43 -04:00
Willard Nilges
20cdfc332e
Merge pull request #145 from ComputerScienceHouse/disk-increase
Increase disk allotment
2022-06-29 16:38:41 -04:00
Devin Matte
20f523b2ca Increase disk allotment 2022-06-29 16:33:04 -04:00
Galen Guyer
493fbd13f1
Merge pull request #143 from ComputerScienceHouse/wilnil/datadog
Update + Enable `ddtrace`
2022-06-27 10:17:00 -04:00
Will Nilges
3463a39e46 Add ddtrace 2022-06-25 22:16:26 -04:00
Will Nilges
013b91f2f0 Move schema, clean up postgres dockerfile 2022-06-25 22:09:50 -04:00
Willard Nilges
d016590d2f
Merge pull request #140 from ComputerScienceHouse/wilnil/hacking
Use Dockerfile to make development and deployment easier
2022-06-25 21:45:09 -04:00
Will Nilges
401902b4a9 Move large.sql into the repo 2022-06-25 21:44:40 -04:00
Will Nilges
ce35fc90a0 Make proxstar work in Podman
This is the commit message #4:
Basic functionality works, VNC is still trash fire
Don't use config_local
Add a workdir
RUN touch proxmox_ssh_key, update permissions
Update development instructions
Add some comments to the template file, Make it easier-ish for the kiddos.
2022-06-25 21:43:42 -04:00
Will Nilges
2dbaedde4e Update requirements.txt 2022-06-18 21:55:25 -04:00
Will Nilges
57ab376296 Move "developing" to "HACKING"
It sounds cooler
2022-06-18 21:54:53 -04:00
Will Nilges
be80216eeb
Merge pull request #135 from ComputerScienceHouse/fix-for-2022
Fixing Proxstar for 2022 deps
2022-05-29 20:18:50 -04:00
Devin Matte
a67380c500 Removing .items() 2022-05-28 19:03:13 -04:00
Devin Matte
7a2c3374ca Update to latest noVNC 2022-05-28 18:20:04 -04:00
Devin Matte
971599027f Update Flask pin 2022-05-28 15:42:11 -04:00
Devin Matte
f81a3914f3 Add ddtrace for datadog monitoring 2022-05-28 15:30:26 -04:00
Devin Matte
cfa8323f28 Pinning markupsafe 2022-05-28 15:21:29 -04:00
Devin Matte
a6f446f0cf Fixing version pinning 2022-05-28 14:43:55 -04:00
Devin Matte
9d2eec92cb Reverting rq changes, pinning click 2022-05-28 14:38:22 -04:00
Devin Matte
7bf18eea74 Updating rq and sentry 2022-05-28 14:34:49 -04:00
Devin Matte
62490d6858 Fixing black and pylint 2022-05-28 14:28:26 -04:00
Devin Matte
d660549200
Fix dep version 2022-05-27 15:34:26 -04:00