Commit graph

73 commits

Author SHA1 Message Date
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
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
Will Nilges
3463a39e46 Add ddtrace 2022-06-25 22:16:26 -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
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
Devin Matte
9d4b793a87
Pin jinja2 version
Pin to last of 2.x
2022-05-27 15:29:56 -04:00
dependabot[bot]
bea2008754
Bump websockify from 0.8.0 to 0.9.0 (#75)
Bumps [websockify](https://github.com/novnc/websockify) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/novnc/websockify/releases)
- [Changelog](https://github.com/novnc/websockify/blob/master/CHANGES.txt)
- [Commits](https://github.com/novnc/websockify/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-25 17:39:55 -05:00
Devin Matte
ecd4127972
Revert "Upgrading to pyoidc 3.7.0" (#78) 2020-12-22 17:37:51 -05:00
Devin Matte
30262fd360
Merge branch 'master' into py_oidc_upgrade 2020-12-22 15:51:28 -05:00
dependabot[bot]
c5280a93ad
Bump flask from 1.0.2 to 1.1.2 (#77)
Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 1.1.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.0.2...1.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 15:08:35 -05:00
dependabot[bot]
f2df36a1ab
Bump paramiko from 2.4.2 to 2.7.2 (#53)
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.4.2 to 2.7.2.
- [Release notes](https://github.com/paramiko/paramiko/releases)
- [Changelog](https://github.com/paramiko/paramiko/blob/master/NEWS)
- [Commits](https://github.com/paramiko/paramiko/compare/2.4.2...2.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 14:40:45 -05:00
dependabot[bot]
32feaf93c1
Bump python-dateutil from 2.7.3 to 2.8.1 (#50)
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 2.7.3 to 2.8.1.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](https://github.com/dateutil/dateutil/compare/2.7.3...2.8.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 14:27:01 -05:00
dependabot[bot]
e06659b4ab
Bump gunicorn from 19.9.0 to 20.0.4 (#70)
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 19.9.0 to 20.0.4.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/19.9.0...20.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 13:33:04 -05:00
Devin Matte
1118662b03
Revert "Update csh-ldap requirement from ~=2.2.0 to ~=2.3.0 (#71)" (#73)
This reverts commit 433ae1ae59.
2020-12-22 12:45:11 -05:00
dependabot[bot]
433ae1ae59
Update csh-ldap requirement from ~=2.2.0 to ~=2.3.0 (#71)
Updates the requirements on [csh-ldap](https://github.com/liam-middlebrook/csh_ldap) to permit the latest version.
- [Release notes](https://github.com/liam-middlebrook/csh_ldap/releases)
- [Changelog](https://github.com/liam-middlebrook/csh_ldap/blob/master/ChangeLog)
- [Commits](https://github.com/liam-middlebrook/csh_ldap/compare/2.2.0...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 12:31:13 -05:00
dependabot[bot]
643bd944a8
Bump sqlalchemy from 1.3.20 to 1.3.22 (#68)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.20 to 1.3.22.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 12:21:32 -05:00
Devin Matte
dac0dd2a29 Upgrading to pyoidc 3.7.0 2020-12-22 12:18:06 -05:00
dependabot[bot]
31eb977e61
Bump psutil from 5.6.6 to 5.8.0 (#66)
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.6.6 to 5.8.0.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.6.6...release-5.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 11:59:25 -05:00
Devin Matte
ea4510bb64
Merge pull request #64 from ComputerScienceHouse/updating_proxmoxer
Updating proxmoxer api
2020-12-22 11:47:38 -05:00
Devin Matte
d601efe560 Hotfix roll back csh_ldap 2020-12-22 00:07:28 -05:00
Devin Matte
e5a7033386
Merge pull request #63 from ComputerScienceHouse/ldap_cache
Simple ldap cache
2020-12-21 23:55:17 -05:00
dependabot[bot]
2d4426eaba
Bump requests from 2.24.0 to 2.25.1 (#62)
Bumps [requests](https://github.com/psf/requests) from 2.24.0 to 2.25.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.24.0...v2.25.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 20:15:15 -05:00
Devin Matte
c5fb88bfc3 Updating proxmoxer api 2020-12-21 18:23:06 -05:00
Devin Matte
53faa084c2 Adding some basic ldap cache 2020-12-21 17:14:11 -05:00
Devin Matte
7a312f1f79 Adding requirements, deleting travis, updating pylint 2020-12-21 15:24:29 -05:00
Devin Matte
c0f587926d Updating rq and redis 2020-12-21 11:58:48 -05:00
Devin Matte
6293805145 Updating csh-ldap 2020-12-21 11:46:39 -05:00
Devin Matte
0b82cc753e Fixing reqs again 2020-12-09 12:33:16 -05:00
Devin Matte
1c13dfd49d Fixing broken dep 2020-12-09 12:26:13 -05:00
dependabot[bot]
dc3df5bbc8
Bump requests from 2.20.1 to 2.24.0 (#52)
Bumps [requests](https://github.com/psf/requests) from 2.20.1 to 2.24.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.20.1...v2.24.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 17:09:13 -05:00
dependabot[bot]
0d2b8facf8
Bump rq-dashboard from 0.4.0 to 0.6.1 (#48)
Bumps [rq-dashboard](https://github.com/Parallels/rq-dashboard) from 0.4.0 to 0.6.1.
- [Release notes](https://github.com/Parallels/rq-dashboard/releases)
- [Commits](https://github.com/Parallels/rq-dashboard/compare/0.4.0...0.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 11:04:33 -05:00
dependabot[bot]
ff6839ebec
Bump sshtunnel from 0.1.4 to 0.2.2 (#51)
Bumps [sshtunnel](https://github.com/pahaz/sshtunnel) from 0.1.4 to 0.2.2.
- [Release notes](https://github.com/pahaz/sshtunnel/releases)
- [Changelog](https://github.com/pahaz/sshtunnel/blob/master/changelog.rst)
- [Commits](https://github.com/pahaz/sshtunnel/compare/0.1.4...0.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:59:38 -05:00
dependabot[bot]
fc5a464966
Bump sqlalchemy from 1.3 to 1.3.20 (#46)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3 to 1.3.20.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 23:46:22 -05:00
Max Meinhold
b9bd1d4e14
Remove raven, upgrade sentry, fix blinker dep
sentry sdk[flask] needs to be installed in order to pull in the blinker
dependency.
2020-10-11 13:34:29 -04:00
Max Meinhold
70dba778e3
Upgrade psycopg2-binary to work with python 3.8 2020-10-11 13:34:29 -04:00
Max Meinhold
746c50123d
Merge updates from master 2020-10-11 13:33:43 -04:00
Dr-N0
da5efbe161 SQL Alchemy Version 1.3 2020-04-28 16:45:59 -04:00
dependabot[bot]
79665e4be7
Bump psutil from 5.4.7 to 5.6.6
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.4.7 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.4.7...release-5.6.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-12 17:21:09 +00:00
Devin Matte
4b0f805052
Revert "Add sentry with integrations (#32)" (#33)
This reverts commit 71d33bf7ec.
2019-11-03 23:20:33 -05:00
Galen G
71d33bf7ec Add sentry with integrations (#32)
* Add sentry with integrations

* Remove raven references from python code
2019-11-03 23:14:52 -05:00
Galen Guyer
3a4dbc7c31
Add sentry with integrations 2019-11-03 21:07:14 -05:00