Commit graph

31 commits

Author SHA1 Message Date
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
Jordan Rodgers
22e70ee8fd prep project for openshift 2018-01-23 03:36:08 -05:00
Jordan Rodgers
cc2033f2ca add ldap, check if active member, create user and give console perms, retry getting mac, better handling of rtp 2018-01-19 03:01:10 -05:00
Jordan Rodgers
8161d97f21 add agent, add ability to delete user/pool, change order of power buttons 2017-12-18 20:19:57 -05:00
Jordan Rodgers
125fd58b27 moved limits to main page, remove restriction for rtp creation, allow rtp to create vm for another user 2017-12-13 23:08:45 -05:00
Jordan Rodgers
2b69443930 overhaul of rtp view, added simple caching, added rrd graphs 2017-12-13 17:08:57 -05:00
Jordan Rodgers
b9e5236f0a add rtp view for vm list, simplify proxmox and starrs auth, add requirements.txt 2017-12-12 16:48:16 -05:00
Jordan Rodgers
3319fa6362 pass proper user for create usage, redirect properly after delete 2017-12-12 15:58:56 -05:00
Jordan Rodgers
539cd6f0f4 add oidc auth to all routes and yapf everything 2017-12-12 15:48:37 -05:00
Jordan Rodgers
b656df33ba use oidc for auth, remove proxtar from paths, check if rtp when necessary 2017-12-12 15:41:25 -05:00
Jordan Rodgers
2b155903fd skip cpu and mem check for vm creation, verify disk size before attempting to create vm 2017-12-11 18:58:16 -05:00
Jordan Rodgers
05e08fb92d add ability to set and reset user usage limits 2017-12-11 17:45:58 -05:00
Jordan Rodgers
79fff2e762 check usage before starting vm, hide start button if not enough resources, always show cpu/mem buttons 2017-12-11 13:13:25 -05:00
Jordan Rodgers
75ef5a98d1 add ability to change vm memory, remove space between amount and unit 2017-12-10 23:58:29 -05:00
Jordan Rodgers
9fa6bf051d renew starrs during renewal, add ability to change vm cores 2017-12-10 23:32:38 -05:00
Jordan Rodgers
f3d69381c1 check hostname for invalid characters 2017-12-10 17:02:49 -05:00
Jordan Rodgers
6d589f7bf8 use javascript for vm creation, show warnings if fields arent filled, display IP instead of MAC for interfaces 2017-12-10 02:14:00 -05:00
Jordan Rodgers
9beecf12fa add basic db setup, add vm expirations and cron to handle them, and add fields for sweetalert button classes 2017-12-08 09:51:45 -05:00
Jordan Rodgers
6debe3d9fd get new proxmox auth for every route 2017-12-07 13:54:58 -05:00
Jordan Rodgers
dd98c600e2 added ability for user to eject and change iso 2017-12-06 18:59:44 -05:00
Jordan Rodgers
ba36af7dd5 allow selection of ISO during creation and display ISO on vm details page 2017-12-06 00:34:22 -05:00
Jordan Rodgers
a2278f59db add proper confirmations, add resource usage indicators, add authorization check, change routes to be more consistent 2017-12-05 01:22:20 -05:00
Jordan Rodgers
16974eec39 add sample config.py 2017-12-04 00:02:49 -05:00
Jordan Rodgers
4d0fb7ece0 dont show create vm page if the user doesnt have enough resources 2017-12-03 23:55:46 -05:00
Jordan Rodgers
071e841cb3 improved some ui stuff, added basic usage limit checking, and added ability to change vm status 2017-12-01 18:46:58 -05:00
Jordan Rodgers
6d494a59a5 remove print statements and actually use the provided disk size 2017-11-30 19:45:57 -05:00
Jordan Rodgers
598d4688db yapf everything, retrieve all disks and interfaces and display them, and make delete button pretty 2017-11-30 19:41:55 -05:00
Jordan Rodgers
ee8e439260 vastly improved ui, added redirects after operations complete, and added novnc repo 2017-11-30 01:30:11 -05:00
Jordan Rodgers
2f9f8d164e added basic csh bootstrap theme 2017-11-26 12:55:14 -05:00
Jordan Rodgers
a78529f2b1 can delete vms with confirmation 2017-11-26 12:01:30 -05:00
Jordan Rodgers
568f242010 so far you can view and create vms 2017-11-26 11:48:51 -05:00