Commit Graph

298 Commits

Author SHA1 Message Date
961bb4976b remove newlines and strip content first before parsing ssh key name 2021-05-12 12:21:26 -05:00
4590671984 improve invalid ssh key name error message 2021-05-12 12:18:39 -05:00
e3e1059ba1 allow colons in ssh key names 2021-05-12 12:14:55 -05:00
9d6fe075b0 Merge remote-tracking branch 'origin/master' 2021-05-12 11:49:25 -05:00
71db4b3333 allow colons in ssh key comments and adjust ssh key whitespace handling 2021-05-12 11:48:55 -05:00
525de7450e Correct ip detection logic, flip network to public1 (capacity issues) 2021-04-20 22:20:44 +00:00
46a691b876 temporarily disable serializable transactions
until this can get figured out better
2021-03-23 16:03:48 -05:00
c623c65fda Limit the utilization of serializable transactions
A user encountered this error when deleting a vm:

self.cursor.execute("UPDATE vms SET deleted = now() WHERE email = %s AND
id = %s", ( email, id))

psycopg2.errors.SerializationFailure: could not serialize access due to
read/write dependencies among transactions
2021-03-23 15:59:17 -05:00
107a5fc659 attempting to fix "can't look up exception for http status 200" 2021-03-23 15:57:07 -05:00
8717ad477e Revert "fix postgres serializable transaction"
This reverts commit 0a70ea8a95.
2021-03-21 12:28:19 -05:00
1136e2436b baikal memory upgrade and patchign to changelog 2021-03-21 12:25:24 -05:00
6eb959bd12 Revert "Add notice"
This reverts commit 7f5b431364.
2021-03-21 12:16:25 -05:00
0a70ea8a95 fix postgres serializable transaction 2021-03-21 12:16:17 -05:00
j3s
7f5b431364 Add notice 2021-03-08 19:31:05 -06:00
j3s
040c36bbaf Adjust capacity warning to 20GB 2021-03-08 19:24:47 -06:00
a09c82ecfc Merge remote-tracking branch 'origin/master' 2021-02-21 14:26:29 -06:00
0320bb5e29 fix potential exceptions in error handler 2021-02-21 14:26:00 -06:00
b32db058f0 fix http session being used inside hub model 2021-02-21 14:22:14 -06:00
j3s
ca0f9d1a41 Remove ssh host key spacing 2021-02-18 11:13:58 -06:00
j3s
c8dd3d2e80 Correct ssh pubkey spacing 2021-02-18 11:12:51 -06:00
70628039c4 fix wrong var name 2021-02-17 21:57:57 -06:00
88905b944d clean up massive onliner 2021-02-17 21:57:09 -06:00
fa0ddad5f5 fix missing paren 2021-02-17 21:46:46 -06:00
2cca908d79 add to changelog 2021-02-17 21:45:29 -06:00
1de0388df2 fine-tuning vm list page ip display depending on state 2021-02-17 21:29:03 -06:00
5d3dbac9ba fixing more bash issues 2021-02-17 21:22:01 -06:00
64db728731 fixing bash if statement issues related to negation 2021-02-17 21:19:27 -06:00
8d5e3d007d add warnings when get.sh fails 2021-02-17 21:15:23 -06:00
ea1eec7f92 fixing exception in capsul detail 2021-02-17 21:10:20 -06:00
bf927c4f1e fix line before shebang in script and fine-tune list page style 2021-02-17 21:06:20 -06:00
fd5d23cf22 prevent keyError when double_check_capsul_address returns None 2021-02-17 20:56:52 -06:00
ba0b29462c first try at implementing the vm start and stop feature 2021-02-17 20:50:17 -06:00
e8348052a8 fixing get inconsistency and adding vm_state_command 2021-02-16 21:13:51 -06:00
j3s
2e265703bd Add vm state management scripts 2021-02-16 20:58:23 -06:00
336e69953e update hub and spoke diagram 2021-02-16 18:39:58 -06:00
dbff6e23ed simplify postgres connection parameters as a single string 2021-02-16 16:08:54 -06:00
1a02204a63 add gevent so we can have concurrent requests in gunicorn mode 2021-02-16 10:40:31 -06:00
f7d4b485a5 missed a spot 2021-02-15 23:52:52 -06:00
9389c80cb6 fixing error messages and naming functions better 2021-02-15 23:51:59 -06:00
0de5305eac explain error from vms with no ip yet 2021-02-15 21:17:10 -06:00
e55798494b pig snorting sounds 2021-02-15 21:10:57 -06:00
f75575313b fix merge missing "fix index out of range when parsing output from
shell_scripts/get.sh"
2021-02-15 21:08:44 -06:00
2bc5b10284 add INTERNAL_HTTP_TIMEOUT_SECONDS option 5min default 2021-02-15 21:00:34 -06:00
bf281b12e1 copy and paste error 2021-02-15 20:35:49 -06:00
ab4c94e37c correctly test for none result in double_check_capsul_address 2021-02-15 20:32:24 -06:00
af272a6b70 Revert "temporarily thow exception from check capsul addr"
This reverts commit 1fd3ccb8a3.
2021-02-15 20:27:17 -06:00
05d5b15c4a oops I was thinking golang dont assign append it returns None 2021-02-15 20:20:42 -06:00
1fd3ccb8a3 temporarily thow exception from check capsul addr 2021-02-15 20:13:04 -06:00
47b2b3ee13 introduce InterThreadResult to ensure that current_app is only accessed
from the main flask thread
2021-02-15 20:06:35 -06:00
0a70c974ec ssh_public_keys -> ssh_authorized_keys rename (merge fix) 2021-02-15 19:44:26 -06:00